Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: bcc78565fd3be82f0adbc4ba9f439f5e5a2d0ebc
https://github.com/conformal/btcd/commit/bcc78565fd3be82f0adbc4ba9f439f5e5a2d0ebc
Author: Josh Rickmar <[email protected]>
Date: 2014-05-23 (Fri, 23 May 2014)
Changed paths:
M blockmanager.go
M btcd.go
M config.go
M mempool.go
M mining.go
M params.go
M rpcserver.go
M rpcwebsocket.go
M server.go
Log Message:
-----------
Initial pass at updating to btcnet.
This change modifies the params struct to embed a *btcnet.Params,
removing the old parameter fields that are handled by the btcnet
package.
Hardcoded network checks have also been removed in favor of modifying
behavior based on the current active net's parameters.
Not all library packages, notable btcutil and btcchain, have been
updated to use btcnet yet, but with this change, each package can be
updated one at a time since the active net's btcnet.Params are
available at each callsite.
ok @davecgh