Skip to content

Versioned broadcast

Christopher Schinnerl requested to merge versioned-broadcast into master

Created by: VoidingWarranties

BroadcastMinVersion and BroadcastMaxVersion broadcast only to peers that are of at least or at most the specified version, respectively. This is necessary for the upcoming header broadcast PR which will need to broadcast blocks to older peers and headers to newer peers. It is also useful for general backwards compatibility considerations. As an example use, RelayTransactionSet is now only broadcast to peers that are at least v0.4.7, so as to limit the number of conflicting calls to the colliding old RPC name RelayTransaction.

I'm not too sure about the names, as BroadcastMinVersion makes it sound like it's broadcasting some version number.

Merge request reports