Add support for the third p2p network in pathfinder. Right now the exact protocol is not specified except for the fact that gossipsub will be used. This is sufficient information to do the following:
- [part 1] add
new_preconfirmed() analogous to new_sync() and new_consensus() in the p2p crate; this implies adding a new app specific behavior that contains gossipsub,
- [part 2] add p2p config for the new network in
pathfinder
- [part 3] add the new p2p network initialization code in
pathfinder::src::p2p_network and wire the initialization code in node_main
- [part 4, on hold] implement gossipsub message schema as per spec (TBD)
- [part 5, on hold] integrate the preconfirmed transaction data from the p2p network into the RPC, keeping FGw served preconfirmed transactions as fallback
Add support for the third p2p network in pathfinder. Right now the exact protocol is not specified except for the fact that gossipsub will be used. This is sufficient information to do the following:
new_preconfirmed()analogous tonew_sync()andnew_consensus()in thep2pcrate; this implies adding a new app specific behavior that contains gossipsub,pathfinderpathfinder::src::p2p_networkand wire the initialization code innode_main