Issue summary
from design doc:
AnnounceBlock method is used by GossipEngine to announce blocks before GRANDPA specific messages are sent. We already have functionality to create instances network.BlockAnnounceMessage using core.createBlockAnnounce that can be sent over the Network via Network.GossipMessage. We will need to replicate/make public the BlockAnnounceMessage constructor that also has the Network to send block announces.
Implementation details
- Implement
NetworkBlock.AnnounceBlock in translation shim typ utilizing existing core functionality.
Other information and links
Acceptance criteria
[] Calls to AnnounceBlock should gossip block announce to connected peers.
[] 70% unit test coverage on new AnnounceBlock functionality.
Issue summary
from design doc:
Implementation details
NetworkBlock.AnnounceBlockin translation shim typ utilizing existingcorefunctionality.Other information and links
Acceptance criteria
[] Calls to
AnnounceBlockshould gossip block announce to connected peers.[] 70% unit test coverage on new
AnnounceBlockfunctionality.