mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 02:33:07 +02:00
[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.
This commit is contained in:
@@ -193,6 +193,7 @@ BITCOIN_CORE_H = \
|
||||
outputtype.h \
|
||||
policy/feerate.h \
|
||||
policy/fees.h \
|
||||
policy/packages.h \
|
||||
policy/policy.h \
|
||||
policy/rbf.h \
|
||||
policy/settings.h \
|
||||
|
||||
Reference in New Issue
Block a user