d542d2c | Jae Kwon | 27 July 2018, 01:08:09 UTC | Fix 0.22.7, bump to 0.22.8 | 27 July 2018, 01:08:09 UTC |
18acd77 | Ethan Buchman | 26 July 2018, 23:00:50 UTC | Merge pull request #2076 from tendermint/hotfix/0.22.7 Hotfix/0.22.7 | 26 July 2018, 23:00:50 UTC |
49b52ee | Hendrik Hofstadt | 26 July 2018, 22:41:15 UTC | Add test for MakePartSet with evidence | 26 July 2018, 23:00:07 UTC |
e4dfab6 | Ethan Buchman | 26 July 2018, 22:54:15 UTC | changelog and version | 26 July 2018, 22:54:15 UTC |
0e12756 | Ethan Buchman | 26 July 2018, 22:53:19 UTC | register evidence interface wherever its used | 26 July 2018, 22:53:19 UTC |
5fdbcd7 | Ethan Buchman | 25 July 2018, 15:18:00 UTC | Merge pull request #2056 from tendermint/hotfix/v0.22.6 Hotfix/v0.22.6 | 25 July 2018, 15:18:00 UTC |
6046b99 | Ethan Buchman | 25 July 2018, 01:48:51 UTC | consensus: include evidence in proposed block parts. fixes #2050 | 25 July 2018, 01:58:39 UTC |
359898d | Ethan Buchman | 25 July 2018, 01:32:30 UTC | p2p: fix conn leak. part of #2046 | 25 July 2018, 01:53:37 UTC |
5768b67 | Ethan Buchman | 25 July 2018, 01:26:41 UTC | changelog and version | 25 July 2018, 01:26:41 UTC |
082557b | Ethan Buchman | 25 July 2018, 01:25:47 UTC | rpc: validate height in abci_query | 25 July 2018, 01:25:47 UTC |
8dc655d | Ethan Buchman | 25 July 2018, 00:35:36 UTC | rpc: fix /blockchain OOM #2049 | 25 July 2018, 01:18:20 UTC |
70d3783 | Ethan Buchman | 24 July 2018, 23:29:37 UTC | dep: revert updates - leave protobuf on 1.1.1 for grpc import fixes - amino v0.11 breaks tendermint - revert to v0.10.1 | 25 July 2018, 01:01:14 UTC |
05a76fb | Ethan Buchman | 24 July 2018, 01:57:43 UTC | Merge pull request #2029 from tendermint/release/0.22.5 Release/0.22.5 | 24 July 2018, 01:57:43 UTC |
15b112e | Ethan Buchman | 24 July 2018, 00:58:24 UTC | mempool: chan bool -> chan struct{} | 24 July 2018, 01:06:47 UTC |
2aef80b | Ethan Buchman | 24 July 2018, 00:34:34 UTC | Merge pull request #2034 from tendermint/dev/fix_pkg_names crypto: Fix package imports from the refactor | 24 July 2018, 00:34:34 UTC |
f3d519c | ValarDragon | 23 July 2018, 22:04:04 UTC | crypto: Fix package imports from the refactor | 23 July 2018, 23:14:21 UTC |
9962e59 | Anton Kaliaev | 23 July 2018, 17:15:08 UTC | reconnect to self-reported address if persistent peer is inbound (#2031) * reconnect to self-reported address if persistent peer is inbound * add a fixme | 23 July 2018, 17:15:08 UTC |
948b91e | Anton Kaliaev | 23 July 2018, 13:16:43 UTC | add missing changelog entries | 23 July 2018, 13:16:43 UTC |
1e05242 | Anton Kaliaev | 23 July 2018, 13:07:14 UTC | update changelog and bump version to 0.22.5 | 23 July 2018, 13:07:14 UTC |
94e8252 | Anton Kaliaev | 23 July 2018, 12:47:15 UTC | #2021 follow up (#2028) * update changelog * txAvailable is always true Refs #2021, #1920 * remove debug message No additional value. `enterPropose` log message should be enough. Refs #2021, #1920 | 23 July 2018, 12:47:15 UTC |
eb7dea1 | Dev Ojha | 23 July 2018, 11:35:13 UTC | crypto/ed25519: Remove privkey.Generate method (#2022) The privkey.Generate method here was a custom-made method for deriving a private key from another private key. This function is currently not used anywhere in our codebase, and has not been reviewed enough that it would be secure to use. This removes that method. We should adopt the official ed25519 HD derivation once that has been standardized, in order to fulfill this need. closes #2000 | 23 July 2018, 11:35:13 UTC |
e36ce6f | srmo | 23 July 2018, 11:34:45 UTC | fix race condition on proposal height for published txs (#2021) * #1920 try to fix race condition on proposal height for published txs - related to create_empty_blocks=false - published height for accepted tx can be wrong (too low) - use the actual mempool height + 1 for the proposal - expose Height() on mempool * #1920 add initial test for mempool.Height() - not sure how to test the lock - can the mutex reference be of type Locker? -- this way, we can use a "mock" of the mutex to test triggering * #1920 use the ConsensusState height in favor of mempool - gets rid of indirections - doesn't need any "+1" magic * #1920 cosmetic - if we use cs.Height, it's enough to evaluate right before propose * #1920 cleanup TODO and non-needed code * #1920 add changelog entry | 23 July 2018, 11:34:45 UTC |
c5c1689 | Dev Ojha | 21 July 2018, 04:52:04 UTC | crypto/secp256k1: Add godocs, remove indirection in privkeys (#2017) * crypto/secp256k1: Add godocs, remove indirection in privkeys The following was previously done for creating secp256k1 private keys: First obtain privkey bytes. Then create a private key in the underlying library, with scalar exponent equal to privKeyBytes. (The method called was secp256k1.PrivKeyFromBytes, https://github.com/btcsuite/btcd/blob/fb90c334dffc6c91843d8d36ac31e7f7eb6c7594/btcec/privkey.go#L21) Then the private key was serialized using the underlying library, which just returns back the bytes that comprised the scalar exponent, but padded to be exactly 32 bytes. https://github.com/btcsuite/btcd/blob/fb90c334dffc6c91843d8d36ac31e7f7eb6c7594/btcec/privkey.go#L70 Thus the entire indirection of calling the underlying library can be avoided by just ensuring that we pass in a 32 byte value. A test case has even be written to show this more clearly in review. * crypto/secp256k1: Address PR comments Squash this commit * crypto: Remove note about re-registering amino paths when unnecessary. This commit should be squashed. | 21 July 2018, 04:52:04 UTC |
5e96421 | Anton Kaliaev | 20 July 2018, 18:48:41 UTC | Merge pull request #1966 from tendermint/dev/refactor_crypto crypto: Refactor to move files out of the top level directory | 20 July 2018, 18:48:41 UTC |
c798702 | ValarDragon | 20 July 2018, 17:44:21 UTC | crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey | 20 July 2018, 17:44:21 UTC |
17c0029 | ValarDragon | 20 July 2018, 15:59:41 UTC | Merge remote-tracking branch 'origin/develop' into dev/refactor_crypto | 20 July 2018, 15:59:41 UTC |
0f2d97d | Alexander Simmerl | 20 July 2018, 15:43:25 UTC | Merge pull request #1742 from Liamsi/proto_files Add Proto files for types.Header (incl. BlockId, Time, PartsSetHeader) | 20 July 2018, 15:43:25 UTC |
ed8714e | Alexander Simmerl | 20 July 2018, 15:42:42 UTC | Merge pull request #1965 from tendermint/693-part-2 make Block Header and Data non-pointers | 20 July 2018, 15:42:42 UTC |
6017d81 | Alexander Simmerl | 20 July 2018, 15:24:55 UTC | Merge pull request #2008 from tendermint/1772-rwmutex-cs use RWMutex for consensus state | 20 July 2018, 15:24:55 UTC |
63835c0 | Alexander Simmerl | 20 July 2018, 15:22:16 UTC | Merge pull request #2009 from tendermint/1772-call-validators-with-timeout make `/status` RPC endpoint resistant to consensus halt | 20 July 2018, 15:22:16 UTC |
c82c60d | Alexander Simmerl | 19 July 2018, 15:44:48 UTC | rpc: Test Validator retrevial timeout | 20 July 2018, 15:08:55 UTC |
67762ae | Dev Ojha | 20 July 2018, 06:09:30 UTC | crypto/ed25519: Update the godocs (#2002) This commit updates the godocs for the package, and adds an optimization to the privkey.Pubkey() method. The optimization is that in golang, the private key (due to interface compatibility reasons) has a copy of the public key stored inside of it. Therefore if this copy has already been computed, there is no need to recompute it. | 20 July 2018, 06:09:30 UTC |
0fbb465 | Anton Kaliaev | 19 July 2018, 11:52:44 UTC | add protoc_all and protoc_grpc to .PHONY | 19 July 2018, 21:27:41 UTC |
2e75214 | Anton Kaliaev | 19 July 2018, 11:26:35 UTC | update gogo to 1.1.1 and other misc. updates Refs #1883 | 19 July 2018, 21:27:41 UTC |
5be456e | Anton Kaliaev | 19 July 2018, 11:04:00 UTC | update grpc version to 1.13.0 Refs #1883 | 19 July 2018, 21:27:41 UTC |
1bd5476 | Anton Kaliaev | 19 July 2018, 07:26:50 UTC | make `/status` RPC endpoint resistant to consensus halt Refs #1772 | 19 July 2018, 07:26:50 UTC |
5037dd4 | Anton Kaliaev | 19 July 2018, 06:49:12 UTC | use RWMutex for consensus state allows multiple RPC requests to query consensus state Refs #1772 | 19 July 2018, 06:49:12 UTC |
96818af | Liamsi | 18 July 2018, 17:06:38 UTC | fix protos to make all tests pass, document differences | 18 July 2018, 17:06:38 UTC |
571e602 | ValarDragon | 18 July 2018, 15:51:00 UTC | Merge remote-tracking branch 'origin/develop' into dev/refactor_crypto | 18 July 2018, 15:54:51 UTC |
99e582d | ValarDragon | 18 July 2018, 15:38:44 UTC | crypto: Refactor to move files out of the top level directory Currently the top level directory contains basically all of the code for the crypto package. This PR moves the crypto code into submodules in a similar manner to what `golang/x/crypto` does. This improves code organization. Ref discussion: https://github.com/tendermint/tendermint/pull/1966 Closes #1956 | 18 July 2018, 15:38:44 UTC |
a81ca93 | Liamsi | 18 July 2018, 14:37:15 UTC | update to new (timestamp & empty structs) encoding in amino - timestamps no longer have fixed length encoding - | 18 July 2018, 14:37:15 UTC |
2744682 | Liamsi | 18 July 2018, 13:53:53 UTC | update to latest amino (pre) release v0.11.1 - also reformat code and order imports | 18 July 2018, 13:53:53 UTC |
d665c79 | Liamsi | 20 June 2018, 22:15:05 UTC | WIP: more empty struct examples | 18 July 2018, 13:18:10 UTC |
3c38a25 | Liamsi | 13 June 2018, 19:08:59 UTC | add empty struct examples | 18 July 2018, 13:17:51 UTC |
0cd82fa | Liamsi | 13 June 2018, 08:11:21 UTC | add empty struct examples | 18 July 2018, 13:14:41 UTC |
99fa7f8 | Liamsi | 13 June 2018, 07:43:06 UTC | everything works with https://github.com/tendermint/go-amino/pull/178 | 18 July 2018, 13:14:41 UTC |
82104c9 | Liamsi | 13 June 2018, 06:49:16 UTC | almost | 18 July 2018, 13:14:41 UTC |
40342bf | Zach | 18 July 2018, 09:32:17 UTC | Update DOCS_README.md (#1985) | 18 July 2018, 09:32:17 UTC |
912fe47 | Anton Kaliaev | 18 July 2018, 09:26:44 UTC | Merge pull request #1987 from silasdavis/static-marshaler Generate static marshalling methods for ABCI types to make compatible with downstream GRPC usage | 18 July 2018, 09:26:44 UTC |
b31ee79 | Anton Kaliaev | 18 July 2018, 09:23:29 UTC | preserve original address and dial it instead of self-reported address (#1994) Refs #1720 | 18 July 2018, 09:23:29 UTC |
6c4ca14 | Jeremiah Andrews | 18 July 2018, 09:22:09 UTC | Add private peer ID tracking to AddrBook (#1989) * Add private peer ID tracking to AddrBook * Remove private peer tracking/blocking from pex * debug level msg when we fail to add private address | 18 July 2018, 09:22:09 UTC |
449846c | needkane | 18 July 2018, 09:12:52 UTC | NodeInfo version check: delete redundant code | 18 July 2018, 09:12:52 UTC |
3353bb9 | Dev Ojha | 17 July 2018, 17:33:00 UTC | tools: Remove redundant grep -v vendors/ (#1996) * tools: Remove redundant grep -v vendors/ This was used in conjunction with `go list <path>`, however `go list` already ignores the vendor directory. This made this `grep -v` redundant. * Missed an apostrophe | 17 July 2018, 17:33:00 UTC |
b7e5cbe | Silas Davis | 17 July 2018, 16:42:30 UTC | Remove pb.go files from codecov Signed-off-by: Silas Davis <silas@monax.io> | 17 July 2018, 16:42:30 UTC |
21b900d | Silas Davis | 17 July 2018, 13:56:11 UTC | Add gogo generated tests for pb.go files Signed-off-by: Silas Davis <silas@monax.io> | 17 July 2018, 13:56:11 UTC |
c9f92f4 | Silas Davis | 17 July 2018, 12:56:42 UTC | Use pattern rule for protoc building and \\nolint in generated pb.go files Signed-off-by: Silas Davis <silas@monax.io> | 17 July 2018, 13:20:49 UTC |
398f377 | Silas Davis | 16 July 2018, 19:52:51 UTC | Add gogoproto marshallers to proto files in order to make use of gogoproto.nullable compatible with GRPC downstream of ABCI and libs protbuf types | 17 July 2018, 10:51:38 UTC |
257622c | Zach | 17 July 2018, 06:52:49 UTC | update rpc/core/doc.go Closes #1932 (#1986) | 17 July 2018, 06:52:49 UTC |
07ad325 | Max Levy | 17 July 2018, 06:49:38 UTC | A link fixed (#1991) To address the relocation of terraform-and-ansible.md under networks/, as per https://github.com/tendermint/tendermint/commit/e54c0f804faa3d4a6c0c1ada0288c07d2a49ce50#diff-95ac35ad12aa33ed70e9ff5db2229771 | 17 July 2018, 06:49:38 UTC |
76f5e92 | Max Levy | 17 July 2018, 06:44:59 UTC | Fixed a link (#1992) Broken by #e54c0f8 | 17 July 2018, 06:44:59 UTC |
71859f8 | Dev Ojha | 16 July 2018, 07:19:08 UTC | common/rand: Remove exponential distribution functions (#1979) We were computing these functions incorrectly. I'm not sure what distribution these numbers are, but it isn't the normal exponential distribution. (We're making the probability of getting a number of a particular bitlength equal, but the number in that bitlength thats gets chosen is uniformly chosen) We weren't using these functions anywhere in our codebase, and they had a nomenclature error. (There aren't exponentially distributed integers, instead they would be geometrically distributed) | 16 July 2018, 07:38:04 UTC |
a3df06d | ValarDragon | 14 July 2018, 22:31:25 UTC | libs/common/rand: Update godocs The godocs fell out of sync with the code here. Additionally we had warning that these randomness functions weren't for cryptographic use on every function. However these warnings are confusing, since there was no implication that they would be secure there, and a single warning on the actual Rand type would suffice. (This is what is done in golang's math/rand godoc) Additionally we indicated that rand.Bytes() was reading OS randomness but in fact that had been changed. | 16 July 2018, 07:38:04 UTC |
dae7dc3 | Dev Ojha | 16 July 2018, 07:20:37 UTC | Switch usage of math/rand to cmn's rand (#1980) This commit switches all usage of math/rand to cmn's rand. The only exceptions are within the random file itself, the tools package, and the crypto package. In tools you don't want it to lock between the go-routines. The crypto package doesn't use it so the crypto package have no other dependencies within tendermint/tendermint for easier portability. Crypto/rand usage is unadjusted. Closes #1343 | 16 July 2018, 07:20:37 UTC |
14cebd1 | Dev Ojha | 16 July 2018, 07:17:27 UTC | config: 10x default send/recv rate (#1978) * config: 10x default send/recv rate This increases the default send/recv rate from 512 kB/s to 5.12 mB/s Closes #1752 * Fix typo | 16 July 2018, 07:17:27 UTC |
522a425 | Ethan Buchman | 15 July 2018, 12:19:00 UTC | Merge pull request #1975 from tendermint/bucky/1951-fix-protoc-libs makefile: fix protoc_libs | 15 July 2018, 12:19:00 UTC |
0fbcbb3 | Ethan Buchman | 14 July 2018, 17:33:18 UTC | makefile: fix protoc_libs | 14 July 2018, 17:33:18 UTC |
8a5930a | Ethan Buchman | 14 July 2018, 14:13:52 UTC | Merge pull request #1974 from tendermint/master Merge master back to develop | 14 July 2018, 14:13:52 UTC |
c64a3c7 | Ethan Buchman | 14 July 2018, 13:55:12 UTC | Merge pull request #1972 from tendermint/release/v0.22.4 Release/v0.22.4 | 14 July 2018, 13:55:12 UTC |
722f8a1 | Ethan Buchman | 14 July 2018, 13:47:20 UTC | Merge pull request #1973 from tendermint/bucky/fix-pubsub-stop fix stopping pubsub | 14 July 2018, 13:47:20 UTC |
d903057 | Ethan Buchman | 14 July 2018, 13:50:56 UTC | fix stopping pubsub | 14 July 2018, 13:50:56 UTC |
74106c8 | Ethan Buchman | 14 July 2018, 13:05:50 UTC | update changelog | 14 July 2018, 13:05:50 UTC |
9400685 | Ethan Buchman | 14 July 2018, 12:29:54 UTC | changelog and version | 14 July 2018, 12:29:54 UTC |
a963af4 | Ethan Buchman | 14 July 2018, 12:14:00 UTC | Merge pull request #1968 from tendermint/dev/tmbench_refactor_statistics tools/tmbench: Move statistics to a seperate file | 14 July 2018, 12:14:00 UTC |
a1400ae | Ethan Buchman | 14 July 2018, 12:12:33 UTC | Merge pull request #1964 from tendermint/dev/tmbench_improve_sendloop_efficiency tools/tmbench: Improve accuracy with large tx sizes. | 14 July 2018, 12:12:33 UTC |
789666e | Ethan Buchman | 14 July 2018, 12:02:56 UTC | Merge pull request #1936 from tendermint/693-ensure-types-are-covered Ensure all funcs in types pkg are well guarded (Part 1) | 14 July 2018, 12:02:56 UTC |
c66e151 | Ethan Buchman | 14 July 2018, 12:02:42 UTC | Merge branch 'develop' into 693-ensure-types-are-covered | 14 July 2018, 12:02:42 UTC |
a163f08 | Ethan Buchman | 14 July 2018, 11:50:15 UTC | Merge pull request #1970 from tendermint/bucky/consensus-stop-wait consensus: wait on stop if not fastsync | 14 July 2018, 11:50:15 UTC |
9b0b0b0 | Ethan Buchman | 14 July 2018, 11:53:54 UTC | consensus: wait on stop if not fastsync | 14 July 2018, 11:53:54 UTC |
5439da6 | Ethan Buchman | 14 July 2018, 11:48:54 UTC | Merge pull request #1971 from tendermint/master Merge master back to develop | 14 July 2018, 11:48:54 UTC |
9703a88 | Zach | 14 July 2018, 07:04:15 UTC | rm script that Jenkins will replace (#1967) | 14 July 2018, 07:04:15 UTC |
9035546 | ValarDragon | 14 July 2018, 05:36:09 UTC | Merge remote-tracking branch 'origin/develop' into dev/tmbench_improve_sendloop_efficiency | 14 July 2018, 05:36:09 UTC |
aff063b | ValarDragon | 14 July 2018, 01:00:49 UTC | tools/tmbench: Move statistics to a seperate file This PR moves statistics to its own file, seperates getBlockMetas into its own function, and removes the timeEnd parameter from calculate statistics. The ending time is now computed directly from the start time and the duration, to enforce that we only collect data for the provided duration. | 14 July 2018, 01:00:49 UTC |
66c4f7a | ValarDragon | 13 July 2018, 18:23:17 UTC | Remove gopkg stuff, should hopefully get these tests in test_cover | 13 July 2018, 18:23:17 UTC |
262c8da | Dev Ojha | 13 July 2018, 08:28:19 UTC | tools/tm-bench: Don't count the first block if its empty (#1948) * tools/tm-bench: Don't count the first block if its empty * Try melekes suggestion * Fix getting the start time so the first block is no longer empty * Fix changelog entry * Make code smell better * tools/tmbench: Fix the end time being used for statistics calculation Previously we were using the time at which all connections closed in statistics, not the time after {duration} seconds. * Use waitgroups for starting up | 13 July 2018, 08:28:19 UTC |
270659f | Anton Kaliaev | 13 July 2018, 08:05:54 UTC | make Block Header and Data non-pointers make BlockMeta Header a non-pointer Refs #693 | 13 July 2018, 08:05:54 UTC |
1dbe7b7 | ValarDragon | 13 July 2018, 06:43:56 UTC | tools/tmbench: Improve accuracy with large tx sizes. At larger tx sizes (e.g. > 10000) we were spending non-neglible amounts of time in tx creation, due to making the final bytes random. The slower the send loop, the less accurate it is at measuring the time tendermint took. (As we can't reach the promised contract of the given rate) There really isn't much need for that randomness, so this PR makes it such that only the txNumber gets bumped between txs from the same connection, thereby improving sendloop speed and accuracy. | 13 July 2018, 06:47:40 UTC |
93a3f70 | ValarDragon | 12 July 2018, 22:40:46 UTC | Merge branch 'dev/tm_bench_ignore_first_block_if_empty' into dev/tmbench_fix_end_time | 12 July 2018, 22:40:46 UTC |
e46ae15 | ValarDragon | 12 July 2018, 22:37:46 UTC | Use waitgroups for starting up | 12 July 2018, 22:37:46 UTC |
75c9303 | ValarDragon | 12 July 2018, 19:59:40 UTC | tools/tmbench: Fix the end time being used for statistics calculation Previously we were using the time at which all connections closed in statistics, not the time after {duration} seconds. | 12 July 2018, 20:02:34 UTC |
bd050c1 | ValarDragon | 12 July 2018, 19:42:26 UTC | Make code smell better | 12 July 2018, 19:42:26 UTC |
3ffda99 | Anton Kaliaev | 12 July 2018, 18:38:15 UTC | Revert "rename privval#GetAddress and GetPubKey to Address and PubKey" This reverts commit 58d0c8de89bcc6c081c5b33683c2d0a4e1f83eef. | 12 July 2018, 18:40:07 UTC |
6a85aec | Anton Kaliaev | 12 July 2018, 18:37:03 UTC | fix linter issues | 12 July 2018, 18:40:07 UTC |
d103aaf | Anton Kaliaev | 12 July 2018, 14:50:32 UTC | add test for Vote#Verify remove test for String (very brittle) | 12 July 2018, 18:40:06 UTC |
17e1df0 | Anton Kaliaev | 12 July 2018, 14:32:58 UTC | test validator set more thoroughly Refs #693 | 12 July 2018, 18:40:06 UTC |
ff8ddee | Anton Kaliaev | 12 July 2018, 09:22:08 UTC | rename privval#GetAddress and GetPubKey to Address and PubKey | 12 July 2018, 18:40:06 UTC |
20bb522 | Anton Kaliaev | 12 July 2018, 08:56:26 UTC | add tests for ABCIResults#Bytes and tx#IndexByHash | 12 July 2018, 18:40:06 UTC |
715ec19 | Anton Kaliaev | 12 July 2018, 08:31:12 UTC | add tests for protobuf Refs #693 | 12 July 2018, 18:40:06 UTC |
d51b196 | Anton Kaliaev | 11 July 2018, 12:57:35 UTC | improve part set tests Refs #693 | 12 July 2018, 18:40:06 UTC |
5a44599 | Anton Kaliaev | 11 July 2018, 12:22:06 UTC | add a test for ConsensusParams#Update Refs #693 | 12 July 2018, 18:40:06 UTC |
3132f7f | Anton Kaliaev | 11 July 2018, 12:03:42 UTC | add tests for genesis Refs #693 | 12 July 2018, 18:40:06 UTC |