What is Nostr?
Rebroad (sourceforge) [ARCHIVE] /
npub1vfx…kcv3
2023-06-07 10:08:03
in reply to nevent1q…nucq

Rebroad (sourceforge) [ARCHIVE] on Nostr: 📅 Original date posted:2012-05-05 📝 Original message:I recently was dabbling ...

📅 Original date posted:2012-05-05
📝 Original message:I recently was dabbling with AskFor() and changing the time waited from 2
minutes to 10 seconds (I think perhaps this value may change in future
versions when "network tuning" is implemented).

I noticed that, when used with the -limitfreerelay option that is causes
significant increase in traffic between peers. This is because the tx gets
asked for (from all connected peers usually), but AlwaysHave never becomes
true as it's never stored, always rejected, so it effectively getdatas the
transaction from every single connected peer.

Would it perhaps be better to set up a memory pool for rejected txs and
blocks (perhaps keeping only the hash) so that these rejected items can
continue being ignored?

I hope these observations are ok - I consider myself at the "trying to
understand the code/protocol/algorithm" stage so might sometimes make false
assumptions of what the code intends to do.

Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20120505/e43e613f/attachment.html>;
Author Public Key
npub1vfx9qxevl6t9hk28s293ufcrh3yfnkgn6k4z3ucwumv37605w92ssekcv3