Branch: refs/heads/master
Home: https://github.com/conformal/btcwire
Commit: dfdd2232237b2a40fd456851506272b110c49053
https://github.com/conformal/btcwire/commit/dfdd2232237b2a40fd456851506272b110c49053
Author: Dave Collins <[email protected]>
Date: 2014-05-28 (Wed, 28 May 2014)
Changed paths:
M bench_test.go
M blockheader_test.go
M common_test.go
R genesis.go
R genesis_test.go
M msggetblocks_test.go
M msggetheaders_test.go
M msgheaders_test.go
M msgreject_test.go
M shahash_test.go
Log Message:
-----------
Move genesis blocks to btcnet package.
The genesis blocks are not really part of the wire protocol rather they
are part of a network parameters. Thus, this commit moves the all of the
gensis blocks and tests to the btcnet package.
Also, create variables in the test package for the mainnet genesis hash,
merkle root, and coinbase transaction for use throughout the tests since
they the exported values are no longer available.