This diff adds serialization/deserialization to the CashAddrContent object, so that an ecash: address can be send part of a p2p message without requiring a script nor full string encoded (which is less compact) nor a script.
Ref T1676.
Differential D10107
Allow for serializing/deserializing an ecash address Fabien on Sep 14 2021, 12:42. Authored by
Details
This diff adds serialization/deserialization to the CashAddrContent object, so that an ecash: address can be send part of a p2p message without requiring a script nor full string encoded (which is less compact) nor a script. Ref T1676. ninja check
Diff Detail
Event TimelineComment Actions I don't understand what that does, considering the address is a representation of a script to begin with. Comment Actions I don't think it makes sense to have many different way to serialize the exact same thing, or to back the addresses in the consensus layer. None of this seems to me to be a good idea. |