Add code documentation

pull/1/head
Martin Boehm 2018-01-30 09:45:06 +01:00
parent 3dacffda59
commit fbec9bf69f
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ import (
"github.com/btcsuite/btcd/wire"
)
// GetChainParams contains network parameters for the main Bitcoin network,
// the regression test Bitcoin network, the test Bitcoin network and
// the simulation test Bitcoin network, in this order
func GetChainParams() []*chaincfg.Params {
return []*chaincfg.Params{
&chaincfg.MainNetParams,