iroha
iroha copied to clipboard
How to update peer's blockstore when the whole topology changed
I wounder how we should deal with more general case when whole topology changed.
Step by step:
- Network is started with peer set A
- After some height peer set A is replaced with peer set B (A intersection B = empty set)
- New peer is added with trusted peers peers from set B
- Peer get block and update it's topology to set A (because at this height only peers from topology A were present)
Originally posted by @Erigara in https://github.com/hyperledger/iroha/issues/4142#issuecomment-1853566834