Gregory Maxwell 4f15ea102d 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.
2017-04-03 07:15:36 +00:00
..
2017-03-21 19:49:08 +01:00
2017-01-27 21:22:35 +01:00
2016-12-01 16:14:45 -08:00
2016-12-12 11:08:47 -08:00
2017-03-21 19:49:08 +01:00
2017-01-27 21:22:35 +01:00
2017-03-17 04:37:43 +01:00
2017-03-17 04:37:43 +01:00
2017-02-17 17:27:18 +01:00
2017-03-17 04:37:43 +01:00
2017-01-27 21:22:35 +01:00
2017-03-17 04:37:43 +01:00
2017-01-14 21:45:32 +01:00
2017-02-17 15:28:28 -08:00
2017-03-18 18:13:55 -07:00
2017-03-17 04:37:43 +01:00
2017-01-27 21:22:35 +01:00
2017-03-17 04:37:43 +01:00
2017-03-17 04:37:43 +01:00