7ac8443 | Anton Kaliaev | 10 October 2019, 17:08:20 UTC | add v0.31.10 changelog entry | 10 October 2019, 17:08:20 UTC |
10e41b4 | Anton Kaliaev | 08 October 2019, 18:49:12 UTC | set the date to today | 10 October 2019, 17:08:12 UTC |
143b2b8 | Anton Kaliaev | 08 October 2019, 18:38:37 UTC | update changelog and bump version to v0.32.6 | 10 October 2019, 17:08:02 UTC |
fb65d06 | Anton Kaliaev | 08 October 2019, 17:52:28 UTC | p2p: only allow ed25519 pubkeys when connecting also, recover from any possible failures in acceptPeers Refs #4030 | 10 October 2019, 17:07:46 UTC |
04b8bfa | Marko | 10 October 2019, 14:43:20 UTC | stale bot (#4049) * Add stale bot - added stale bot to only pull requests for now Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * change code owner from xla to tess | 10 October 2019, 14:43:20 UTC |
9ad9c5a | Alexander Bezobchuk | 08 October 2019, 14:08:59 UTC | Update indexing-transactions.md (#4045) * Update indexing-transactions.md * Toml instead of Yaml | 08 October 2019, 14:08:59 UTC |
a13a4b8 | Marko | 07 October 2019, 15:34:24 UTC | remove traces of `github.com/tendermint/abci` (#4038) * Remove traces oaf `github.com/tendermint/abci` - removed abci dockerfile as it was still referencing `github.com/tendermint/abci` Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * nor change to install of abci * use abci-cli instead of tendermint node * remove traces of Dockerfile.develop also use latest Go in Dockerfile.testing * update docker readme * remove wrapping because it will look awful on docker hub | 07 October 2019, 15:34:24 UTC |
38359f4 | Marko | 07 October 2019, 14:55:09 UTC | docs: add previous dev sessions (#4040) Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> | 07 October 2019, 14:55:09 UTC |
acea49e | Marko | 07 October 2019, 12:26:06 UTC | Cleanup docs (#4037) * Quick clean up of docs - removed a few files that have been deprecated and/or relocated Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * cleanup a few docs | 07 October 2019, 12:26:06 UTC |
e024805 | Anton Kaliaev | 02 October 2019, 19:23:32 UTC | docs: any path can be absolute or relative (#4035) Fixes #4026 | 02 October 2019, 19:23:32 UTC |
b225e0e | Anton Kaliaev | 02 October 2019, 18:46:50 UTC | changelog: add v0.31.9 and v0.31.8 updates (#4034) also replace TODO placeholder with the actual issue in v0.32.5 | 02 October 2019, 18:46:50 UTC |
004ff3a | Anton Kaliaev | 02 October 2019, 18:11:13 UTC | Merge pull request #4032 from tendermint/v0.32.5-backport V0.32.5 backport | 02 October 2019, 18:11:13 UTC |
9dc1ca1 | Anton Kaliaev | 30 September 2019, 20:43:50 UTC | update changelog | 02 October 2019, 18:01:15 UTC |
ba547cb | Zaki Manian | 28 September 2019, 01:31:27 UTC | Update CHANGELOG.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> | 02 October 2019, 18:01:06 UTC |
4c11bab | Zaki Manian | 26 September 2019, 16:08:42 UTC | Changelog update | 02 October 2019, 18:00:57 UTC |
1af0e83 | Zaki Manian | 26 September 2019, 15:49:42 UTC | update version.go | 02 October 2019, 18:00:47 UTC |
8c9bf1d | Zaki Manian | 21 September 2019, 17:45:30 UTC | Update p2p/conn/secret_connection.go Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> | 02 October 2019, 06:00:35 UTC |
ebfaf30 | Zaki Manian | 20 September 2019, 16:37:49 UTC | Fix for panic in signature verification if a peer sends a nil public key. | 02 October 2019, 06:00:35 UTC |
797a3f6 | Marko | 01 October 2019, 06:31:51 UTC | Add Dogsled to linting (#4025) * add dogsled * add back comments | 01 October 2019, 06:31:51 UTC |
05075ea | Phil Salant | 01 October 2019, 00:12:51 UTC | linters: modify code to pass maligned and interfacer (#3959) * Fix maligned structs * Fix interfacer errors * Revert accidental go.mod and go.sum changes * Revert P2PConfig struct maligned reorder * Revert PeerRoundState struct maligned reordering * Revert RoundState struct maligned reordering * Reorder WSClient struct * Revert accidental type change * Clean up type change * Clean up type changes * Revert to types.ABCIApplicationServer in GRPCServer struct * Revert maligned changes to BaseConfig struct * Fix tests in io_test.go * Fix client_test package tests * Fix reactor tests in consensus package * Fix new interfacer errors | 01 October 2019, 00:12:51 UTC |
68f8fba | Marko | 30 September 2019, 20:46:55 UTC | .golangci: disable new linters (#4024) * Add Version to golangci - added version to golangci because of recent update Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * remove unused for 1.17 * disable new linters | 30 September 2019, 20:46:55 UTC |
ac099aa | Erik Grinaker | 30 September 2019, 05:30:30 UTC | Improved tm-monitor formatting (#4023) * tm-monitor: tweaked formatting of start time and avg tx throughput. * tm-monitor: update health when validator number is updated. * Updated CHANGELOG_PENDING * Added PR number to CHANGELOG_PENDING. Improves `tm-monitor` formatting of start time (RFC1123 without unnecessary precision) and avg tx throughput (three decimal places). The old tx throughput display was confusing during local testing where the tx rate is low and displayed as 0. Also updates the monitor health whenever the validator number changes. It otherwise starts with moderate health and fails to update this once it discovers the validators, leading to incorrect health reporting and invalid uptime statistics. Let me know if you would like me to submit this as a separate PR. ### Before: ``` 2019-09-29 20:40:00.992834 +0200 CEST m=+0.024057059 up -92030989600.42% Height: 2518 Avg block time: 1275.496 ms Avg tx throughput: 0 per sec Avg block latency: 2.464 ms Active nodes: 4/4 (health: moderate) Validators: 4 NAME HEIGHT BLOCK LATENCY ONLINE VALIDATOR localhost:26657 2518 0.935 ms true true localhost:26660 2518 0.710 ms true true localhost:26662 2518 0.708 ms true true localhost:26664 2518 0.717 ms true true ``` ### After: ``` Sun, 29 Sep 2019 20:21:59 +0200 up 100.00% Height: 2480 Avg block time: 1361.445 ms Avg tx throughput: 0.735 per sec Avg block latency: 4.232 ms Active nodes: 4/4 (health: full) Validators: 4 NAME HEIGHT BLOCK LATENCY ONLINE VALIDATOR localhost:26657 2480 1.174 ms true true localhost:26660 2480 1.037 ms true true localhost:26662 2480 0.981 ms true true localhost:26664 2480 0.995 ms true true ``` | 30 September 2019, 05:30:30 UTC |
cb1a0a7 | Marko | 27 September 2019, 22:16:19 UTC | docs: remove traces of develop branch (#4022) * Develop -> Master - Some places still had develop instead of master. closes #4107 Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * add one more | 27 September 2019, 22:16:19 UTC |
b065b8a | Ethan Buchman | 27 September 2019, 06:42:22 UTC | ADR 045 - ABCI Evidence (#4010) * ADR 045: ABCI Evidnce Handling * add link to abci evidence defn * remove debug line | 27 September 2019, 06:42:22 UTC |
a81aa14 | dependabot-preview[bot] | 27 September 2019, 00:58:30 UTC | deps: bump google.golang.org/grpc from 1.23.1 to 1.24.0 (#4021) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.23.1 to 1.24.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.23.1...v1.24.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 27 September 2019, 00:58:30 UTC |
134fe28 | Anton Kaliaev | 24 September 2019, 17:07:34 UTC | remove benchmarks folder (#3999) Afaik, nobody is using it. I've never used it myself. 1) atomic, os.Write, map, codec benchmarks all seem temporary and to be of no use in the future. 2) syncing benchmark may be useful, but we're trying to move away from Bash. Also, the blocks are empty there. | 24 September 2019, 17:07:34 UTC |
51dc810 | Ethan Buchman | 21 September 2019, 15:12:17 UTC | Merge pull request #4009 from tendermint/release/v0.32.4 Release/v0.32.4 | 21 September 2019, 15:12:17 UTC |
0d13736 | Marko | 19 September 2019, 16:24:17 UTC | address pr comments in #4002 (#4004) | 19 September 2019, 16:24:17 UTC |
bf989eb | Marko | 19 September 2019, 13:31:28 UTC | fix linting (#4000) | 19 September 2019, 13:31:28 UTC |
b3b30a5 | Marko Baricevic | 19 September 2019, 12:11:06 UTC | Merge branch 'master' into rc1-v0.32.4 | 19 September 2019, 12:11:06 UTC |
8fbc625 | dependabot-preview[bot] | 19 September 2019, 12:09:42 UTC | build(deps): bump github.com/tendermint/tm-db from 0.1.1 to 0.2.0 (#4001) Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db) from 0.1.1 to 0.2.0. - [Release notes](https://github.com/tendermint/tm-db/releases) - [Changelog](https://github.com/tendermint/tm-db/blob/master/CHANGELOG.md) - [Commits](https://github.com/tendermint/tm-db/compare/v0.1.1...v0.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 19 September 2019, 12:09:42 UTC |
049f158 | Marko Baricevic | 19 September 2019, 12:08:49 UTC | revert abci change | 19 September 2019, 12:08:49 UTC |
a5a19ad | Marko Baricevic | 19 September 2019, 09:51:28 UTC | bump versions | 19 September 2019, 09:51:51 UTC |
fce61cc | Marko Baricevic | 19 September 2019, 09:03:39 UTC | pr suggestions | 19 September 2019, 09:03:39 UTC |
0116c81 | Marko Baricevic | 19 September 2019, 08:53:15 UTC | RC1 - 0.32.4 - Release candidate for v0.32.4 Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> | 19 September 2019, 08:53:15 UTC |
4dfbaeb | Anton Kaliaev | 19 September 2019, 08:41:57 UTC | regenerate protobuf files with newer gogo version (#3998) protoc 3.7.0 gogo v1.3.0 | 19 September 2019, 08:41:57 UTC |
abab490 | Sean Braithwaite | 18 September 2019, 20:06:56 UTC | Merge pull request #3878 from tendermint/brapse/blockchain-v2-riri-routine [blockchain] v2 Routines | 18 September 2019, 20:06:56 UTC |
fc77f8f | Sean Braithwaite | 18 September 2019, 20:00:07 UTC | Merge branch 'brapse/blockchain-v2-riri-routine' of https://github.com/tendermint/tendermint into brapse/blockchain-v2-riri-routine | 18 September 2019, 20:00:07 UTC |
2ae7a30 | Sean Braithwaite | 18 September 2019, 19:59:51 UTC | merge artifact go build file | 18 September 2019, 19:59:51 UTC |
211bd64 | Sean Braithwaite | 18 September 2019, 19:46:29 UTC | Merge branch 'master' into brapse/blockchain-v2-riri-routine | 18 September 2019, 19:46:29 UTC |
0cbf32d | Sean Braithwaite | 18 September 2019, 19:22:24 UTC | merge fix | 18 September 2019, 19:22:24 UTC |
2c7f42f | Gustavo Chaín | 18 September 2019, 12:10:00 UTC | fix Header misalignment in StringIndent (#3996) | 18 September 2019, 12:10:00 UTC |
1b54369 | Marko | 18 September 2019, 09:32:50 UTC | custom marshallers for proto types, which EmitDefaults (#3889) * Remove omitempty from *pb.go - remove omitempty from *pb.go files - added command to makefile for everytime `make protoc_all` is run - open question: - Do we want to further remove omitempty from other places - https://github.com/tendermint/tendermint/blob/master/rpc/lib/types/types.go#L151 - and other places ref #3882 Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * bring back omitempty to *pb.go * Update types/tx.go * custom marshlers * undo benchmark `omitepmty` * golangci lint fix * cleanup comments * changelog_pending entry | 18 September 2019, 09:32:50 UTC |
98b91ce | Marko | 18 September 2019, 09:04:40 UTC | tm-bench: add deprecation warning (#3992) - Added a deprecation warining in for deprecation of tm-bench in favor of tm-load-test - With the merging of this pr we can close tm-bench related issues. Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> | 18 September 2019, 09:04:40 UTC |
9d4a480 | Marko | 18 September 2019, 08:45:03 UTC | makefile: minor cleanup (#3994) - goimports is not used as a tool anymore - correct me if wrong - rename devtools folder to merely tools.mk - remove slate_header.txt Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> | 18 September 2019, 08:45:03 UTC |
ffb0667 | Sean Braithwaite | 17 September 2019, 21:47:20 UTC | Merge branch 'master' into brapse/blockchain-v2-riri-routine | 17 September 2019, 21:47:20 UTC |
d3d034e | Sean Braithwaite | 17 September 2019, 19:18:15 UTC | tidying | 17 September 2019, 19:18:15 UTC |
45ddd67 | Marko | 16 September 2019, 09:26:13 UTC | Add MempoolClient to Client Interface (#3987) * Add MempoolClient to Client Interface closes #3984 - add mempoolclient interface to client interface Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * Update CHANGELOG_PENDING.md * add golang-ci version | 16 September 2019, 09:26:13 UTC |
522a849 | Marko | 16 September 2019, 08:46:10 UTC | get_tools = tools (#3988) - in the makefile update `get_tools` was changed to just `tools` Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> | 16 September 2019, 08:46:10 UTC |
99b7a33 | Sean Braithwaite | 14 September 2019, 17:01:19 UTC | align buffer sizes | 14 September 2019, 17:01:19 UTC |
822942a | Sean Braithwaite | 14 September 2019, 16:49:10 UTC | better debugging logging | 14 September 2019, 16:49:10 UTC |
9bd2c03 | Sean Braithwaite | 13 September 2019, 22:54:25 UTC | rename trySend to end | 13 September 2019, 22:54:25 UTC |
fbede85 | Sean Braithwaite | 13 September 2019, 22:36:02 UTC | changes based on feedback | 13 September 2019, 22:36:02 UTC |
21d46de | Marko | 13 September 2019, 16:52:35 UTC | Update Makefile (#3949) * Update makefile - these two files were taken from the sdk with adjustments for usage in TM Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * .phony * remove slate * more tools * circleci update 1/2 * fixed typo * fixed bash error * '<<' must be escaped in 2.1 * fixed invalid config * removed golangci-lint from tools. runs as github app now * one more issue in Circle config * some more work on the Circle config * minor changes * fiddling with restore cache config * fiddling with restore cache config * added commands in circle config. makefile changes * bash shenannigans * bash shenannigans * fighting the config demons * fighting the config demons, v2 * fighting the config demons, v3 * updating p2p dockerfile * updating p2p dockerfile * updating p2p test * updating p2p test * testing circle config * testing circle config * remove dontcover command * its the weekend, custom docker image | 13 September 2019, 16:52:35 UTC |
e7ee314 | Sean Braithwaite | 13 September 2019, 15:33:38 UTC | Subsume the demuxer into the reactor + Simplify the design by demuxing events directly in the reactor | 13 September 2019, 15:33:38 UTC |
7e0b64e | Tess Rinearson | 12 September 2019, 21:59:41 UTC | types: add test for block commits with votes for the wrong blockID (#3936) * types: add test for block commits with votes for the wrong blockID * remove * respond to feedback * verify the commits as well * testing table * Update types/block_test.go Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com> * Update types/block_test.go Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com> * gofmt * test panic case | 12 September 2019, 21:59:41 UTC |
c62b7fb | Sean Braithwaite | 12 September 2019, 16:50:25 UTC | feedback tweaks | 12 September 2019, 16:50:25 UTC |
9f80c8e | dependabot-preview[bot] | 12 September 2019, 16:08:50 UTC | deps: bump google.golang.org/grpc from 1.23.0 to 1.23.1 (#3982) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.23.0 to 1.23.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.23.0...v1.23.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 12 September 2019, 16:08:50 UTC |
5474528 | Sean Braithwaite | 12 September 2019, 16:06:26 UTC | Switch to a priority queue: * Routines will now use a priority queue instead of channels to iterate over events | 12 September 2019, 16:06:26 UTC |
fc1c37c | Ethan Buchman | 11 September 2019, 14:10:07 UTC | Update ADR-025 and mark it as Accepted (#3958) * update adr-025, mark accepted * minor update * Update docs/architecture/adr-025-commit.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> | 11 September 2019, 14:10:07 UTC |
9c82780 | Thane Thomson | 11 September 2019, 09:29:28 UTC | Add cleveldb build for Amazon Linux (#3976) * Add cleveldb build for Amazon Linux In attempting to build Tendermint binaries with cleveldb support that we can use for load testing (see https://github.com/interchainio/got), it became apparent that we need a bit of a simpler build process for this kind of executable. Since we're basing our load testing infrastructure on Amazon Linux, it makes sense to support such a build process for Amazon Linux in a platform-independent way. This PR allows one to simply build the Amazon Linux-compatible binary using Docker on one's local machine. It first builds an Amazon Linux-based build image with Go v1.12.9, and then it uses that image to build the cleveldb version of Tendermint. This should, in theory, be compatible with CentOS too, but that's yet to be tested. * Add comment describing the new Makefile target * Add missing PHONY entry for new Makefile target * Expand on Makefile comment | 11 September 2019, 09:29:27 UTC |
d1d517a | Phil Salant | 11 September 2019, 05:15:18 UTC | linters: enable scopelint (#3963) * Pin range scope vars * Don't disable scopelint This PR repairs linter errors seen when running the following commands: golangci-lint run --no-config --disable-all=true --enable=scopelint Contributes to #3262 | 11 September 2019, 05:15:18 UTC |
961e1d3 | Shivani Joshi | 10 September 2019, 19:19:33 UTC | docs/guides: specify a fix for badger err on Windows (#3974) * Added badger error for Windows * Update go-built-in.md * Update docs/guides/go-built-in.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * Update docs/guides/go.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> When restarting the app, it throws an error saying that it requires truncation of badger value log because it is corrupted. This seems to be an issue with badger DB and it is reported here. It solves the problem when you set the truncate value to true, but this obviously results in loss of data. I am not sure if this is a concern or not. However, it'd great if this could be documented for Windows users! Fixes #3954 | 10 September 2019, 19:19:33 UTC |
777ff27 | Anton Kaliaev | 10 September 2019, 17:58:17 UTC | enable unconvert, goconst and nakedret linters (#3973) This should've been a part of https://github.com/tendermint/tendermint/pull/3960, but I forgot about it while reviewing. A good programmer is someone who always looks both ways before crossing a one-way street. - Doug Linder | 10 September 2019, 17:58:17 UTC |
2edd89b | Jon | 10 September 2019, 12:51:19 UTC | mempool: fix memory loading error on 32-bit machines (#3969) * Correct memory alignment for 32-bit machine. Switching the `txsBytes` and `rechecking` fields of `CListMempool` to ensure the correct memory alignment for `atomic.LoadInt64` on 32-bit machine. * Update CHANGELOG_PENDING.md for #3968 Fixed #3968 `mempool` Memory Loading Error on 32-bit Ubuntu 16.04 Machine. * Update CHANGELOG_PENDING.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> | 10 September 2019, 12:51:19 UTC |
c4294bd | Anton Kaliaev | 10 September 2019, 12:38:37 UTC | cs: check for SkipTimeoutCommit or wait timeout in handleTxsAvailable (#3928) * cs: check for SkipTimeoutCommit or wait timeout in handleTxsAvailable Previously, if create_empty_blocks was set to false, TM sometimes could create 2 consecutive blocks without actually waiting for timeoutCommit (1 sec. by default). ``` I[2019-08-29|07:32:43.874] Executed block module=state height=47 validTxs=10 invalidTxs=0 I[2019-08-29|07:32:43.876] Committed state module=state height=47 txs=10 appHash=F88C010000000000 I[2019-08-29|07:32:44.885] Executed block module=state height=48 validTxs=2 invalidTxs=0 I[2019-08-29|07:32:44.887] Committed state module=state height=48 txs=2 appHash=FC8C010000000000 I[2019-08-29|07:32:44.908] Executed block module=state height=49 validTxs=8 invalidTxs=0 I[2019-08-29|07:32:44.909] Committed state module=state height=49 txs=8 appHash=8C8D010000000000 I[2019-08-29|07:32:45.886] Executed block module=state height=50 validTxs=2 invalidTxs=0 I[2019-08-29|07:32:45.895] Committed state module=state height=50 txs=2 appHash=908D010000000000 I[2019-08-29|07:32:45.908] Executed block module=state height=51 validTxs=8 invalidTxs=0 I[2019-08-29|07:32:45.909] Committed state module=state height=51 txs=8 appHash=A08D010000000000 ``` This commit fixes that by adding a check to handleTxsAvailable. Fixes #3908 * update changelog * schedule timeoutCommit if StartTime is in the future or SkipTimeoutCommit=true && we DON'T have all the votes * fix TestReactorCreatesBlockWhenEmptyBlocksFalse by checking if we have LastCommit or not * address Ethan's comments | 10 September 2019, 12:38:37 UTC |
04d13d9 | Phil Salant | 10 September 2019, 07:31:44 UTC | fix linter errors thrown by `unconvert`, `goconst`, and `nakedret` (#3960) * Remove unnecessary type conversions * Consolidate repeated strings into consts * Clothe return statements * Update blockchain/v1/reactor_fsm_test.go Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> This PR repairs linter errors seen when running the following commands: golangci-lint run --no-config --disable-all=true --enable=unconvert golangci-lint run --no-config --disable-all=true --enable=goconst golangci-lint run --no-config --disable-all=true --enable=nakedret Contributes to #3262 | 10 September 2019, 07:31:44 UTC |
7f0c55f | Mircea Colonescu | 10 September 2019, 06:56:16 UTC | ran go mod tidy (#3967) | 10 September 2019, 06:56:16 UTC |
22000c6 | Michael Booth | 06 September 2019, 17:45:49 UTC | Zm fork accountability (#3840) * Add fork scenarios * Add more details about varios attack cases * added more structure to the attack scenarios * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/fork-accountability.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * consensus properties explained * added question on conflicting proposals * misbehavior * misbehave * more misbehavior * table discussion * Add few clarifications | 06 September 2019, 17:45:49 UTC |
aa721b9 | gracenoah | 05 September 2019, 13:13:22 UTC | rpc: allow using a custom http client in rpc client (#3779) fixes #2010 * allow using a custom http client in rpc client * add tests and fix bug * fix confusion between remote and address * parse remote inside NewJSONRPCClientWithHTTPClient * cleanups * add warnings * add changelog entry * Update CHANGELOG_PENDING.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> | 05 September 2019, 13:13:22 UTC |
7228511 | dependabot-preview[bot] | 05 September 2019, 08:34:28 UTC | deps: bump github.com/go-kit/kit from 0.6.0 to 0.9.0 (#3952) Bumps [github.com/go-kit/kit](https://github.com/go-kit/kit) from 0.6.0 to 0.9.0. - [Release notes](https://github.com/go-kit/kit/releases) - [Commits](https://github.com/go-kit/kit/compare/v0.6.0...v0.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 05 September 2019, 08:34:28 UTC |
c8ae619 | dependabot-preview[bot] | 05 September 2019, 08:25:17 UTC | deps: bump github.com/stretchr/testify from 1.3.0 to 1.4.0 (#3951) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.3.0...v1.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 05 September 2019, 08:25:17 UTC |
4ba49a4 | Marko | 05 September 2019, 07:56:32 UTC | deps: bump viper to 1.4.0 and logfmt to 0.4.0 (#3950) - depndabot couldnt update a few deps as they needed to beupdated together. - PRs: #3946, 3938 can be closed with this PR Signedoff-by: Marko Baricevic <marbar3778@yahoo.com> | 05 September 2019, 07:56:32 UTC |
af66d8c | dependabot-preview[bot] | 05 September 2019, 06:42:19 UTC | deps: bump github.com/gorilla/websocket from 1.2.0 to 1.4.1 (#3945) Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.2.0 to 1.4.1. - [Release notes](https://github.com/gorilla/websocket/releases) - [Commits](https://github.com/gorilla/websocket/compare/v1.2.0...v1.4.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 05 September 2019, 06:42:19 UTC |
e1e4ef4 | dependabot-preview[bot] | 05 September 2019, 06:32:00 UTC | deps: bump google.golang.org/grpc from 1.22.0 to 1.23.0 (#3942) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.22.0 to 1.23.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.22.0...v1.23.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 05 September 2019, 06:32:00 UTC |
39ff9b8 | dependabot-preview[bot] | 05 September 2019, 06:13:02 UTC | deps: bump github.com/libp2p/go-buffer-pool from 0.0.1 to 0.0.2 (#3948) Bumps [github.com/libp2p/go-buffer-pool](https://github.com/libp2p/go-buffer-pool) from 0.0.1 to 0.0.2. - [Release notes](https://github.com/libp2p/go-buffer-pool/releases) - [Commits](https://github.com/libp2p/go-buffer-pool/compare/v0.0.1...v0.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 05 September 2019, 06:13:02 UTC |
a12eeef | dependabot-preview[bot] | 04 September 2019, 17:06:48 UTC | deps: bump github.com/fortytw2/leaktest from 1.2.0 to 1.3.0 (#3943) Bumps [github.com/fortytw2/leaktest](https://github.com/fortytw2/leaktest) from 1.2.0 to 1.3.0. - [Release notes](https://github.com/fortytw2/leaktest/releases) - [Commits](https://github.com/fortytw2/leaktest/compare/v1.2.0...v1.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 04 September 2019, 17:06:48 UTC |
5a1e326 | dependabot-preview[bot] | 04 September 2019, 16:33:29 UTC | deps: bump github.com/rs/cors from 1.6.0 to 1.7.0 (#3939) Bumps [github.com/rs/cors](https://github.com/rs/cors) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/rs/cors/releases) - [Commits](https://github.com/rs/cors/compare/v1.6.0...v1.7.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 04 September 2019, 16:33:29 UTC |
482cb62 | dependabot-preview[bot] | 04 September 2019, 16:12:26 UTC | deps: bump github.com/magiconair/properties from 1.8.0 to 1.8.1 (#3937) Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/magiconair/properties/releases) - [Changelog](https://github.com/magiconair/properties/blob/master/CHANGELOG.md) - [Commits](https://github.com/magiconair/properties/compare/v1.8.0...v1.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> | 04 September 2019, 16:12:26 UTC |
fe2dddd | Anton Kaliaev | 04 September 2019, 15:58:43 UTC | deps: update gogo/protobuf version from v1.2.1 to v1.3.0 (#3947) * update gogo/protobuf version from v1.2.1 to v1.3.0 Also errcheck from v1.1.0 to v1.2.0 See full diff in - https://github.com/gogo/protobuf/compare/v1.2.1...v1.3.0 - https://github.com/kisielk/errcheck/compare/v1.1.0...v1.2.0 Changelog: Tested versions: go 1.12.9 protoc 3.7.1 Improvements: plugin/stringer - Handle repeated and/or nullable types a bit better now. plugin/size - Remove the loop in sovXXX by using bit twiddling. Thanks: https://github.com/apelisse plugin/marshalto - Implemented a reverse marshal strategy which allows for faster marshalling. This now avoids a recursive (and repeated) call to Size(). Thanks: https://github.com/apelisse plugin/compare - Added support for for oneof types. Bug fixes: protoc-gen-gogo/generator - Fix assignment to entry in nil map. Thanks: https://github.com/tgulacsi protoc-gen-gogo/generator - Allows plugins to call RecordTypeUse without panicking. Thanks: https://github.com/fedenusy proto/extensions - Fixed set extension regression. We did not clear the extensions before setting. io/uint32 - fix uint32reader bug that causes ReadMsg to recreate buffer when lengths are the same. Thanks: https://github.com/SebiSujar proto/table_merge: Fix merge of non-nullable slices. Thanks: https://github.com/euroelessar Upstream commits: merged in golang/protobuf commit 318d17de72747ed1c16502681db4b2bb709a92d0 - Add UnimplementedServer for server interface merged in golang/protobuf commit b85cd75de734650db18a99a943fe351d41387800 - protoc-gen-go/grpc: inline errUnimplemented function merged in golang/protobuf commit d3c38a4eb4970272b87a425ae00ccc4548e2f9bb - protoc-gen-go/grpc: use status and code packages only if needed merged in golang/protobuf commit e91709a02e0e8ff8b86b7aa913fdc9ae9498e825 - fix indentation in jsonpb with Any messages merged in golang/protobuf commit 8d0c54c1246661d9a51ca0ba455d22116d485eaa - protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs Misc: extensions.md - Markdown update. Thanks: https://github.com/TennyZhuang Readme.md - Added user. go/protoc update - Updated to go1.12.x and protoc 3.7.1 Makefile update - fix go vet shadow tool reference test/mixbench - Update mixbench tool. Expose runnable benchmarks via flags. * update certstrap * update golangci-lint from v1.13.2 to v1.17.1 * update gox as well * test * comment out golangci temporary * comment out go-deadlock deps | 04 September 2019, 15:58:43 UTC |
acb874e | Anton Kaliaev | 03 September 2019, 07:59:13 UTC | docs: move dev sessions into docs (#3934) * docs: move dev sessions into docs and transform the list into a table * fix formatting | 03 September 2019, 07:59:13 UTC |
1802b60 | Michelle-L | 03 September 2019, 07:38:32 UTC | docs: add dev sessions from YouTube (#3929) * Create development_sessions * Rename development_sessions to videos_development_sessions * Update videos_development_sessions * Rename videos_development_sessions to videos_development_sessions_md * Delete videos_development_sessions_md * Add files via upload | 03 September 2019, 07:38:32 UTC |
72785a2 | Marko | 02 September 2019, 18:23:02 UTC | docs: switch the data in `/unconfirmed_txs` and `num_unconfirmed_txs` (#3933) - switch the data that was represented in `/unconfirmed_txs` and `num_unconfirmed_txs` Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> | 02 September 2019, 18:23:02 UTC |
5346d8b | Anton Kaliaev | 28 August 2019, 08:00:55 UTC | v0.32.3 changelog and version bump (#3924) | 28 August 2019, 08:00:55 UTC |
f46e43e | josef-widder | 27 August 2019, 13:18:01 UTC | Updated lite client spec (#3841) * updates lite cline spec based on Zarko's and my previous specs * updates spec incorporating comments from Aug 8 meeting * added check of validators * Update docs/spec/consensus/light-client.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/light-client.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/light-client.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/light-client.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * fix typos & improve formatting Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * Update docs/spec/consensus/light-client.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * incorporated some of Anca's and Anton's comments * addressed all current comments * highlight assumptions/verification conditions * added remark on checks * Update docs/spec/consensus/light-client.md Co-Authored-By: Ethan Buchman <ethan@coinculture.info> * Update docs/spec/consensus/light-client.md Co-Authored-By: Ethan Buchman <ethan@coinculture.info> * Update docs/spec/consensus/light-client.md Co-Authored-By: Ethan Buchman <ethan@coinculture.info> * fixes * addressed Ethan's comments from Aug 18 * trustlevel * description of 3 docs fixed * added comment on justification asked for by Anca * bla * removed trustlevel for adjacent headers. Added bisection order. * added comment in bisection * fixed comment in checksupport * added comment on bisection timeout | 27 August 2019, 13:18:01 UTC |
e3a97b0 | Marko | 26 August 2019, 12:27:33 UTC | Test nodejs image (#3921) * Test nodejs image Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * minor changes * v in version * version in swagger.yaml | 26 August 2019, 12:27:33 UTC |
c475f25 | Ethan Buchman | 23 August 2019, 08:11:26 UTC | docs: fix some typos and changelog entries (#3915) Fixes some typos in the docs. Fixes the classification of some changelog items re Features vs. Improvements | 23 August 2019, 08:11:26 UTC |
7b2d018 | Gustavo Chaín | 22 August 2019, 09:23:07 UTC | rpc: protect subscription access from race condition (#3910) When using the RPC client in my test suite (with -race enabled), I do a lot of Subscribe/Unsubscribe operations, at some point (randomly) the race detector returns the following warning: WARNING: DATA RACE Read at 0x00c0009dbe30 by goroutine 31: runtime.mapiterinit() /usr/local/go/src/runtime/map.go:804 +0x0 github.com/tendermint/tendermint/rpc/client.(*WSEvents).redoSubscriptionsAfter() /go/pkg/mod/github.com/tendermint/tendermint@v0.31.5/rpc/client/httpclient.go:364 +0xc0 github.com/tendermint/tendermint/rpc/client.(*WSEvents).eventListener() /go/pkg/mod/github.com/tendermint/tendermint@v0.31.5/rpc/client/httpclient.go:393 +0x3c6 Turns out that the redoSubscriptionAfter is not protecting the access to subscriptions. The following change protects the read access to the subscription map behind the mutex | 22 August 2019, 09:23:07 UTC |
9d41770 | Sean Braithwaite | 21 August 2019, 19:37:53 UTC | Close rdy channel + close `rdy` channel to ensure that calls to `<-ready()` will always return if the routine is ready | 21 August 2019, 19:37:53 UTC |
eec6d33 | Marko | 16 August 2019, 13:45:19 UTC | remove mentions of go-wire (#3904) * Cleanup go-wire mentions * remove Roadmap.md * build_race in makefile was failing ref #2790 | 16 August 2019, 13:45:19 UTC |
ead3eef | Karoly Albert Szabo | 16 August 2019, 09:29:02 UTC | [RPC] Static swagger (#3880) * manually swagging Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * three definitions with polymorphism Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * added blockchain and block Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * low quality generation, commit, block_response and validators Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * genesis and consensus states endpoints Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * fix indentation Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * consensus parameters Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * fix indentation Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * add height to consensus parameters endpoint Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * unconfirmed_txs and num_unconfirmed_txs Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * add missing query parameter Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * add ABCI queries Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * added index document for swagger documentation Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * add missing routes Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * contract tests added on CCI Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * contract tests job should be in the test suite Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * simplify requirements to test Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * typo Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * build is a prerequisite to start localnet Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * reduce nodejs size, move goodman to get_tools, add docs, fix comments Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * Update scripts/get_tools.sh That's cleaner, thanks! Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * xz not supported by cci image, let's keep it simple Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * REMOVE-indirect debug of CCI paths Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * dirty experiment, volume is empty but binary has been produced Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * dirty experiment, volume is empty but binary has been produced Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * dirty experiment going on Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * locally works, CCI have difficulties with second layaer containers volumes Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * restore experiment, use machine instead of docker for contract tests Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * simplify a bit Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * rollback on machine golang Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * Document the changes Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * Changelog Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * comments Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> | 16 August 2019, 09:29:01 UTC |
5670a7c | Alessio Treglia | 16 August 2019, 09:01:47 UTC | gitian: update reproducible builds to build with Go 1.12.8 (#3902) | 16 August 2019, 09:01:47 UTC |
7b101ab | Zaki Manian | 15 August 2019, 09:50:51 UTC | [ADR -44] Lite Client with Weak Subjectivity (#3795) * Initiat commit of lite client with with weak subjectivity ADR * Apply suggestions from code review Co-Authored-By: Marko <marbar3778@yahoo.com> * Update docs/architecture/adr-044-lite-client-with-weak-subjectivity.md Co-Authored-By: Christopher Goes <cwgoes@pluranimity.org> * Apply suggestions from code review Co-Authored-By: Christopher Goes <cwgoes@pluranimity.org> * Apply suggestions from code review Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com> * fix typo and format the code block * address cwgoes comments * add Positive/Negative points * change status to accepted * Apply suggestions from code review Co-Authored-By: Christopher Goes <cwgoes@pluranimity.org> * link the spec and explain headers caching | 15 August 2019, 09:50:51 UTC |
f81c319 | Sean Braithwaite | 13 August 2019, 17:29:28 UTC | Add some docs | 13 August 2019, 17:29:28 UTC |
78d4c3b | Sean Braithwaite | 13 August 2019, 15:57:17 UTC | fixes based on feedback | 13 August 2019, 15:57:17 UTC |
7fe02a0 | Anton Kaliaev | 13 August 2019, 08:32:40 UTC | store: register block amino, not just crypto (#3894) * store: register block amino, not just crypto Fixes #3893 * update changelog | 13 August 2019, 08:32:40 UTC |
2e39418 | Ivan Kushmantsev | 12 August 2019, 10:39:11 UTC | docs: "Writing a Tendermint Core application in Java (gRPC)" guide (#3887) * add abci grpc java guide * fix grammar and spelling | 12 August 2019, 10:39:11 UTC |
c962567 | Phil Salant | 11 August 2019, 18:27:03 UTC | ValidateBasic tests (#3879) * Add test for bcBlockRequestMessage ValidateBasic method * Add test for bcNoBlockResponseMessage ValidateBasic method * Add test for bcStatusRequestMessage ValidateBasic method * Add test for bcStatusResponseMessage ValidateBasic method * Add blockchain v1 reactor ValidateBasic tests * Add test for NewRoundStepMessage ValidateBasic method * Add test for NewValidBlockMessage ValidateBasic method * Test BlockParts Size * Import cmn package * Add test for ProposalPOLMessage ValidateBasic method * Add test for BlockPartMessage ValidateBasic method * Add test for HasVoteMessage ValidateBasic method * Add test for VoteSetMaj23Message ValidateBasic method * Add test for VoteSetBitsMessage ValidateBasic method * Fix linter errors * Improve readability * Add test for BaseConfig ValidateBasic method * Add test for RPCConfig ValidateBasic method * Add test for P2PConfig ValidateBasic method * Add test for MempoolConfig ValidateBasic method * Add test for FastSyncConfig ValidateBasic method * Add test for ConsensusConfig ValidateBasic method * Add test for InstrumentationConfig ValidateBasic method * Add test for BlockID ValidateBasic method * Add test for SignedHeader ValidateBasic method * Add test for MockGoodEvidence and MockBadEvidence ValidateBasic methods * Remove debug logging Co-Authored-By: Marko <marbar3778@yahoo.com> * Update MempoolConfig field * Test a single struct field at a time, for maintainability Fixes #2740 | 11 August 2019, 18:27:03 UTC |
8a282a5 | Marko | 11 August 2019, 17:03:40 UTC | replace errors.go with github.com/pkg/errors (2/2) (#3890) * init of (2/2) common errors * Remove instances of cmn.Error (2/2) - Replace usage of cmnError and errorWrap - ref #3862 Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * comment wording * simplify IsErrXXX functions * log panic along with stopping the MConnection | 11 August 2019, 17:03:40 UTC |
2c8cbfc | Sean Braithwaite | 08 August 2019, 15:42:46 UTC | linter fixes | 08 August 2019, 15:42:46 UTC |