Skip to content

Commit 0dcb452

Browse files
committed
Merge bitcoin/bitcoin#32607: rpc: Note in fundrawtransaction doc, fee rate is for package
f98e1aa rpc: Note in fundrawtransaction doc, fee rate is for package (benthecarman) Pull request description: Accidentally made some transactions with a much higher fee rate than I wanted because I did not know this would do it for the package rather than the individual tx. ACKs for top commit: achow101: ACK f98e1aa rkrux: re-ACK f98e1aa danielabrozzoni: ACK f98e1aa Tree-SHA512: 9f961de1200803ec4d1c6901fd606bb6cf707ffd03942d9dc0d4b6554c827075f99d693b93e892f728679d67e63e12c71da4426dab091b3311d1605bc37251a2
2 parents a5e98dc + f98e1aa commit 0dcb452

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/wallet/rpc/spend.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,10 @@ RPCHelpMan fundrawtransaction()
757757
"Note that all inputs selected must be of standard form and P2SH scripts must be\n"
758758
"in the wallet using importdescriptors (to calculate fees).\n"
759759
"You can see whether this is the case by checking the \"solvable\" field in the listunspent output.\n"
760-
"Only pay-to-pubkey, multisig, and P2SH versions thereof are currently supported for watch-only\n",
760+
"Only pay-to-pubkey, multisig, and P2SH versions thereof are currently supported for watch-only.\n"
761+
"Note that if specifying an exact fee rate, the resulting transaction may have a higher fee rate\n"
762+
"if the transaction has unconfirmed inputs. This is because the wallet will attempt to make the\n"
763+
"entire package have the given fee rate, not the resulting transaction.\n",
761764
{
762765
{"hexstring", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The hex string of the raw transaction"},
763766
{"options", RPCArg::Type::OBJ_NAMED_PARAMS, RPCArg::Optional::OMITTED, "For backward compatibility: passing in a true instead of an object will result in {\"includeWatching\":true}",

0 commit comments

Comments
 (0)