mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
parent
3e6014484e
commit
83059beff5
12 changed files with 99 additions and 227 deletions
|
|
@ -441,8 +441,8 @@ static RPCHelpMan getmininginfo()
|
|||
{RPCResult::Type::NUM, "blocks", "The current block"},
|
||||
{RPCResult::Type::NUM, "currentblockweight", /*optional=*/true, "The block weight of the last assembled block (only present if a block was ever assembled)"},
|
||||
{RPCResult::Type::NUM, "currentblocktx", /*optional=*/true, "The number of block transactions of the last assembled block (only present if a block was ever assembled)"},
|
||||
{RPCResult::Type::NUM, "difficulty", /*optional=*/true, "The current difficulty"},
|
||||
{RPCResult::Type::NUM, "networkhashps", /*optional=*/true, "The network hashes per second"},
|
||||
{RPCResult::Type::NUM, "difficulty", "The current difficulty"},
|
||||
{RPCResult::Type::NUM, "networkhashps", "The network hashes per second"},
|
||||
{RPCResult::Type::NUM, "pooledtx", "The size of the mempool"},
|
||||
{RPCResult::Type::STR, "chain", "current network name (main, test, signet, regtest, liquidv1, liquidv1test, liquidtestnet)"},
|
||||
{RPCResult::Type::STR, "warnings", "any network and blockchain warnings"},
|
||||
|
|
@ -1556,7 +1556,7 @@ static RPCHelpMan consumecompactsketch()
|
|||
{
|
||||
{RPCResult::Type::STR_HEX, "blockhex", "The filled block hex. Only returns when block is final"},
|
||||
{RPCResult::Type::STR_HEX, "block_tx_req", "The serialized structure of missing transaction indices, given to serving node"},
|
||||
{RPCResult::Type::STR_HEX, "found_transactions", "The serialized list of found transactions to be used in finalizecompactblock"},
|
||||
{RPCResult::Type::STR_HEX, "found_tranasctions", "The serialized list of found transactions to be used in finalizecompactblock"},
|
||||
},
|
||||
},
|
||||
RPCExamples{
|
||||
|
|
@ -1624,8 +1624,8 @@ static RPCHelpMan consumegetblocktxn()
|
|||
return RPCHelpMan{"consumegetblocktxn",
|
||||
"Consumes a transaction request for a compact block sketch.",
|
||||
{
|
||||
{"full_block", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "Hex serialized block that corresponds to the block request `block_tx_req`."},
|
||||
{"block_tx_req", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "Hex serialized BlockTransactionsRequest, aka getblocktxn network message."},
|
||||
{"full_block", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "Hex serialied block that corresponds to the block request `block_tx_req`."},
|
||||
{"block_tx_req", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "Hex serialied BlockTransactionsRequest, aka getblocktxn network message."},
|
||||
},
|
||||
RPCResult{
|
||||
RPCResult::Type::STR_HEX, "block_transactions", "The serialized list of found transactions aka BlockTransactions",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue