dist-daemon-tendermint

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2020 License: MIT

README

dist-daemon-tendermint

Distributed Daemon framework on Tendermint
# Init
TMHOME=chainroot1 go run ./examples/. init --chain-id=daemon-chain
TMHOME=chainroot2 go run ./examples/. init --chain-id=daemon-chain
TMHOME=chainroot3 go run ./examples/. init --chain-id=daemon-chain
# check node id
TMHOME=chainroot1 go run ./examples/. show_node_id

# Run Nodes

TMHOME=chainroot1 go run ./examples/. start  
TMHOME=chainroot2 go run ./examples/. start --p2p.persistent_peers=00596aca3135db332f3605a2b49e20ac00ef9052@127.0.0.1:26656 --daemon.api_addr=0.0.0.0:7778
TMHOME=chainroot3 go run ./examples/. start --p2p.persistent_peers=00596aca3135db332f3605a2b49e20ac00ef9052@127.0.0.1:26656 --daemon.api_addr=0.0.0.0:7779


TMHOME=chainroot1 go run ./examples/. start
TMHOME=chainroot2 go run ./examples/. start --p2p.persistent_peers=7c352cbf28c81859b005e98f719a657fed713b25@127.0.0.1:26656 --daemon.api_addr=0.0.0.0:7778
TMHOME=chainroot3 go run ./examples/. start --p2p.persistent_peers=7c352cbf28c81859b005e98f719a657fed713b25@127.0.0.1:26656 --daemon.api_addr=0.0.0.0:7779




Directories

Path Synopsis
cmd
job
tm
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL