From fa076515b07ac4b10b2134e323bf4f56be5996a8 Mon Sep 17 00:00:00 2001 From: glozow Date: Tue, 20 Jul 2021 11:45:52 +0100 Subject: [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. --- src/util/error.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util/error.h') 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); -- cgit v1.2.3