hexresearch / hexresearch/hschain
Second round of P2P refactoring
Open
- Dominant language
- C
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
We need to modularize P2P further. PoW and PBFT share some parts network code but only some. We can identify following mostly independent subsystems:
1. PEX
2. Mempool gossip
3. Gossip of votes etc (PBTF only)
4. Gossip of block. This one is messy. We do gosssip block but logic is quite different for PoW and PBFT
Right now they are joined into big monolith.
- [ ] How to define message type? Different algorithm require different sets of messages
- [ ] How to version wire messages?
- [ ] P2P logic should depends on type of consensus algorithm
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.