dogecoin/src/rpc
Gregory Maxwell a44a6a15f9
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: 4f15ea102d
2017-04-04 09:01:03 +02:00
..
blockchain.cpp
client.cpp rpc: Rename first named arg of createrawtransaction 2017-03-27 23:44:08 +02:00
client.h
mining.cpp Check transaction count early in submitblock. 2017-04-04 09:01:03 +02:00
misc.cpp
net.cpp
protocol.cpp
protocol.h
rawtransaction.cpp rpc: Rename first named arg of createrawtransaction 2017-03-27 23:44:08 +02:00
register.h
server.cpp [rpc] Remove auth cookie on shutdown 2017-04-03 08:54:53 +02:00
server.h