https://github.com/tendermint/tendermint

sort by:
Revision Author Date Message Commit Date
48ab899 Do not shut down peer immediately after sending pex addrs in SeedMode 10 November 2018, 03:31:59 UTC
58574b7 Require addressbook to only store addresses with valid ID 09 November 2018, 23:51:56 UTC
6e9aee5 p2p: peer-id -> peer_id (#2771) * p2p: peer-id -> peer_id * update changelog 07 November 2018, 05:12:46 UTC
d460df1 mempool: print postCheck error (#2762) This is a follow-up from https://github.com/tendermint/tendermint/pull/2724 Closes #2761 07 November 2018, 04:23:44 UTC
03e42d2 Fix crypto/merkle ProofOperators.Verify to check bounds on keypath pa… (#2756) * Fix crypto/merkle ProofOperators.Verify to check bounds on keypath parts. * Update PENDING 06 November 2018, 06:53:44 UTC
b8a9b0b Mempool WAL is still created by default in home directory, leads to permission errors (#2758) * only invoke InitWAL/CloseWAL if WalPath is not empty Closes #2717 * panic if WAL is not initialized when calling CloseWAL * add a changelog entry 06 November 2018, 06:39:05 UTC
7246ffc mempool: ErrPreCheck and more log info (#2724) * mempool: ErrPreCheck and more log info * change Pre/PostCheckFunc to return errors also, continue execution when checking txs in mempool_test if err=PreCheckErr 06 November 2018, 06:32:52 UTC
071ebdd Merge pull request #2704 from tendermint/2702-proposal-pol-round-validation if some process locks a block in round 0, then 0 is valid proposal.PO… 06 November 2018, 06:32:15 UTC
8760c5b Merge branch 'develop' into 2702-proposal-pol-round-validation 06 November 2018, 04:53:05 UTC
59b75d3 Merge pull request #2753 from tendermint/master Merge pull request #2750 from tendermint/release/v0.26.0 03 November 2018, 19:46:55 UTC
c086d0a Merge pull request #2750 from tendermint/release/v0.26.0 Release/v0.26.0 03 November 2018, 19:46:14 UTC
322cee9 Release/v0.26.0 (#2726) * changelog_pending -> changelog * update changelog * update changelog * update changelog and upgrading 02 November 2018, 17:55:09 UTC
80e4fe6 [ADR] [DRAFT] pubsub 2.0 (#2532) * pubsub adr Refs #951, #1879, #1880 * highlight question * fix typos after Ismail's review 02 November 2018, 09:16:29 UTC
fb91ef7 validate reactor messages (#2711) * validate reactor messages Refs #2683 * validate blockchain messages Refs #2683 * validate evidence messages Refs #2683 * todo * check ProposalPOL and signature sizes * add a changelog entry * check addr is valid when we add it to the addrbook * validate incoming netAddr (not just nil check!) * fixes after Bucky's review * check timestamps * beef up block#ValidateBasic * move some checks into bcBlockResponseMessage * update Gopkg.lock Fix ``` grouped write of manifest, lock and vendor: failed to export github.com/tendermint/go-amino: fatal: failed to unpack tree object 6dcc6ddc143e116455c94b25c1004c99e0d0ca12 ``` by running `dep ensure -update` * bump year since now we check it * generate test/p2p/data on the fly using tendermint testnet * allow sync chains older than 1 year * use full path when creating a testnet * move testnet gen to test/docker/Dockerfile * relax LastCommitRound check Refs #2737 * fix conflicts after merge * add small comment * some ValidateBasic updates * fixes * AppHash length is not fixed 01 November 2018, 06:07:18 UTC
a22c962 TMHASH is 32 bytes. Closes #1990 (#2732) * tmhash is fully 32 bytes. closes #1990 * AddressSize * fix tests * fix max sizes 31 October 2018, 16:42:05 UTC
1660e30 Fix general merkle keypath to start w/ last op's key (#2733) * Fix general merkle keypath to start w/ last op's key * Update CHANGELOG_PENDING.md 31 October 2018, 15:02:13 UTC
a83c268 Fix spec (#2736) 31 October 2018, 14:59:01 UTC
c590590 Simplify proposal msg (#2735) * Align Proposal message with spec * Update spec 31 October 2018, 14:27:11 UTC
7a03344 Introduce EventValidBlock for informing peers about wanted block (#2652) * Introduce EventValidBlock for informing peer about wanted block * Merge with develop * Add isCommit flag to NewValidBlock message - Add test for the case of +2/3 Precommit from the previous round 31 October 2018, 13:20:36 UTC
a530352 Align Vote/Proposal fields with canonical order and fields (#2730) * reorder fields * add TestVoteString & update tests * remove redundant info from Proposal.String() * update spec * revert changes on vote.String() -> more human friendly 30 October 2018, 16:16:55 UTC
6043795 [R4R] libs/log: add year to log format (#2707) * add year to log format * update documentation 30 October 2018, 15:46:55 UTC
56d7160 Add ValidatorPubkeyTypes as a consensus param (#2636) * Add ValidatorPubkeyTypes as a consensus param Ref #2414 * update spec * address anton's comment * Switch to Validator and Validator Params * Correct changelog entry * Address bucky's comments! * forgot to update changelog * fix typo * fix Params naming 30 October 2018, 15:36:53 UTC
cdc252b add fail-test file instead of dep, closes #2638 (#2728) original author of this file is @ebuchman: https://github.com/ebuchman/fail-test 30 October 2018, 14:34:51 UTC
b24de1c update changelog pending and readme (#2725) 29 October 2018, 14:13:11 UTC
b6d5b8b Update to amino 0.14.0 (#2710) * WIP: update to amino 0.14.0 * update Changelog * Update to latest amino version (v0.14.0) 29 October 2018, 13:16:50 UTC
a67ae81 if some process locks a block in round 0, then 0 is valid proposal.POLRound in rounds > 0 This condition is really hard to get. Initially, lockedRound and validRound are set to -1 as we start with round 0. Refs #2702 25 October 2018, 14:40:20 UTC
bbf15b3 tm-monitor: update health after we added / removed node (#2694) Refs #2693 25 October 2018, 10:27:32 UTC
6643c5d Catch up with amino 0.13.0 (#2690) * catch up with amino changes in https://github.com/tendermint/go-amino/pull/222 * WIP: update to amino v0.13.0 * update to fixed amino release 25 October 2018, 01:34:01 UTC
9795e12 fix `RecoverAndLogHandler` not to call multiple writeheader (#2688) 24 October 2018, 08:07:33 UTC
be929ac Update to Amino v0.13.0-rc0 (#2687) * types: test tm2pm on fully populated header * upgrade for amino v0.13.0-rc0 * fix lint * comment out final test 23 October 2018, 17:21:47 UTC
fe1d59a Set protocol versions in NodeInfo from state (#2686) * use types.NewValidator * node: set p2p.ProtocolVersion from state, not globals 22 October 2018, 21:55:49 UTC
f94eb42 Version bump; Update Upgrading.md; linkify Changelog (#2679) * version bump * update UPGRADING.md * add missing pr numbers to changelog pending * linkify changelog 20 October 2018, 00:27:00 UTC
9d62bd0 crypto: use stdlib crypto/rand. ref #2099 (#2669) * crypto: use stdlib crypto/rand. ref #2099 * comment 19 October 2018, 18:29:45 UTC
30519e8 types: first field in Canonical structs is Type (#2675) * types: first field in Canonical structs is Type * fix spec 19 October 2018, 18:23:14 UTC
7c6519a Bucky/changelog (#2673) * update changelog, add authors script * update changelog * update changelog 19 October 2018, 17:49:04 UTC
f536089 types: dont use SimpleHashFromMap for header. closes #1841 (#2670) * types: dont use SimpleHashFromMap for header. closes #1841 * changelog and spec * comments 19 October 2018, 15:39:27 UTC
746d137 p2p: Restore OriginalAddr (#2668) * p2p: bring back OriginalAddr * p2p: set OriginalAddr * update changelog 18 October 2018, 22:26:32 UTC
e798766 types: remove Version from CanonicalXxx (#2666) 18 October 2018, 22:02:20 UTC
c3384e8 adr-016: update int64->uint64; add version to ConsensusParams (#2667) 18 October 2018, 21:32:53 UTC
ed4ce5f ADR-016: Update ABCI Info method for versions (#2662) * abci: update RequestInfo for versions * abci: update ResponseInfo for versions * compile fix * fix test * software_version -> version * comment fix * update spec * add test * comments and fix test 18 October 2018, 20:51:17 UTC
055d7ad add tm-abci python ABCI server (fork of py-abci) (#2658) It utilises async IO -> greater performance. 18 October 2018, 16:03:45 UTC
14c1bae ADR-016: Add protocol Version to NodeInfo (#2654) * p2p: add protocol Version to NodeInfo * update node pkg. remove extraneous version files * update changelog and docs * fix test * p2p: Version -> ProtocolVersion; more ValidateBasic and tests 18 October 2018, 14:29:59 UTC
455d341 ADR-016: Add versions to Block and State (#2644) * types: add Version to Header * abci: add Version to Header * state: add Version to State * node: check software and state protocol versions match * update changelog * docs/spec: update for versions * state: more tests * remove TODOs * remove empty test 17 October 2018, 19:30:53 UTC
6a07f41 Change error output format for better SDK and Voyager UX (#2648) * Change error output format * Update tests * :facepalm: * apply suggestion 17 October 2018, 18:26:14 UTC
d20693f install scripts: update go version, remove upgrade cmd (#2650) * [install scripts] update go version, remove upgrade - upgrading OS is out of scope of installation scripts * add missing log statement Refs https://github.com/tendermint/tendermint/pull/2642#discussion_r225786794 17 October 2018, 16:47:56 UTC
f60713b privval: Add IPCPV and fix SocketPV (#2568) Ref: #2563 I added IPC as an unencrypted alternative to SocketPV. Besides I fixed the following aspects of SocketPV: Added locking since we are operating on a single socket The connection deadline is extended every time a successful packet exchange happens; otherwise the connection would always die permanently x seconds after the connection was established. Added a ping/heartbeat mechanism to keep the connection alive; native TCP keepalives do not work in this use-case * Extend the SecureConn socket to extend its deadline * Add locking & ping/heartbeat packets to SocketPV * Implement IPC PV and abstract socket signing * Refactored IPC and SocketPV * Implement @melekes comments * Fixes to rebase 17 October 2018, 08:26:14 UTC
ed107d0 [scripts/install_tendermint_ubuntu] change /root to local user (#2647) 17 October 2018, 06:12:31 UTC
8056266 add Google Analytics for documentation pages (#2645) We need Google Analytics to start measuring how many developers are viewing our documentation. That way we can gauge how successful an/or useful various pages are. VuePress supports GA and all we have to provide is the tracking code. This PR also renames the static docs site to "Tendermint Documentation", which is a better representation of the contents than only "Tendermint Core". 16 October 2018, 06:10:52 UTC
55362ed [pubsub] document design shortcomings (#2641) Refs https://github.com/tendermint/tendermint/issues/1811#issuecomment-427825250 16 October 2018, 06:09:24 UTC
124d0db Make txs and evidencelist use merkle.SimpleHashFromBytes to create hash (#2635) This is a performance regression, but will also spare the types directory from knowing about RFC 6962, which is a more correct abstraction. For txs this performance hit will be fixed soon with #2603. For evidence, the performance impact is negligible due to it being capped at a small number. 15 October 2018, 20:42:47 UTC
4ab7dcf [R4R] Unmerklize ConsensusParams.Hash() (#2609) * Hash() uses tmhash instead of merkle.SimpleHashFromMap * marshal whole struct * update comments * update docs 15 October 2018, 20:31:27 UTC
2646202 standardize header.Hash() (#2610) 15 October 2018, 20:28:49 UTC
287b25a Align with spec (#2642) 15 October 2018, 20:05:13 UTC
37928cb set next validators along with validators while replay (#2637) Closes #2634 15 October 2018, 02:28:41 UTC
0790223 Comment about ed25519 private key format on Sign (#2632) Closes #2001 14 October 2018, 00:01:21 UTC
0baa758 p2p: NodeInfo is an interface; General cleanup (#2556) * p2p: NodeInfo is an interface * (squash) fixes from review * (squash) more fixes from review * p2p: remove peerConn.HandshakeTimeout * p2p: NodeInfo is two interfaces. Remove String() * fixes from review * remove test code from peer.RemoteIP() * p2p: remove peer.OriginalAddr(). See #2618 * use a mockPeer in peer_set_test.go * p2p: fix testNodeInfo naming * p2p: remove unused var * remove testRandNodeInfo * fix linter * fix retry dialing self * fix rpc 12 October 2018, 23:25:33 UTC
8888595 [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) * WIP: switching to fixed offsets for SignBytes * add version field to sign bytes and update order * more comments on test-cases and add a tc with a chainID * remove amino:"write_empty" tag - it doesn't affect if default fixed size fields ((u)int64) are written or not - add comment about int->int64 casting * update CHANGELOG_PENDING * update documentation * add back link to issue #1622 in documentation * remove JSON tags and add (failing test-case) * fix failing test * update test-vectors due to added `Type` field * change Type field from string to byte and add new type alias - SignedMsgType replaces VoteTypePrevote, VoteTypePrecommit and adds new ProposalType to separate votes from proposal when signed - update test-vectors * fix remains from rebasing * use SignMessageType instead of byte everywhere * fixes from review 12 October 2018, 23:21:46 UTC
1b51cf3 Remove unnecessary layer of indirection / unnecessary allocation of hashes (#2620) 12 October 2018, 21:48:00 UTC
2363d88 consensus: Wait for proposal or timeout before prevote (#2540) * Fix termination issues and improve tests * Improve formatting and tests based on reviewer feedback 12 October 2018, 20:13:01 UTC
e1538bf state: require block.Time of the fist block to be genesis time (#2594) * require block.Time of the fist block to be genesis time Refs #2587: ``` We only start validating block.Time when Height > 1, because there is no commit to compute the median timestamp from for the first block. This means a faulty proposer could make the first block with whatever time they want. Instead, we should require the timestamp of block 1 to match the genesis time. I discovered this while refactoring the ValidateBlock tests to be table-driven while working on tests for #2560. ``` * do not accept blocks with negative height * update changelog and spec * nanos precision for test genesis time * Fix failing test (#2607) 12 October 2018, 05:03:58 UTC
3744e82 [R4R] Pass nil to NewValidatorSet() when genesis file's Validators field is nil (#2617) * Pass nil to NewValidatorSet() when genesis file's Validators field is nil Closes: #2616 * Update CHANGELOG_PENDING.md 12 October 2018, 03:37:21 UTC
7b48ea1 privval: set deadline in readMsg (#2548) * privval: set deadline in readMsg * fixes from review 11 October 2018, 17:55:36 UTC
69ecda1 refactor nop_event_bus.go into event_bus.go (#2605) This is just to match the style of the rest of the codebase, and to reduce the number of files in types. 11 October 2018, 14:16:25 UTC
cc0bea5 Minor doc fix regarding testnet on non-linux OS (#2601) 11 October 2018, 14:03:34 UTC
feb08fa ed25519: use golang/x/crypto fork (#2558) * ed25519: use golang/x/crypto fork * changelog * gix GenerateFromPassword * fixes from review 11 October 2018, 14:01:53 UTC
9a6cdad fix contributor's name in CHANGELOG_PENDING (#2599) Refs https://github.com/tendermint/tendermint/pull/2506#issuecomment-428458974 10 October 2018, 17:29:13 UTC
12fa9d1 crypto/merkle: Remove byter in favor of plain byte slices (#2595) * crypto/merkle: Remove byter in favor of plain byte slices This PR is fully backwards compatible in terms of function output! (The Go API differs though) The only test case changes was to refactor it to be table driven. * Update godocs per review comments 10 October 2018, 16:46:09 UTC
92343ef Add additional metrics (#2500) * Add additional metrics Continues addressing https://github.com/cosmos/cosmos-sdk/issues/2169. * Add nop metrics to fix NPE * Tweak buckets, code review * Update buckets * Update docs with new metrics * Code review updates 10 October 2018, 16:27:43 UTC
ee7b3d2 crypto/amino: Address anton's comment on PubkeyAminoRoute (#2592) 10 October 2018, 08:13:42 UTC
6ec52a9 types: cap evidence in block validation (#2560) * cap evidence in block validation * state: use table-driven test for ValidateBlockHeader * state: test evidence cap * fixes from review 09 October 2018, 17:31:21 UTC
05a119a libs: Test deadlock from listener removal inside callback (#2588) Closes #2575 09 October 2018, 17:31:06 UTC
d7341c4 distribution: Lock binary dependencies to specific commits (#2550) 09 October 2018, 17:28:15 UTC
3fcb62b :tools: Update docs & fix build-docker Makefile target (#2584) bump alpine version to 3.8 09 October 2018, 14:04:15 UTC
8761b27 crypto: Add a way to go from pubkey to route (#2574) This is intended for use in a future PR for #2414 09 October 2018, 12:41:33 UTC
e770885 libs: Let prefixIterator implements Iterator correctly (#2581) Fixes #2577 09 October 2018, 12:21:36 UTC
561fc2d test(db): Test itr.Value in checkValuePanics (#2580) Fixes #2573 09 October 2018, 12:19:00 UTC
724e264 separate mock evidence from real evidence (#2571) Closes #2525 09 October 2018, 12:10:05 UTC
989a2f3 libs: Refactor & document events code (#2576) * [libs/events] add more godoc comments * [libs/events] refactor code - improve var naming - improve code structure - do not use defers for unlocking mutexes (defer takes time) 09 October 2018, 11:09:40 UTC
4b2bf02 libs: Fix event concurrency flaw (#2519) * fix event concurrency flaw * modify changelog * fix a mistake * fix a lint issue * modify changelog * modify for review issue * modify for review issue * modify for review issue 08 October 2018, 13:36:31 UTC
c17547a Switch nodeID to use tmhash.Size, add test names for net addr tests (#2559) * Switch nodeID to be tmhash.Size, add test names for net addr tests Both of these came up when locally trying to change tmhash size. * fix error introduced by merge 08 October 2018, 13:20:41 UTC
b1e7fac crypto/random: Use chacha20, add forward secrecy (#2562) Ref #2099 08 October 2018, 13:15:56 UTC
35b6712 tools: Refactor tm-bench (#2570) * specify time unit for FlushThrottleTimeout in TestP2PConfig Refs #2555 * [tm-bench] refactor code https://github.com/tendermint/tendermint/pull/2405#pullrequestreview-157166387 08 October 2018, 13:03:38 UTC
4c0c6e0 [tm-bench] exit on CTRL-C (#2405) 08 October 2018, 07:06:01 UTC
b8556b9 circle: save p2p logs as artifacts (#2566) 08 October 2018, 06:49:50 UTC
5f88fe0 fix p2p switch FlushThrottle value (#2569) 08 October 2018, 06:05:12 UTC
1d8348d [p2p] Malformed external address causes SIGSEGV (if URL has empty host) (#2564) fix #2071 Signed-off-by: phymbert <pierrick.hymbert@gmail.com> 06 October 2018, 13:53:52 UTC
f471fc4 abci: codespace (#2557) * abci: codespace * changelog 06 October 2018, 13:20:15 UTC
2d726a6 add adr (#2553) 06 October 2018, 03:44:53 UTC
dfda7b4 types: Remove pubkey from validator hash (#2512) * types: Remove pubkey from validator hash * undo lock file change * Update Spec 05 October 2018, 23:26:52 UTC
6e5f581 add spec/abci/readme to sidebar (#2551) 05 October 2018, 13:51:23 UTC
c648c93 Fix random distribution in bitArray.PickRandom (#2534) * Fix random distribution in bitArray.PickRandom Previously it was very biased. 63 "_" followed by a single "x" had much greater odds of being chosen. Additionally, the last element was skewed. This fixes that by first preproccessing the set of all true indices, and then randomly selecting a single element from there. This commit also makes the code here significantly simpler, and improves test cases. * unlock mtx right after we select true indices 05 October 2018, 07:00:50 UTC
5b120d7 lite support maxOpenConnections (#2413) 05 October 2018, 00:39:24 UTC
e6a55b7 consensus: Add ADR for first stage consensus refactor (#2462) 05 October 2018, 00:35:35 UTC
d2be748 [ADR][DRAFT] 024: SignBytes and validator types in privval (#2445) * first draft for ADR summarizing discussion from: https://github.com/tendermint/tendermint/issues/1622 * fix link and add comment about pub-key per message and fix link * fix link and add comment about pub-key per message; also: - fix link - add little diagram - fix typo * Add a slightly different approach * typo and ADR number 05 October 2018, 00:28:27 UTC
44a72fb Merge pull request #2544 from tendermint/bucky/adr-029 Bucky/adr 029 05 October 2018, 00:09:34 UTC
c15fc9f adr-029: update CheckBlock 05 October 2018, 00:11:21 UTC
be1760c Create adr-021-check block txs before prevote.md 04 October 2018, 22:43:17 UTC
5b1b1ea [libs/autofile] fix DATA RACE by removing openFile() call (#2539) There's a time window after we call RotateFile() where autofile#index+1 does not exist. It will be created during the next call to Write(). BUT if somebody calls NewReader() before Write(), it will fail with "open /tmp/wal#index+1/wal: no such file or directory" We must create file (either by calling gr.Head.openFile() or directly) during NewReader() to ensure read calls succeed. Closes #2538 04 October 2018, 21:57:59 UTC
f11aef2 Add ADR for Commit changes (#2374) 04 October 2018, 21:54:45 UTC
3036498 update docs links & sidebar (#2541) * docs: fix links * docs: add readme from each section to the sidebar 04 October 2018, 21:22:41 UTC
back to top