Open coot opened 3 years ago
This would be a design change with the following benefits:
This will be a useful optimisation as we get towards higher and higher chain throughput / TPS. For the moment (at current low TPS rates) it is not a significant issue. The effects are only visible in benchmarks with very high TPS.
To smooth traffic and save bandwidth, we can add a decision logic to inbound tx-submission protocol which would decide from whom to download an available transaction and trace which transactions are being downloaded (so we don't start to download something that's already being downloaded).
todo list
tx
sizetx
size is smaller than maximum tx sizetxs
to mempool (do not try add the sametx
twice) Is this even needed? Mempool could checktxid
s before doing any expensive validation.