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.