Open
Description
Currently, subspace nodes gossip all new transactions they receive. This can increase network load if there are a lot of new transactions, or large new transactions.
Instead, we want to:
Stage 1:
- when a batch of transactions is about to be gossiped, send them as transaction hashes by default
- when an unknown transaction is received from a peer, request it explicitly
Stage 2:
- [optional] for latency optimization, if after concatenating transaction hashes there is still space in the payload that fits into IPv6 TCP packet, try to expand as many transactions as possible from hashes into full transactions