You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZIP-401 weights transactions by their serialized size.
Consensus Rules
The mempool of a node holds a set of transactions.
Each transaction has a cost, which is an integer defined as: max(serialized transaction size in bytes, 4000)
Motivation
ZIP-401 weights transactions by their serialized size.
Consensus Rules
https://zips.z.cash/zip-0401#specification
Design
This existing code calculates the size of a
Message
:zebra/zebra-network/src/protocol/external/codec.rs
Lines 176 to 183 in de589f6
Maybe we want to turn it into a default method on the
ZcashSerialize
trait?The text was updated successfully, but these errors were encountered: