Skip to content

Commit f8db909

Browse files
committed
Bugfix: RPC/Mining: Document non-standard "priority" key (on transaction Objects) for block templates
1 parent 898fe2b commit f8db909

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rpc/mining.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ static RPCHelpMan getblocktemplate()
633633
{RPCResult::Type::NUM, "", "transactions before this one (by 1-based index in 'transactions' list) that must be present in the final block if this one is"},
634634
}},
635635
{RPCResult::Type::NUM, "fee", "difference in value between transaction inputs and outputs (in satoshis); for coinbase transactions, this is a negative Number of the total collected block fees (ie, not including the block subsidy); if key is not present, fee is unknown and clients MUST NOT assume there isn't one"},
636+
{RPCResult::Type::NUM, "priority", /*optional=*/true, "transaction coin-age priority (non-standard)"},
636637
{RPCResult::Type::NUM, "sigops", "total SigOps cost, as counted for purposes of block limits; if key is not present, sigop cost is unknown and clients MUST NOT assume it is zero"},
637638
{RPCResult::Type::NUM, "weight", "total transaction weight, as counted for purposes of block limits"},
638639
}},

0 commit comments

Comments
 (0)