dcrd/cmd/addblock
Dave Collins 66010e4134
multi: Return fork len from ProcessBlock.
This modifies the ProcessBlock function in the blockchain package to
return the fork length for the connected block and updates all callers
and tests accordingly.  Several of the internal functions which
ProcessBlock calls are also updated in order to bubble the necessary
information back up so it can be returned.  It does not make any
behavioral changes.

This is being done to better expose information about the position of
the block within the chain to callers without them having to make
additional queries.
2018-05-27 20:20:43 -05:00
..
addblock.go multi: Replace btclog with slog. 2018-05-23 14:22:10 -05:00
config.go Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
import.go multi: Return fork len from ProcessBlock. 2018-05-27 20:20:43 -05:00