diff options
author | Gregory Maxwell <greg@xiph.org> | 2017-04-02 21:39:32 +0000 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-04-04 09:01:03 +0200 |
commit | a44a6a15f94a6223a71790c5a65eb2b8a5b35dd2 (patch) | |
tree | 805306e240f12da3627f82857d064c68aa813aba /libbitcoinconsensus.pc.in | |
parent | 2fea10ad03c22d3299c56a45370598501d7ee7cf (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