mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Added longpollid
and data
params to template_request
#27998
Added `longpollid` and `data` params to `template_request` in `getblocktemplate` #27998
This commit is contained in:
parent
600c595b8d
commit
f6a26196cf
1 changed files with 2 additions and 0 deletions
|
@ -566,6 +566,8 @@ static RPCHelpMan getblocktemplate()
|
|||
{"segwit", RPCArg::Type::STR, RPCArg::Optional::NO, "(literal) indicates client side segwit support"},
|
||||
{"str", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "other client side supported softfork deployment"},
|
||||
}},
|
||||
{"longpollid", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "delay processing request until the result would vary significantly from the \"longpollid\" of a prior template"},
|
||||
{"data", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "proposed block data to check, encoded in hexadecimal; valid only for mode=\"proposal\""},
|
||||
},
|
||||
RPCArgOptions{.oneline_description="\"template_request\""}},
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue