mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
Merge bitcoin/bitcoin#36144: rpc: detail x-bitcoin-unit in openrpc help
e85e27976brpc: detail x-bitcoin-unit in openrpc help (will) Pull request description: Addresses review comment about clarifying this field: https://github.com/bitcoin/bitcoin/pull/36131#issuecomment-5480592255 ACKs for top commit: sedited: ACKe85e27976bTree-SHA512: 7fd0bef8a5d37cd9d2778463b2193c58ec7cced1aa790a0a5807ef093bd51e729b6c8880e1c12af78293eb68abe791f4ae6e96e0457ce85be717e3e776f5406d
This commit is contained in:
@@ -555,7 +555,8 @@ static RPCResult OpenRPCDocResult()
|
||||
{RPCResult::Type::OBJ, "result", "Method result.",
|
||||
{
|
||||
{RPCResult::Type::STR, "name", "Result name."},
|
||||
{RPCResult::Type::ANY, "schema", "JSON Schema for the result."},
|
||||
{RPCResult::Type::ANY, "schema", "JSON Schema for the result. Numeric schemas may include "
|
||||
"\"x-bitcoin-unit\" property: \"amount\" which denotes a Bitcoin amount in BTC."},
|
||||
}},
|
||||
{RPCResult::Type::STR, "x-bitcoin-category", "RPC category."},
|
||||
}}}},
|
||||
|
||||
Reference in New Issue
Block a user