X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=vendor%2Fgithub.com%2Ftendermint%2Fabci%2Fexample%2Fdummy%2FREADME.md;fp=vendor%2Fgithub.com%2Ftendermint%2Fabci%2Fexample%2Fdummy%2FREADME.md;h=0000000000000000000000000000000000000000;hp=8c1f0f04224df2a213150c4c9ed25093fdaf88af;hb=d09b7a78d44dc259725902b8141cdba0d716b121;hpb=ee01d543fdfe1fd0a4d548965c66f7923ea7b062 diff --git a/vendor/github.com/tendermint/abci/example/dummy/README.md b/vendor/github.com/tendermint/abci/example/dummy/README.md deleted file mode 100644 index 8c1f0f04..00000000 --- a/vendor/github.com/tendermint/abci/example/dummy/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# Dummy - -There are two app's here: the DummyApplication and the PersistentDummyApplication. - -## DummyApplication - -The DummyApplication is a simple merkle key-value store. -Transactions of the form `key=value` are stored as key-value pairs in the tree. -Transactions without an `=` sign set the value to the key. -The app has no replay protection (other than what the mempool provides). - -## PersistentDummyApplication - -The PersistentDummyApplication wraps the DummyApplication -and provides two additional features: - -1) persistence of state across app restarts (using Tendermint's ABCI-Handshake mechanism) -2) validator set changes - -The state is persisted in leveldb along with the last block committed, -and the Handshake allows any necessary blocks to be replayed. -Validator set changes are effected using the following transaction format: - -``` -val:pubkey1/power1,addr2/power2,addr3/power3" -``` - -where `power1` is the new voting power for the validator with `pubkey1` (possibly a new one). -There is no sybil protection against new validators joining. -Validators can be removed by setting their power to `0`. -