HomePhabricator

Added RPC call 'getmemorypool' that provides everything needed to construct a…
074d584a04eeUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Added RPC call 'getmemorypool' that provides everything needed to construct a block with a custom generation transaction and submit a solution

getmemorypool [data]
If [data] is not specified, returns data needed to construct a block to work on:

"version" : block version
"previousblockhash" : hash of current highest block
"transactions" : contents of non-coinbase transactions that should be included in the next block
"coinbasevalue" : maximum allowable input to coinbase transaction, including the generation award and transaction fees
"time" : timestamp appropriate for next block
"bits" : compressed target of next block

If [data] is specified, tries to solve the block and returns true if it was successful.

Details

Provenance
Forrest Voight <forrest@forre.st>Authored on Sep 6 2011, 22:15
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGf4769e44a326: Merge pull request #524 from sipa/signandverif
Branches
Unknown
Tags
Unknown

Event Timeline