Skip to content

Instantly share code, notes, and snippets.

View nylira's full-sized avatar

Peng Zhong nylira

View GitHub Profile
@nylira
nylira / google-reader-minimal.css
Created November 3, 2011 08:18
Google Reader Minimal
/*
Peng Zhong
http://nylira.com
Removes all the fixed headers on the new Google Reader design.
Reduces the importance of the Subscribe button
Reduces the contrast of the border separating posts.
*/
#gb, #top-bar, #viewer-header-container, #title-and-status-holder, #scrollable-sections-bottom-shadow {
Tendermint PBFT
proposer primary
validator replica
propose step pre-prepare phase
prevote step prepare phase
precommit step commit phase
round change view change
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;
basecoin-mercury start --address tcp://localhost:23458 --without-tendermint &> mercury-basecoin.log &
tendermint-mercury node &> mercury-tendermint.log &
basecoin-hermes start --address tcp://localhost:12348 --without-tendermint &> hermes-basecoin.log &
tendermint-hermes node &> hermes-tendermint.log &
# v0.10.0
tendermint version
# v0.6.0
basecoin version
basecli version
# first, clean up any old garbage for a fresh slate…
rm -rf ~/.cosmos-testnets/
TESTNET_FILES=~/.cosmos-testnets/files
git clone https://github.com/tendermint/testnets $TESTNET_FILES
cd $TESTNET_FILES
source scripts/mercury-hermes-1.sh
tail -f mercury-tendermint.log
# and
tail -f hermes-tendermint.log