aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2018-06-11 15:13:04 -0400
committerMatt Corallo <[email protected]>2018-06-11 17:21:13 -0400
commitf74894480db5dfbf49534499f489357ee9984183 (patch)
tree9d0c09a941fdb3a664bbcadec9676975653315e7 /src/net_processing.cpp
parentrpc: Avoid "duplicate" return value for invalid submitblock (diff)
downloaddiscoin-f74894480db5dfbf49534499f489357ee9984183.tar.xz
discoin-f74894480db5dfbf49534499f489357ee9984183.zip
Only set fNewBlock to true in AcceptBlock when we write to disk
The only affect this should have is fixing the return code in submitblock in cases where a block fails ContextualCheckBlock and not setting nLastBlockTime on peers that provide blocks which fail ContextualCheckBlock (which is only used in eviction and cosmetic).
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions