diff options
author | glozow <gloriajzhao@gmail.com> | 2021-07-20 11:45:52 +0100 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2022-06-23 14:35:04 +0100 |
commit | fa076515b07ac4b10b2134e323bf4f56be5996a8 (patch) | |
tree | 6f4851be8f004c8fc03cb207e70df14c8e7ffe54 /src/util/error.h | |
parent | b9ef5a10e2fa4609d048db57b99463305455ebe4 (diff) | |
download | bitcoin-fa076515b07ac4b10b2134e323bf4f56be5996a8.tar.xz |
[rpc] add new submitpackage RPC
It could be unsafe/confusing to create an actual mainnet interface while
package relay doesn't exist. However, a regtest-only interface allows
wallet/application devs to test current package policies.
Diffstat (limited to 'src/util/error.h')
-rw-r--r-- | src/util/error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/error.h b/src/util/error.h index 4cc35eb1fd..0429de651a 100644 --- a/src/util/error.h +++ b/src/util/error.h @@ -32,6 +32,7 @@ enum class TransactionError { MAX_FEE_EXCEEDED, EXTERNAL_SIGNER_NOT_FOUND, EXTERNAL_SIGNER_FAILED, + INVALID_PACKAGE, }; bilingual_str TransactionErrorString(const TransactionError error); |