Merged
Conversation
Contributor
tac0turtle
commented
Jul 15, 2019
- Referenced an issue explaining the need for the change
- Updated all relevant documentation in docs
- Updated all code comments where relevant
- Wrote tests
- Updated CHANGELOG_PENDING.md
* Update to contributing.md - Add in section for Draft PR, instead of WIP - Add make lint as part of the commit process. Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * mistake * minor word change
- libs/errors: commented out errors.go - libs/common: unused colors.go - libs/db: unused debugDB Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
As per #2127, this refactors the RequestCheckTx ProtoBuf struct to allow for a flag indicating whether a query is a recheck or not (and allows for possible future, more nuanced states). In order to pass this extended information through to the ABCI app, the proxy.AppConnMempool (and, for consistency, the proxy.AppConnConsensus) interface seems to need to be refactored along with abcicli.Client. And, as per this comment, I've made the following modification to the protobuf definition for the RequestCheckTx structure: enum CheckTxType { New = 0; Recheck = 1; } message RequestCheckTx { bytes tx = 1; CheckTxType type = 2; } * Refactor ABCI CheckTx to notify of recheck As per #2127, this refactors the `RequestCheckTx` ProtoBuf struct to allow for: 1. a flag indicating whether a query is a recheck or not (and allows for possible future, more nuanced states) 2. an `additional_data` bytes array to provide information for those more nuanced states. In order to pass this extended information through to the ABCI app, the `proxy.AppConnMempool` (and, for consistency, the `proxy.AppConnConsensus`) interface seems to need to be refactored. Commits: * Fix linting issue * Add CHANGELOG_PENDING entry * Remove extraneous explicit initialization * Update ABCI spec doc to include new CheckTx params * Rename method param for consistency * Rename CheckTxType enum values and remove additional_data param
* change invocation of NewNode across * custom reactor name are prefixed with CUSTOM_ * upgate changelog pending * improve comments * node: refactor NewNode to use functional options
* [adr] First draft on adr-042 * fix diagram urls * Update docs/architecture/adr-042-blockchain-riri-org.md Co-Authored-By: Marko <marbar3778@yahoo.com> * Update docs/architecture/adr-042-blockchain-riri-org.md Co-Authored-By: Marko <marbar3778@yahoo.com> * Update docs/architecture/adr-042-blockchain-riri-org.md Co-Authored-By: Marko <marbar3778@yahoo.com> * add go syntax highlight * more highlighting * consistency fixes * Add references * new adr number * Fixes based on feedback * aditional state info * Add details on getSchedule * replace spaces with tabs * fixes based on feedback * add clarity around r.msgs * clarify block processing * fix off by one error * additional details on ioRoutine * Update docs/architecture/adr-043-blockchain-riri-org.md Co-Authored-By: Anca Zamfir <ancazamfir@users.noreply.github.com>
* Quick link fixes throughout docs and repo - used markdown link tester to find broken links Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * minor change remove slash * pr comments * minor fix * remove docker.develop * remove master tag
* Add deterministic buildsystem * Update CircleCI config * Enable build on all branches for testing purposes * Revert "Enable build on all branches for testing purposes" This reverts commit bf5cf66. * Remove develop from branch filters * Remove dangling reference to develop * Upload binaries too * Build for stable branches too
* Remove file heap.go - cmn.Heap is not being used in cosmos-sdk, iavl nor tendermint repo. Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * changelog entry * Update CHANGELOG_PENDING.md closes #2432
* p2p: extract ID validation into a separate func - NewNetAddress panics if ID is invalid - NetAddress#Valid returns an error - remove ErrAddrBookInvalidAddrNoID Fixes #2722 * p2p: remove repetitive check in ReceiveAddrs * fix netaddress test
- The removed functions are not used in Iavl, Cosmos-sdk and tendermint repos - Code-hygenie `whoop whoop` Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
Comment from PR Co-Authored-By: Ethan Buchman <ethan@coinculture.info>
* Update ABCI docs to reflect latest changes on PR #3744 * Add note about new Type parameter for CheckTx
upgrade levelDB to latest master
- build docker needs go111module on - switch to golang:1.12 to have git available Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
* Fix rpc handle for tm-monitor Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * go imports file Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * go imports file Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com> * fix RPCUnmonitor too Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
* more minor cleanup of libs Remove unused `version.go`, `assert.go` and `libs/circle.yml` * Update types/vote_set_test.go Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * spelling change
* pr comments * abci changelog change
* pr comments * remove empty space
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.