HomePhabricator

RPC: getblocktemplate does not require a key, to create a block template
7bb0f6c5e89aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

RPC: getblocktemplate does not require a key, to create a block template

getblocktemplate only uses certain portions of the coinbase transaction,
notably ignoring the coinbase TX output entirely.

Use CreateNewBlock() rather than CreateNewBlockWithKey(), eliminating
the needless key passing.

Should be zero behavior changes.

Details

Provenance
Jeff Garzik <jgarzik@bitpay.com>Authored on Aug 24 2013, 04:45
deadalnixPushed on May 14 2017, 22:04
Parents
rABC7e1701899534: CreateNewBlock() now takes scriptPubKey argument, rather than a key.
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Garzik <jgarzik@bitpay.com> committed rABC7bb0f6c5e89a: RPC: getblocktemplate does not require a key, to create a block template (authored by Jeff Garzik <jgarzik@bitpay.com>).Aug 24 2013, 04:45