Commit Graph
8961 Commits
Author SHA1 Message Date
Silas Davis 01be6fa309 Fix WSClient blocking in the readRoutine after Stop() as it tries to write to ResultsCh 2017-10-24 13:31:24 +01:00
Anton Kaliaev e06bbaf303 refactor TestNoBlockMessageResponse to eliminate a race condition 2017-10-24 15:32:01 +04:00
Ethan Frey dfc4cdd2d7 Parameterize and lower bcrypt cost 2017-10-24 12:19:45 +02:00
Ethan FreyandGitHub 0a5b1d979a Merge pull request #37 from tendermint/nano
Nano Support
2017-10-24 12:18:45 +02:00
Anton KaliaevandGitHub d4c6a68e58 Merge pull request #64 from silasdavis/event-cache
Fix zeroed buffer getting flushed to the empty event
2017-10-24 14:16:18 +04:00
Ethan Frey 0219ba2a63 Fix bug introduced by metalinting... 2017-10-24 12:14:20 +02:00
Ethan Frey 69a7b389b8 Removed keys/server as it is now in cosmos-sdk 2017-10-24 11:59:44 +02:00
Ethan Frey 6f6bbf718e Fix metalinter complaints 2017-10-24 11:56:37 +02:00
Ethan Frey 2d04544088 Addressed Buckys PR review comments 2017-10-24 11:38:06 +02:00
Ethan Frey 4a2c63f5e1 Update ledger names to specify ed25519 2017-10-24 11:38:06 +02:00
Ethan Frey 9601e48ab4 Improve error message 2017-10-24 11:38:06 +02:00
Ethan Frey 61d1bdb5ed Test error handling, load without ledger 2017-10-24 11:38:06 +02:00
Ethan Frey 9afceb7ee8 ledger pubkey serializes properly, better load checks 2017-10-24 11:38:06 +02:00
Ethan Frey 2490952515 nano validates key on load 2017-10-24 11:38:06 +02:00
Ethan Frey bce88a20df Enable privkey validity checking on load 2017-10-24 11:38:06 +02:00
Ethan Frey 1b8d52bb82 Rename NameLedger to NameLedgerEd25519 2017-10-24 11:38:06 +02:00
Ethan Frey ae078ee915 Generate/recover can return error, not panic on ledger 2017-10-24 11:38:06 +02:00
Ethan Frey 085d72d212 Cleanup nano calls, cannot run parallel test on one hardware device 2017-10-24 11:38:06 +02:00
Ethan Frey 91fccb8b14 Add test for cryptostore working with ledger 2017-10-24 11:38:06 +02:00
Ethan Frey 88475230c4 Re-enabled crypostore example usage 2017-10-24 11:38:06 +02:00
Ethan Frey 34b9309f24 Re-enable signing tests with cryptostore 2017-10-24 11:38:06 +02:00
Ethan Frey 8c98c4fdf4 Add nano ledger to key manager 2017-10-24 11:38:06 +02:00
Ethan Frey 0383feab49 Add and test serialization of ledger privkey 2017-10-24 11:38:06 +02:00
Ethan Frey 3edeb0cd45 Ledger caches pubkey, works with newer firmware 2017-10-24 11:38:06 +02:00
Ethan Frey 081f21af11 Add glide version for ledger drivers 2017-10-24 11:38:06 +02:00
Ethan Frey 008dba3af8 Test ledger calls 2017-10-24 11:38:06 +02:00
Ethan Frey 623bd803c2 write code to actually call ledger app 2017-10-24 11:38:06 +02:00
Ethan Frey 265e261c63 Add more test cases from running the ledger 2017-10-24 11:38:06 +02:00
Ethan Frey 7c5a10a7d4 Add tests for pub/priv key validation 2017-10-24 11:38:06 +02:00
Ethan Frey 06d74b24dd Wrote PrivKey/PubKey for ledger 2017-10-24 11:38:06 +02:00
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