Package btcchain implements bitcoin block handling and chain selection rules - a package from btcd