On Sun, Sep 20, 2026 at 08:29:31AM +0000, Peter Todd wrote: > On Sun, Sep 20, 2026 at 12:08:14PM +1000, Anthony Towns wrote: > > The TLDR summary is that nodes that implement this proposal would send a > > `set324alias [98:messagea, 99:messageb]` message, then afterwards can > > save 12 bytes every time they send `messagea` or `messageb` by using > > the corresponding one-byte message type id (98 or 99) instead. > I think the BIP needs to include within it an estimate of what % of > total bandwidth this might actually save.
The bandwidth saving is 12 bytes per message; what percentage of total bandwidth that is depends on the messages sent over the link. If the connection is only used for extremely small messages like PING/PONG, that could be a saving of up to 66%; if it's a more normal connection that's dominated by INV/GETDATA/TX messages, expect a saving of closer to 5%; and if it's in -blocksonly mode and traffic is mostly full 2MB BLOCK messages, then it's something like 0.0006% savings. And in any event, all those messages already have 1-byte identifiers, so until you're using new messages that don't already have a 1-byte identifier assigned, the saving is 0%. Cheers, aj -- You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/arRwjJaraiHdYX8L%40erisian.com.au.
