diff options
author | David Gumberg <davidzgumberg@gmail.com> | 2022-10-18 19:59:58 -0700 |
---|---|---|
committer | David Gumberg <davidzgumberg@gmail.com> | 2023-02-20 11:38:52 -0700 |
commit | 04f270b4358417fc2827b9f91717816062b1864e (patch) | |
tree | 3ec2e465baae861524e7ba25cddd0ccfc664c491 /src/rpc/client.cpp | |
parent | 8ae2808a4354e8dcc697f76bacc5e2f2befe9220 (diff) |
Add test for unspendable transactions and parameter 'maxburnamount' to sendrawtransaction.
'maxburnamount' sets a maximum value for outputs heuristically deemed unspendable including datacarrier scripts that begin with `OP_RETURN`.
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r-- | src/rpc/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 5fe914f0a1..eb91a151b5 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -114,6 +114,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "signrawtransactionwithkey", 2, "prevtxs" }, { "signrawtransactionwithwallet", 1, "prevtxs" }, { "sendrawtransaction", 1, "maxfeerate" }, + { "sendrawtransaction", 2, "maxburnamount" }, { "testmempoolaccept", 0, "rawtxs" }, { "testmempoolaccept", 1, "maxfeerate" }, { "submitpackage", 0, "package" }, |