diff options
author | fanquake <fanquake@gmail.com> | 2022-06-30 15:41:36 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-30 15:43:50 +0100 |
commit | 6adae27f8c756e32d3a761d35fe05f5a7e7b2e94 (patch) | |
tree | 4b6a6091e75f5f18410433e3576da3833ebeb757 /src/leveldb/port | |
parent | 1ee597817fb060c528772b2ade37d9992b49d159 (diff) | |
parent | e866f0d0666664885d4c15c79bf59cc59975887a (diff) |
Merge bitcoin/bitcoin#24836: add RPC (-regtest only) for testing package policy
e866f0d0666664885d4c15c79bf59cc59975887a [functional test] submitrawpackage RPC (glozow)
fa076515b07ac4b10b2134e323bf4f56be5996a8 [rpc] add new submitpackage RPC (glozow)
Pull request description:
It would be nice for LN/wallet/app devs to test out package policy, package RBF, etc., but the only interface to do so right now is through unit tests. This PR adds a `-regtest` only RPC interface so people can test by submitting raw transaction data. It is regtest-only, as it would be unsafe/confusing to create an actual mainnet interface while package relay doesn't exist.
Note that the functional tests are there to ensure the RPC interface is working properly; they aren't for testing policy itself. See src/test/txpackage_tests.cpp.
ACKs for top commit:
t-bast:
Tested ACK against eclair https://github.com/bitcoin/bitcoin/pull/24836/commits/e866f0d0666664885d4c15c79bf59cc59975887a
ariard:
Code Review ACK e866f0d0
instagibbs:
code review ACK e866f0d0666664885d4c15c79bf59cc59975887a
Tree-SHA512: 824a26b10d2240e0fd85e5dd25bf499ee3dd9ba8ef4f522533998fcf767ddded9f001f7a005fe3ab07ec95e696448484e26599803e6034ed2733125c8c376c84
Diffstat (limited to 'src/leveldb/port')
0 files changed, 0 insertions, 0 deletions