sort by:
Revision Author Date Message Commit Date
c2a9433 update changelog 02 October 2019, 06:00:36 UTC
b93a0cd Update CHANGELOG.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> 02 October 2019, 06:00:36 UTC
6a33953 Changelog update 02 October 2019, 06:00:36 UTC
a001699 update version.go 02 October 2019, 06:00:36 UTC
3e27b2e Fix for panic in signature verification if a peer sends a nil public key. 02 October 2019, 06:00:36 UTC
ff2308b Merge pull request #4002 from tendermint/release/v0.32.4 Release/v0.32.4 20 September 2019, 15:17:52 UTC
0d13736 address pr comments in #4002 (#4004) 19 September 2019, 16:24:17 UTC
bf989eb fix linting (#4000) 19 September 2019, 13:31:28 UTC
b3b30a5 Merge branch 'master' into rc1-v0.32.4 19 September 2019, 12:11:06 UTC
8fbc625 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 revert abci change 19 September 2019, 12:08:49 UTC
a5a19ad bump versions 19 September 2019, 09:51:51 UTC
fce61cc pr suggestions 19 September 2019, 09:03:39 UTC
0116c81 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 regenerate protobuf files with newer gogo version (#3998) protoc 3.7.0 gogo v1.3.0 19 September 2019, 08:41:57 UTC
abab490 Merge pull request #3878 from tendermint/brapse/blockchain-v2-riri-routine [blockchain] v2 Routines 18 September 2019, 20:06:56 UTC
fc77f8f 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 merge artifact go build file 18 September 2019, 19:59:51 UTC
211bd64 Merge branch 'master' into brapse/blockchain-v2-riri-routine 18 September 2019, 19:46:29 UTC
0cbf32d merge fix 18 September 2019, 19:22:24 UTC
2c7f42f fix Header misalignment in StringIndent (#3996) 18 September 2019, 12:10:00 UTC
1b54369 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 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 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 Merge branch 'master' into brapse/blockchain-v2-riri-routine 17 September 2019, 21:47:20 UTC
d3d034e tidying 17 September 2019, 19:18:15 UTC
45ddd67 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 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 align buffer sizes 14 September 2019, 17:01:19 UTC
822942a better debugging logging 14 September 2019, 16:49:10 UTC
9bd2c03 rename trySend to end 13 September 2019, 22:54:25 UTC
fbede85 changes based on feedback 13 September 2019, 22:36:02 UTC
21d46de 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 Subsume the demuxer into the reactor + Simplify the design by demuxing events directly in the reactor 13 September 2019, 15:33:38 UTC
7e0b64e 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 feedback tweaks 12 September 2019, 16:50:25 UTC
9f80c8e 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 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 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 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 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 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 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 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 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 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 ran go mod tidy (#3967) 10 September 2019, 06:56:16 UTC
22000c6 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
0ad70fb Merge pull request #3926 from tendermint/anton/v0.32.3 v0.32.3 28 August 2019, 13:02:58 UTC
86a581f Merge branch 'master' into v0.32 28 August 2019, 08:43:24 UTC
5346d8b v0.32.3 changelog and version bump (#3924) 28 August 2019, 08:00:55 UTC
f46e43e 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 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 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 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 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 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 [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 gitian: update reproducible builds to build with Go 1.12.8 (#3902) 16 August 2019, 09:01:47 UTC
7b101ab [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 Add some docs 13 August 2019, 17:29:28 UTC
78d4c3b fixes based on feedback 13 August 2019, 15:57:17 UTC
7fe02a0 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 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 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 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 linter fixes 08 August 2019, 15:42:46 UTC
acbfe67 set logger 08 August 2019, 14:56:39 UTC
aeac474 typo fix 08 August 2019, 14:54:25 UTC
e826ca3 demuxer cleanup 08 August 2019, 14:48:07 UTC
5b880fb cleanup events 08 August 2019, 13:53:02 UTC
c081b60 Solidify API: + use `trySend` the replicate peer sending + expose `next()` as a chan of events as output + expose `final()` as a chan of error, for the final error + add `ready()` as chan struct when routine is ready 08 August 2019, 13:12:11 UTC
8dc39b6 replace errors.go with github.com/pkg/errors (1/2) (#3888) * (1/2) of replace errors.go with github.com/pkg/errors ref #3862 - step one in removing instances of errors.go in favor of github.com/pkg/errors Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * gofmt * add in /store 08 August 2019, 10:31:13 UTC
e4913f5 Fix race condition in shutdown: + ensure that we stop accepting messages once `stop` has been called to avoid the case in which we attempt to write to a channel which has already been closed 06 August 2019, 16:00:14 UTC
0cf9f86 Modification based on feedback + `routine.send` returns false when routine is not running + this will prevent panics sending to channels which have been closed + Make output channels routine specific removing the risk of someone writting to a channel which was closed by another touine. + consistency changes between the routines and the demuxer 06 August 2019, 11:27:15 UTC
d70135e [ADR - 42] State-sync (#3769) * init adr 042: state sync * link to blockchain reactor * brapse proposal * formatting * response to feedback * Update docs/architecture/adr-042-state-sync.md Co-Authored-By: Aditya <adityasripal@gmail.com> * Update security models and more * clarify compression * typo * Update docs/architecture/adr-042-state-sync.md Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> 06 August 2019, 08:25:24 UTC
e179787 mempool: make `max_tx_bytes` configurable instead of `max_msg_bytes` (#3877) Fix #3868 (comment) Commits: * mempool: make `max_tx_bytes` configurable instead of `max_msg_bytes` * update CHANGELOG_PENDING * apply suggestions from code review 05 August 2019, 16:01:30 UTC
0cf8812 [blockchain] v2 riri Schedule composit data structure (#3848) * Add Schedule: + The schedule is a data structure used to determine the optimal schedule of requests to the optimal set of peers in order to perform fast-sync as fast and efficiently as possible. * Add some doc strings * fix golangci * Add Schedule: + The schedule is a data structure used to determine the optimal schedule of requests to the optimal set of peers in order to perform fast-sync as fast and efficiently as possible. * Add some doc strings * remove globals from tests 05 August 2019, 15:26:46 UTC
f7f034a privval: refactor Remote signers (#3370) This PR is related to #3107 and a continuation of #3351 It is important to emphasise that in the privval original design, client/server and listening/dialing roles are inverted and do not follow a conventional interaction. Given two hosts A and B: Host A is listener/client Host B is dialer/server (contains the secret key) When A requires a signature, it needs to wait for B to dial in before it can issue a request. A only accepts a single connection and any failure leads to dropping the connection and waiting for B to reconnect. The original rationale behind this design was based on security. Host B only allows outbound connections to a list of whitelisted hosts. It is not possible to reach B unless B dials in. There are no listening/open ports in B. This PR results in the following changes: Refactors ping/heartbeat to avoid previously existing race conditions. Separates transport (dialer/listener) from signing (client/server) concerns to simplify workflow. Unifies and abstracts away the differences between unix and tcp sockets. A single signer endpoint implementation unifies connection handling code (read/write/close/connection obj) The signer request handler (server side) is customizable to increase testability. Updates and extends unit tests A high level overview of the classes is as follows: Transport (endpoints): The following classes take care of establishing a connection SignerDialerEndpoint SignerListeningEndpoint SignerEndpoint groups common functionality (read/write/timeouts/etc.) Signing (client/server): The following classes take care of exchanging request/responses SignerClient SignerServer This PR also closes #3601 Commits: * refactoring - work in progress * reworking unit tests * Encapsulating and fixing unit tests * Improve tests * Clean up * Fix/improve unit tests * clean up tests * Improving service endpoint * fixing unit test * fix linter issues * avoid invalid cache values (improve later?) * complete implementation * wip * improved connection loop * Improve reconnections + fixing unit tests * addressing comments * small formatting changes * clean up * Update node/node.go Co-Authored-By: jleni <juan.leni@zondax.ch> * Update privval/signer_client.go Co-Authored-By: jleni <juan.leni@zondax.ch> * Update privval/signer_client_test.go Co-Authored-By: jleni <juan.leni@zondax.ch> * check during initialization * dropping connecting when writing fails * removing break * use t.log instead * unifying and using cmn.GetFreePort() * review fixes * reordering and unifying drop connection * closing instead of signalling * refactored service loop * removed superfluous brackets * GetPubKey can return errors * Revert "GetPubKey can return errors" This reverts commit 68c06f19b4650389d7e5ab1659b318889028202c. * adding entry to changelog * Update CHANGELOG_PENDING.md Co-Authored-By: jleni <juan.leni@zondax.ch> * Update privval/signer_client.go Co-Authored-By: jleni <juan.leni@zondax.ch> * Update privval/signer_dialer_endpoint.go Co-Authored-By: jleni <juan.leni@zondax.ch> * Update privval/signer_dialer_endpoint.go Co-Authored-By: jleni <juan.leni@zondax.ch> * Update privval/signer_dialer_endpoint.go Co-Authored-By: jleni <juan.leni@zondax.ch> * Update privval/signer_dialer_endpoint.go Co-Authored-By: jleni <juan.leni@zondax.ch> * Update privval/signer_listener_endpoint_test.go Co-Authored-By: jleni <juan.leni@zondax.ch> * updating node.go * review fixes * fixes linter * fixing unit test * small fixes in comments * addressing review comments * addressing review comments 2 * reverting suggestion * Update privval/signer_client_test.go Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * Update privval/signer_client_test.go Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * Update privval/signer_listener_endpoint_test.go Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * do not expose brokenSignerDialerEndpoint * clean up logging * unifying methods shorten test time signer also drops * reenabling pings * improving testability + unit test * fixing go fmt + unit test * remove unused code * Addressing review comments * simplifying connection workflow * fix linter/go import issue * using base service quit * updating comment * Simplifying design + adjusting names * fixing linter issues * refactoring test harness + fixes * Addressing review comments * cleaning up * adding additional error check 05 August 2019, 15:09:10 UTC
d1671d6 blockchain v2: routines + Include an implementaiton of the routines specified in ADR-43 along with a demuxer and some dummy reactor code 03 August 2019, 07:19:32 UTC
4da3de7 consensus: reduce "Error attempting to add vote" message severity (Er… (#3871) * consensus: reduce "Error attempting to add vote" message severity (Error -> Info) Fixes #3839 * add missing changelog entry 02 August 2019, 20:00:18 UTC
f5b116c config: move max_msg_bytes into mempool section (#3869) * config: move max_msg_bytes into mempool section It was incorrectly placed in fastsync section during https://github.com/tendermint/tendermint/commit/4d7cd8055b4083376b788239207f72f423e6ce07#diff-092cdc48047eeb4c0bca311a2e1b8ae6 merge. Fixes #3868 * add changelog entry 02 August 2019, 19:42:17 UTC
be06316 Merge pull request #3870 from tendermint/release/v0.32.2 Merge v0.32.2 release back to master 02 August 2019, 19:30:37 UTC
8ba8497 Merge branch 'master' into release/v0.32.2 02 August 2019, 15:52:21 UTC
f9cce28 gocritic (2/2) (#3864) Refs #3262 02 August 2019, 06:53:52 UTC
76f3db0 Merge PR #3860: Update log v0.32.2 * changelog updates * pr comments 01 August 2019, 17:28:32 UTC
back to top