Skip to content

Instantly share code, notes, and snippets.

View nylira's full-sized avatar

Peng Zhong nylira

View GitHub Profile
# Validator Set Hashes
mercury: F135CD1311FC01CB71EDD2CAFA296AE006B07644
hermes: 7C7F71CB8888DFBFC98470D57C9B19894A7638E0
tail -f mercury-tendermint.log
# and
tail -f hermes-tendermint.log
source scripts/mercury-hermes-1.sh
TESTNET_FILES=~/.cosmos-testnets/files
git clone https://github.com/tendermint/testnets $TESTNET_FILES
cd $TESTNET_FILES
# first, clean up any old garbage for a fresh slate…
rm -rf ~/.cosmos-testnets/
# v0.10.0
tendermint version
# v0.6.0
basecoin version
basecli version
basecoin-hermes start --address tcp://localhost:12348 --without-tendermint &> hermes-basecoin.log &
tendermint-hermes node &> hermes-tendermint.log &
basecoin-mercury start --address tcp://localhost:23458 --without-tendermint &> mercury-basecoin.log &
tendermint-mercury node &> mercury-tendermint.log &
message RequestQuery{
bytes data = 1;
string path = 2;
uint64 height = 3;
bool prove = 4;
}
message ResponseQuery{
CodeType code = 1;
int64 index = 2;
bytes key = 3;
Tendermint PBFT
proposer primary
validator replica
propose step pre-prepare phase
prevote step prepare phase
precommit step commit phase
round change view change