GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Detox/bootstrap-node: Bootstrap node implementation for Detox network

BranchesTags
Open more actions menu

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Dockerfile
Dockerfile
 
 
package.json
package.json
 
 
readme.md
readme.md
 
 

Repository files navigation

Detox bootstrap node

Bootstrap node implementation for Detox network.

How to use

The easiest way is to start bootstrap node using Docker image, execute it without arguments to get help message with all supported commands and their arguments:

docker run --rm -it nazarpc/detox-bootstrap-node

Start bootstrap node

If you want to create separate network - start without -b option, otherwise make sure to provide a few of existing nodes from the network you want to join.

docker run -d --name detox-bootstrap-node -p <ip>:16882:16882 nazarpc/detox-bootstrap-node <seed> 0.0.0.0 <domain>[ -b bootstrap_node]
  • ip - publicly available IP
  • seed - hex of 32-bytes seed from which bootstrap node's keypair is generated (make sure it is unique seed and keep it private)
  • domain - publicly available domain name (or IP) that other nodes in the network will use in order to reach this node
  • bootstrap_node - information about existing bootstrap node in the network (-b can be specified multiple times) in form hex_node_id:domain_or_ip:port

Start dummy clients

While network is tiny, for communication we might need some dummy nodes that will facilitate proper network operation.

docker run -d --name detox-dummy-clients nazarpc/detox-bootstrap-node dummy-clients <number_of_clients> -b <bootstrap_node>
  • number_of_clients - how many dummy clients need to be created
  • bootstrap_node - information about existing bootstrap node in the network (-b can be specified multiple times) in form hex_node_id:domain_or_ip:port

Contribution

Feel free to create issues and send pull requests (for big changes create an issue first and link it from the PR), they are highly appreciated!

When reading LiveScript code make sure to configure 1 tab to be 4 spaces (GitHub uses 8 by default), otherwise code might be hard to read.

License

Free Public License 1.0.0 / Zero Clause BSD License

https://opensource.org/licenses/FPL-1.0.0

https://tldrlegal.com/license/bsd-0-clause-license

About

Bootstrap node implementation for Detox network

Topics

anonymousdetoxdistributedp2p

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.