Remove the noverify option.

This was a development only option.
This commit is contained in:
Dave Collins 2013-10-03 13:01:18 -05:00
parent 0c6b79afb0
commit 6dbc61e960
2 changed files with 0 additions and 2 deletions

View file

@ -536,7 +536,6 @@ func newBlockManager(s *server) (*blockManager, error) {
quit: make(chan bool), quit: make(chan bool),
} }
bm.blockChain = btcchain.New(s.db, s.btcnet, bm.handleNotifyMsg) bm.blockChain = btcchain.New(s.db, s.btcnet, bm.handleNotifyMsg)
bm.blockChain.DisableVerify(cfg.VerifyDisabled)
log.Infof("[BMGR] Generating initial block node index. This may " + log.Infof("[BMGR] Generating initial block node index. This may " +
"take a while...") "take a while...")

View file

@ -49,7 +49,6 @@ type config struct {
Port string `short:"p" long:"port" description:"Listen for connections on this port (default: 8333, testnet: 18333)"` Port string `short:"p" long:"port" description:"Listen for connections on this port (default: 8333, testnet: 18333)"`
MaxPeers int `long:"maxpeers" description:"Max number of inbound and outbound peers"` MaxPeers int `long:"maxpeers" description:"Max number of inbound and outbound peers"`
BanDuration time.Duration `long:"banduration" description:"How long to ban misbehaving peers. Valid time units are {s, m, h}. Minimum 1 second"` BanDuration time.Duration `long:"banduration" description:"How long to ban misbehaving peers. Valid time units are {s, m, h}. Minimum 1 second"`
VerifyDisabled bool `long:"noverify" description:"Disable block/transaction verification -- WARNING: This option can be dangerous and is for development use only"`
RPCUser string `short:"u" long:"rpcuser" description:"Username for RPC connections"` RPCUser string `short:"u" long:"rpcuser" description:"Username for RPC connections"`
RPCPass string `short:"P" long:"rpcpass" description:"Password for RPC connections"` RPCPass string `short:"P" long:"rpcpass" description:"Password for RPC connections"`
RPCPort string `short:"r" long:"rpcport" description:"Listen for JSON/RPC messages on this port"` RPCPort string `short:"r" long:"rpcport" description:"Listen for JSON/RPC messages on this port"`