aboutsummaryrefslogtreecommitdiff
path: root/libbitcoinconsensus.pc.in
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2017-04-02 21:39:32 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2017-04-04 09:01:03 +0200
commita44a6a15f94a6223a71790c5a65eb2b8a5b35dd2 (patch)
tree805306e240f12da3627f82857d064c68aa813aba /libbitcoinconsensus.pc.in
parent2fea10ad03c22d3299c56a45370598501d7ee7cf (diff)
Check transaction count early in submitblock.
There is no point in even hashing a submitted block which doesn't have a coinbase transaction. This also results in more useful error reporting on corrupted input. Thanks to rawodb for the bug report. Github-Pull: #10146 Rebased-From: 4f15ea102d15eb237b63464725508dc509e98819
Diffstat (limited to 'libbitcoinconsensus.pc.in')
0 files changed, 0 insertions, 0 deletions