Anton Kaliaev
e06bbaf303
refactor TestNoBlockMessageResponse to eliminate a race condition
7 years ago
Anton Kaliaev
bb7b152af5
write docs for cutWALUntil and wal2json binaries
7 years ago
Emmanuel Odeke
5504920ba3
rpc/lib/client: add jitter for exponential backoff of WSClient
Fixes https://github.com/tendermint/tendermint/issues/751 .
Adds jitter to our exponential backoff to mitigate a self DDOS
vector. The jitter is a randomly picked percentage of a second
whose purpose is to ensure that each exponential backoff retry
occurs within (1<<attempts) == 2**attempts, but with the delay
each client will have a random buffer time before it tries to
reconnect instead of all at once reconnections that might even
bring back the previous conditions that might have caused the
dial to the WSServer to have failed e.g
* Network outage
* File descriptor exhaustion
* False positives from firewalls
etc
7 years ago
Anton Kaliaev
c74a359c46
fixes per Bucky's review
7 years ago
Zach Ramsay
ee9dc6ce59
docs: fixup abci guide
7 years ago
Zach Ramsay
62e8ec34d1
fix comment, #723
7 years ago
Matt Bell
6a5254c475
Added local blockchain sync benchmark script
7 years ago
Ethan Buchman
2802a06a08
blockchain/store: comment about panics
7 years ago
Zach
8ac430813d
Merge pull request #772 from tendermint/docs/flow
moar docs updates
7 years ago
Zach Ramsay
3e61b8c17a
docs: comb through step by step
7 years ago
Zach Ramsay
9e277d1596
docs: smaller logo (200px)
7 years ago
Zach
4c9d5244a5
Merge pull request #759 from tendermint/improve-docs
docs: update abci example details
7 years ago
Ethan Buchman
87cc277b38
Merge pull request #721 from tendermint/564-add-app-options-to-genesis-resp
Add app_options to GenesisDoc
7 years ago
Anton Kaliaev
3115c23762
binary format for WAL
7 years ago
Anton Kaliaev
31030c6514
make crc32c a global var
change echo format in build.sh script
7 years ago
Anton Kaliaev
7b8ffc9981
add checksum and msg size to TimedWALMessage
updated test_data/build.sh script
7 years ago
Ethan Buchman
a75bccfbc4
Merge branch 'develop' into 564-add-app-options-to-genesis-resp
7 years ago
Ethan Buchman
f97229f05a
Merge pull request #748 from tendermint/params-test
types: ConsensusParams test + document the ranges/limits
7 years ago
Ethan Buchman
ac2ef9e0ea
Merge pull request #750 from tendermint/feature/cleanup
Cleanup of code and code docs
7 years ago
Ethan Buchman
c2803b80e8
update changelog; fixes from rebase
7 years ago
Ethan Buchman
7a6876bc62
Merge pull request #768 from tendermint/feature/merkleeyes-to-iavl
Feature/merkleeyes to iavl
7 years ago
Adrian Brink
819f81f702
Change NOTE to CONTRACT
7 years ago
Adrian Brink
036d3b59a3
Address reviews
7 years ago
Adrian Brink
782a836db0
Cleanup of code and code docs
This cleans up some of the code in the state package
7 years ago
Ethan Buchman
bd46b78785
Merge pull request #755 from tendermint/753-notified-mempool-txs-but-mempool-empty
WIP: only notify when there are some txs (Refs #753 )
7 years ago
Anton Kaliaev
f908dd0e55
only notify when there are some txs (Refs #753 )
7 years ago
Ethan Buchman
0bbf38141a
blockchain/pool: some comments and small changes
7 years ago
Ethan Buchman
f188366e26
update glide
7 years ago
Ethan Buchman
fd60621a8e
update cswal test
7 years ago
Ethan Buchman
60b7f2c61b
Merge pull request #767 from silasdavis/do-not-swallow
Make RPCError an actual error and don't swallow its companion data
7 years ago
Silas Davis
3e3d53daef
Make RPCError an actual error and don't swallow its companion data
7 years ago
Anton Kaliaev
d64a48e0ee
set logger on blockchain pool
7 years ago
Anton Kaliaev
0a7b2ab52c
fix invalid memory address or nil pointer dereference error (Refs #762 )
https://github.com/tendermint/tendermint/issues/762#issuecomment-338276055
```
E[10-19|04:52:38.969] Stopping peer for error module=p2p peer="Peer{MConn{178.62.46.14:46656} B14916FAF38A out}" err="Error: runtime error: invalid memory address or nil pointer dereference\nStack: goroutine 529485 [running]:\nruntime/debug.Stack(0xc4355cfb38, 0xb463e0, 0x11b1c30)\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0xa7\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection)._recover(0xc439a28870)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:206 +0x6e\npanic(0xb463e0, 0x11b1c30)\n\t/usr/local/go/src/runtime/panic.go:491 +0x283\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*bpPeer).decrPending(0x0, 0x381)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/pool.go:376 +0x22\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*BlockPool).AddBlock(0xc4200e4000, 0xc4266d1f00, 0x40, 0xc432ac9640, 0x381)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/pool.go:215 +0x139\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*BlockchainReactor).Receive(0xc42050a780, 0xc420257740, 0x1171be0, 0xc42ff302d0, 0xc4384b2000, 0x381, 0x1000)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/reactor.go:160 +0x712\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.createMConnection.func1(0x11e5040, 0xc4384b2000, 0x381, 0x1000)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/peer.go:334 +0xbd\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection).recvRoutine(0xc439a28870)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:475 +0x4a3\ncreated by github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection).OnStart\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:170 +0x187\n"
```
7 years ago
Zach Ramsay
8a69f1087b
docs: typo
7 years ago
Emmanuel Odeke
f24f03906f
types: ConsensusParams: add feedback from @ebuchman and @melekes
7 years ago
Ethan Buchman
fa56e8c0ce
Merge pull request #676 from tendermint/state-unexpose-genesisDoc-chainID
all, state: unexpose GenesisDoc, ChainID fields make them accessor methods
7 years ago
Zach Ramsay
fc406d1657
docs: update abci example details [ci skip]
7 years ago
Zach
9dcefd0e1e
Merge pull request #754 from tendermint/improve-docs
add tm-migrator to docs
7 years ago
Zach
a2dc53d43d
Merge pull request #757 from tendermint/756-specification-validators
correct an error in validator's specification [ci skip] (Refs #756 )
7 years ago
Anton Kaliaev
b9c4fab96e
correct an error in validator's specification [ci skip] (Refs #756 )
7 years ago
Zach Ramsay
fa07dbd7ec
docs: add info about tm-migrate
7 years ago
Zach Ramsay
9b382d7a11
docs: remove mention of type byte
7 years ago
Anton Kaliaev
75b78bfb72
panic on marshal/unmarshal failures for genesisDoc
7 years ago
Ethan Buchman
b234f7aba2
Merge pull request #741 from tendermint/client-compile-time-assertions
rpc/client: use compile time assertions instead of methods
7 years ago
Emmanuel Odeke
bff069f83c
types: ConsensusParams test + document the ranges/limits
Fixes https://github.com/tendermint/tendermint/issues/747
Updates https://github.com/tendermint/tendermint/issues/693
* Document the unmentioned limits for ConsensusParams.Validate()
* Make the limit for ConsensusParams.BlockSizeParams.MaxBytes
clear at 100MiB
7 years ago
Anton Kaliaev
616b07ff6b
make AppOptions an interface{}
7 years ago
Anton Kaliaev
b26f812399
update changelog
7 years ago
Anton Kaliaev
321061125f
add app_options to GenesisDoc (Refs #564 )
7 years ago
Anton Kaliaev
6469e2ccca
save genesis doc in DB to prevent user errors
https://github.com/tendermint/tendermint/pull/676#discussion_r144411458
7 years ago
Anton Kaliaev
c4646bf87f
make state#Params not a pointer
also remove the comment
7 years ago