Commit Graph

7315 Commits

Author SHA1 Message Date
103fee6192 add tests for autofile group Write, reader#Read 2017-10-24 23:20:17 +04:00
81591e288e fix metalinter warnings 2017-10-24 23:19:53 +04:00
f6adddb4a8 Replace ResultsCh with ResponsesCh 2017-10-24 17:45:13 +01:00
38fc351532 Merge pull request #765 from tendermint/762-blockchain-reactor-timeout
blockchain reactor timeout
2017-10-24 09:13:26 -04:00
01be6fa309 Fix WSClient blocking in the readRoutine after Stop() as it tries to write to ResultsCh 2017-10-24 13:31:24 +01:00
e06bbaf303 refactor TestNoBlockMessageResponse to eliminate a race condition 2017-10-24 15:32:01 +04:00
dfc4cdd2d7 Parameterize and lower bcrypt cost 2017-10-24 12:19:45 +02:00
0a5b1d979a Merge pull request #37 from tendermint/nano
Nano Support
2017-10-24 12:18:45 +02:00
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
0219ba2a63 Fix bug introduced by metalinting... 2017-10-24 12:14:20 +02:00
69a7b389b8 Removed keys/server as it is now in cosmos-sdk 2017-10-24 11:59:44 +02:00
6f6bbf718e Fix metalinter complaints 2017-10-24 11:56:37 +02:00
2d04544088 Addressed Buckys PR review comments 2017-10-24 11:38:06 +02:00
4a2c63f5e1 Update ledger names to specify ed25519 2017-10-24 11:38:06 +02:00
9601e48ab4 Improve error message 2017-10-24 11:38:06 +02:00
61d1bdb5ed Test error handling, load without ledger 2017-10-24 11:38:06 +02:00
9afceb7ee8 ledger pubkey serializes properly, better load checks 2017-10-24 11:38:06 +02:00
2490952515 nano validates key on load 2017-10-24 11:38:06 +02:00
bce88a20df Enable privkey validity checking on load 2017-10-24 11:38:06 +02:00
1b8d52bb82 Rename NameLedger to NameLedgerEd25519 2017-10-24 11:38:06 +02:00
ae078ee915 Generate/recover can return error, not panic on ledger 2017-10-24 11:38:06 +02:00
085d72d212 Cleanup nano calls, cannot run parallel test on one hardware device 2017-10-24 11:38:06 +02:00
91fccb8b14 Add test for cryptostore working with ledger 2017-10-24 11:38:06 +02:00
88475230c4 Re-enabled crypostore example usage 2017-10-24 11:38:06 +02:00
34b9309f24 Re-enable signing tests with cryptostore 2017-10-24 11:38:06 +02:00
8c98c4fdf4 Add nano ledger to key manager 2017-10-24 11:38:06 +02:00
0383feab49 Add and test serialization of ledger privkey 2017-10-24 11:38:06 +02:00
3edeb0cd45 Ledger caches pubkey, works with newer firmware 2017-10-24 11:38:06 +02:00
081f21af11 Add glide version for ledger drivers 2017-10-24 11:38:06 +02:00
008dba3af8 Test ledger calls 2017-10-24 11:38:06 +02:00
623bd803c2 write code to actually call ledger app 2017-10-24 11:38:06 +02:00
265e261c63 Add more test cases from running the ledger 2017-10-24 11:38:06 +02:00
7c5a10a7d4 Add tests for pub/priv key validation 2017-10-24 11:38:06 +02:00
06d74b24dd Wrote PrivKey/PubKey for ledger 2017-10-24 11:38:06 +02:00
74878ee313 Update code to work with current nano implementation 2017-10-24 11:38:06 +02:00
8220d59178 Work on using returned bytes as crypto keys 2017-10-24 11:38:06 +02:00
0781c12ede Message encoding for nano 2017-10-24 11:38:06 +02:00
bb7b152af5 write docs for cutWALUntil and wal2json binaries 2017-10-24 13:25:47 +04:00
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
c74a359c46 fixes per Bucky's review 2017-10-24 12:14:21 +04:00
ee9dc6ce59 docs: fixup abci guide 2017-10-23 20:56:49 -04:00
4479e95709 console: fix tests 2017-10-23 19:54:38 -04:00
62e8ec34d1 fix comment, #723 2017-10-23 19:51:09 -04:00
6a5254c475 Added local blockchain sync benchmark script 2017-10-23 19:46:57 -04:00
2802a06a08 blockchain/store: comment about panics 2017-10-23 19:46:14 -04:00
36de70be10 console: fix output, closes #93 2017-10-23 19:35:02 -04:00
a6e6b58c6b Merge pull request #41 from tendermint/metalinter
add metalinter to Makefile & apply some fixes
2017-10-23 19:32:07 -04:00
8ac430813d Merge pull request #772 from tendermint/docs/flow
moar docs updates
2017-10-23 19:14:06 -04:00
3e61b8c17a docs: comb through step by step 2017-10-23 19:11:51 -04:00
9e277d1596 docs: smaller logo (200px) 2017-10-23 17:34:27 -04:00