Branch: refs/heads/master
Home: https://github.com/conformal/btcnet
Commit: 536c1e3c298cd868e83f0158d9f56e5849468692
https://github.com/conformal/btcnet/commit/536c1e3c298cd868e83f0158d9f56e5849468692
Author: Josh Rickmar <[email protected]>
Date: 2014-05-23 (Fri, 23 May 2014)
Changed paths:
M params.go
Log Message:
-----------
Add parameters used by btcd.
This change adds two parameters to the Params struct which are used by
btcd to alter behavior based on the active network, rather than
hardcoding checks for a particular network.
The first, ResetMinDifficulty, specifies whether the target difficulty
can change between the retarget intervals.
The second, RelayNonStdTxs, specifies whether standard transaction
checks should not be performed when accepting mempool transactions.
The zero values (false) for both of these bools are the correct
parameter values for mainnet.
While here, rename the test network version 3 to "testnet3", as both
btcd and btcwallet will include additional handling to rename this to
"testnet" for directory names, and a switch to "testnet3" is planned
in the future.
Commit: fb8ab4200f4448f2b2347449d4e3ae0ee746f69d
https://github.com/conformal/btcnet/commit/fb8ab4200f4448f2b2347449d4e3ae0ee746f69d
Author: Dave Collins <[email protected]>
Date: 2014-05-27 (Tue, 27 May 2014)
Changed paths:
M params.go
Log Message:
-----------
Add more chain-related fields and checkpoints.
This commit adds more chain-related fields to the parameters as a part of
converting btcchain to work with btcnet parameters instead of coding the
network-specific knowledge into the package itself.
It also moves the checkpoints from btcchain since checkpoints are a
network parameter and make more sense here.
ok @jrick
Compare: https://github.com/conformal/btcnet/compare/55ef07ca61fa...fb8ab4200f44