mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge a739d207a3 into merged_master (Bitcoin PR #17519)
This commit is contained in:
commit
8746cbf50b
4 changed files with 2 additions and 9 deletions
|
|
@ -398,9 +398,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
|||
" }\n"
|
||||
" ,...\n"
|
||||
" ],\n"
|
||||
" \"coinbaseaux\" : { (json object) data that should be included in the coinbase's scriptSig content\n"
|
||||
" \"flags\" : \"xx\" (string) key name is to be ignored, and value included in scriptSig\n"
|
||||
" },\n"
|
||||
" \"coinbaseaux\" : { ... }, (json object) data that should be included in the coinbase's scriptSig content\n"
|
||||
" \"coinbasevalue\" : n, (numeric) maximum allowable input to coinbase transaction, including the generation award and transaction fees (in satoshis)\n"
|
||||
" \"coinbasetxn\" : { ... }, (json object) information for coinbase transaction\n"
|
||||
" \"target\" : \"xxxx\", (string) The hash target\n"
|
||||
|
|
@ -630,7 +628,6 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
|||
}
|
||||
|
||||
UniValue aux(UniValue::VOBJ);
|
||||
aux.pushKV("flags", HexStr(COINBASE_FLAGS.begin(), COINBASE_FLAGS.end()));
|
||||
|
||||
arith_uint256 hashTarget = arith_uint256().SetCompact(pblock->nBits);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue