diff options
author | glozow <gzhao408@berkeley.edu> | 2021-02-11 09:50:42 -0800 |
---|---|---|
committer | glozow <gzhao408@berkeley.edu> | 2021-05-20 21:34:31 +0100 |
commit | b88d77aec5e7bef5305a668d15031351c0548b4d (patch) | |
tree | f579f8c5ab082d4e928bd1e5d793572b4125c1cd /src/policy/fees.cpp | |
parent | 249f43f3cc52b0ffdf2c47aad95ba9d195f6a45e (diff) |
[policy] Define packages
Define the Package type as an alias for a vector of transactions for now.
Add PackageValidationResult, similar to TxValidationResult and
BlockValidationResult for package-wide errors that cannot be reported
within a single transaction result, such as having too many
transactions in the package. We can update the concept of
what a package is and have different logic for packages vs lists of
transactions in the future, e.g. for package relay.
Diffstat (limited to 'src/policy/fees.cpp')
0 files changed, 0 insertions, 0 deletions