Tendermint P2P Reactor Types
Yi Zhang
Posted on January 13, 2024
By looking at the struct Node in File "node/node.go", we can see there are 5 kinds of reactors. Here I give them a quick summary.
Reactor | Package | Purpose |
---|---|---|
pex.Reactor | /p2p/pex | for exchanging peer addresses |
bcReactor | /blockchain | for fast-syncing |
mempl.Reactor | /mempool | for gossipping transactions |
cs.Reactor | /consensus | for participating in the consensus |
statesync.Reactor | /statesync | for hosting and restoring state sync snapshots |
💖 💪 🙅 🚩
Yi Zhang
Posted on January 13, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024