lbcd/cmd
Dave Collins 77913ad2e8
blockchain: Expose main chain flag on ProcessBlock.
This modifies the blockchain.ProcessBlock function to return an
additional boolean as the first parameter which indicates whether or not
the block ended up on the main chain.

This is primarily useful for upcoming test code that needs to be able to
tell the difference between a block accepted to a side chain and a block
that either extends the main chain or causes a reorganize that causes it
to become the main chain.  However, it is also useful for the addblock
utility since it allows a better error in the case a file with out of
order blocks is provided.
2016-10-13 16:47:50 -05:00
..
addblock blockchain: Expose main chain flag on ProcessBlock. 2016-10-13 16:47:50 -05:00
btcctl Add automatic RPC configuration. 2016-06-03 21:14:15 -05:00
findcheckpoint chainhash: Abstract hash logic to new package. (#729) 2016-08-08 14:04:33 -05:00
gencerts Relicense to the btcsuite developers. 2015-05-01 12:00:56 -05:00