Author | SHA1 | Message | Date |
---|---|---|---|
Marko |
b9af87c4ea
|
state: proto migration (#4951) | 5 years ago |
Marko |
4e6a844d6f
|
statesync: use Protobuf instead of Amino for p2p traffic (#4943)
## Description Closes: #XXX |
5 years ago |
Erik Grinaker |
81c2798df0
|
abci: fix protobuf lint issues
Fix some linter issues to conform with the Protobuf style guide. The state sync enum changes are ok to break since it's not released yet. Personally I find the uppercase kind of ugly, but that's what the guide says. Couldn't find a way to generate camel case in Go, short of specifying custom names for each and every enum variant. Another option would be to simply disable the enum case lint. |
5 years ago |
Erik Grinaker |
511ab6717c
|
add state sync reactor (#4705)
Fixes #828. Adds state sync, as outlined in [ADR-053](https://github.com/tendermint/tendermint/blob/master/docs/architecture/adr-053-state-sync-prototype.md). See related PRs in Cosmos SDK (https://github.com/cosmos/cosmos-sdk/pull/5803) and Gaia (https://github.com/cosmos/gaia/pull/327). This is split out of the previous PR #4645, and branched off of the ABCI interface in #4704. * Adds a new P2P reactor which exchanges snapshots with peers, and bootstraps an empty local node from remote snapshots when requested. * Adds a new configuration section `[statesync]` that enables state sync and configures the light client. Also enables `statesync:info` logging by default. * Integrates state sync into node startup. Does not support the v2 blockchain reactor, since it needs some reorganization to defer startup. |
5 years ago |