Author | SHA1 | Message | Date |
---|---|---|---|
Erik Grinaker | 1b6df6783d | p2p: replace PeerID with NodeID | 4 years ago |
Aleksandr Bezobchuk |
a879eb444d
|
p2p: state sync reactor refactor (#5671) | 4 years ago |
Marko |
2ac5a559b4
|
libs: wrap mutexes for build flag with godeadlock (#5126)
## Description This PR wraps the stdlib sync.(RW)Mutex & godeadlock.(RW)Mutex. This enables using go-deadlock via a build flag instead of using sed to replace sync with godeadlock in all files Closes: #3242 |
4 years ago |
Marko |
678010c45e
|
fix linters & switch to official linter (#4808) | 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 |