Commit Graph
8581 Commits
Author SHA1 Message Date
Ethan Frey 74878ee313 Update code to work with current nano implementation 2017-10-24 11:38:06 +02:00
Ethan Frey 8220d59178 Work on using returned bytes as crypto keys 2017-10-24 11:38:06 +02:00
Ethan Frey 0781c12ede Message encoding for nano 2017-10-24 11:38:06 +02:00
Anton Kaliaev bb7b152af5 write docs for cutWALUntil and wal2json binaries 2017-10-24 13:25:47 +04:00
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
2017-10-24 02:00:20 -07:00
Anton Kaliaev c74a359c46 fixes per Bucky's review 2017-10-24 12:14:21 +04:00
Zach Ramsay ee9dc6ce59 docs: fixup abci guide 2017-10-23 20:56:49 -04:00
Zach Ramsay 4479e95709 console: fix tests 2017-10-23 19:54:38 -04:00
Zach Ramsay 62e8ec34d1 fix comment, #723 2017-10-23 19:51:09 -04:00
Matt BellandEthan Buchman 6a5254c475 Added local blockchain sync benchmark script 2017-10-23 19:46:57 -04:00
Ethan Buchman 2802a06a08 blockchain/store: comment about panics 2017-10-23 19:46:14 -04:00
Zach Ramsay 36de70be10 console: fix output, closes #93 2017-10-23 19:35:02 -04:00
Ethan BuchmanandGitHub a6e6b58c6b Merge pull request #41 from tendermint/metalinter
add metalinter to Makefile & apply some fixes
2017-10-23 19:32:07 -04:00
ZachandGitHub 8ac430813d Merge pull request #772 from tendermint/docs/flow
moar docs updates
2017-10-23 19:14:06 -04:00
Zach Ramsay 3e61b8c17a docs: comb through step by step 2017-10-23 19:11:51 -04:00
Zach Ramsay 9e277d1596 docs: smaller logo (200px) 2017-10-23 17:34:27 -04:00
ZachandGitHub 4c9d5244a5 Merge pull request #759 from tendermint/improve-docs
docs: update abci example details
2017-10-23 17:29:34 -04:00
Zach Ramsay 3330cb4856 cleanup 2017-10-23 17:27:59 -04:00
Zach Ramsay 631844895f fixes 2017-10-23 17:18:46 -04:00
Zach Ramsay f9e14ad61b disable PersistenPreRun for counter/dummy 2017-10-23 17:18:46 -04:00
Zach Ramsay df5d9ac1bb consolidate counter/dummy into the binary, #95 2017-10-23 17:18:46 -04:00
Zach Ramsay 56f7d9627f update deps 2017-10-23 17:18:46 -04:00
Zach Ramsay f67e43625b Makefile: fix linter 2017-10-23 17:17:57 -04:00
Zach Ramsay 9883013adf use cobra, closes #101 2017-10-23 17:17:05 -04:00
Ethan BuchmanandGitHub 87cc277b38 Merge pull request #721 from tendermint/564-add-app-options-to-genesis-resp
Add app_options to GenesisDoc
2017-10-23 16:03:45 -04:00
Anton Kaliaev 3115c23762 binary format for WAL 2017-10-23 22:27:24 +04:00
Anton Kaliaev 31030c6514 make crc32c a global var
change echo format in build.sh script
2017-10-23 22:09:42 +04:00
Anton Kaliaev 7b8ffc9981 add checksum and msg size to TimedWALMessage
updated test_data/build.sh script
2017-10-23 22:09:17 +04:00
Silas Davis 0eff425bc7 fix zeroed buffer getting flushed to the empty event 2017-10-23 18:52:31 +01:00
Ethan Buchman a75bccfbc4 Merge branch 'develop' into 564-add-app-options-to-genesis-resp 2017-10-23 11:30:00 -04:00
Ethan BuchmanandGitHub f97229f05a Merge pull request #748 from tendermint/params-test
types: ConsensusParams test + document the ranges/limits
2017-10-23 11:18:00 -04:00
Ethan BuchmanandGitHub ac2ef9e0ea Merge pull request #750 from tendermint/feature/cleanup
Cleanup of code and code docs
2017-10-23 11:14:15 -04:00
Ethan Buchman c2803b80e8 update changelog; fixes from rebase 2017-10-23 11:13:12 -04:00
Ethan BuchmanandGitHub 7a6876bc62 Merge pull request #768 from tendermint/feature/merkleeyes-to-iavl
Feature/merkleeyes to iavl
2017-10-23 11:07:21 -04:00
Adrian BrinkandEthan Buchman 819f81f702 Change NOTE to CONTRACT 2017-10-23 11:04:45 -04:00
Adrian BrinkandEthan Buchman 036d3b59a3 Address reviews 2017-10-23 11:04:45 -04:00
Adrian BrinkandEthan Buchman 782a836db0 Cleanup of code and code docs
This cleans up some of the code in the state package
2017-10-23 11:04:45 -04:00
Ethan BuchmanandGitHub bd46b78785 Merge pull request #755 from tendermint/753-notified-mempool-txs-but-mempool-empty
WIP: only notify when there are some txs (Refs #753)
2017-10-23 10:31:38 -04:00
Anton KaliaevandEthan Buchman f908dd0e55 only notify when there are some txs (Refs #753) 2017-10-23 10:31:00 -04:00
Ethan Buchman 0bbf38141a blockchain/pool: some comments and small changes 2017-10-23 10:13:46 -04:00
Ethan Buchman f188366e26 update glide 2017-10-23 10:04:00 -04:00
Ethan Buchman fd60621a8e update cswal test 2017-10-23 10:03:54 -04:00
Zach Ramsay 47d3fa4741 linting: a few fixes 2017-10-23 08:30:18 -04:00
Ethan FreyandGitHub bb9bb4aa46 Merge pull request #116 from tendermint/feature/merkleeyes-to-iavl
merkleeyes to iavl
2017-10-23 14:26:12 +02:00
Ethan Frey 446e50ca9e Moved RandVal into test helper functions, as needed in other repos for testing 2017-10-23 14:20:15 +02:00
Ethan Frey e7ebf62092 Remove empty check after iavl fixup 2017-10-23 14:08:36 +02:00
Anton Kaliaev 21b2c26fb1 GroupReader#Read: return io.EOF if file is empty 2017-10-23 13:02:14 +04:00
Anton Kaliaev c75ddd0fa3 return err if empty slice given 2017-10-23 13:02:02 +04:00
Ethan BuchmanandGitHub 60b7f2c61b Merge pull request #767 from silasdavis/do-not-swallow
Make RPCError an actual error and don't swallow its companion data
2017-10-23 01:51:40 -04:00
Ethan Buchman a4443ddb0c update persistent dummy for versioned iavl 2017-10-23 00:06:50 -04:00