Skip to content

narekb95/bpbp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parametsr:

  • Default parameters can be read as options in a json file.
  • Optionally, one can override parameters using commandline options.
  • This can be done with syntex: --[param]=[value].
CMD Parameter JSON Option Description
host DEFAULT_PORT [Is this needed?]
port DEFAULT_HOST Port to listen to
max_inbound MAX_INBOUND Maximum number of inbound peers
outbound_ips [see outbound section] Outbound peers to connect to

Testing

Run two nodes on two different ports:

  • Inbound:
    python3 src/node.py params/bitcoin.json
  • Outbound:
    python3 src/node.py params/bitcoin.json  --port=3322 --outbound_ips=0.0.0.0:8333

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages