diff --git a/cmd/btcctl/config.go b/cmd/btcctl/config.go index 13342e62..f6ca8846 100644 --- a/cmd/btcctl/config.go +++ b/cmd/btcctl/config.go @@ -158,7 +158,7 @@ func normalizeAddress(addr string, chain *chaincfg.Params, useWallet bool) (stri return addr, nil } -// cleanAndExpandPath expands environement variables and leading ~ in the +// cleanAndExpandPath expands environment variables and leading ~ in the // passed path, cleans the result, and returns it. func cleanAndExpandPath(path string) string { // Expand initial ~ to OS specific home directory. diff --git a/cmd/gencerts/gencerts.go b/cmd/gencerts/gencerts.go index c0a27ad3..27c9ae38 100644 --- a/cmd/gencerts/gencerts.go +++ b/cmd/gencerts/gencerts.go @@ -76,7 +76,7 @@ func main() { } } -// cleanAndExpandPath expands environement variables and leading ~ in the +// cleanAndExpandPath expands environment variables and leading ~ in the // passed path, cleans the result, and returns it. func cleanAndExpandPath(path string) string { // Expand initial ~ to OS specific home directory. diff --git a/config.go b/config.go index 1fe0767f..18620a00 100644 --- a/config.go +++ b/config.go @@ -105,9 +105,9 @@ type config struct { BanDuration time.Duration `long:"banduration" description:"How long to ban misbehaving peers. Valid time units are {s, m, h}. Minimum 1 second"` BanThreshold uint32 `long:"banthreshold" description:"Maximum allowed ban score before disconnecting and banning misbehaving peers."` BlockMaxSize uint32 `long:"blockmaxsize" description:"Maximum block size in bytes to be used when creating a block"` - BlockMinSize uint32 `long:"blockminsize" description:"Mininum block size in bytes to be used when creating a block"` + BlockMinSize uint32 `long:"blockminsize" description:"Minimum block size in bytes to be used when creating a block"` BlockMaxWeight uint32 `long:"blockmaxweight" description:"Maximum block weight to be used when creating a block"` - BlockMinWeight uint32 `long:"blockminweight" description:"Mininum block weight to be used when creating a block"` + BlockMinWeight uint32 `long:"blockminweight" description:"Minimum block weight to be used when creating a block"` BlockPrioritySize uint32 `long:"blockprioritysize" description:"Size in bytes for high-priority/low-fee transactions when creating a block"` BlocksOnly bool `long:"blocksonly" description:"Do not accept transactions from remote peers."` ConfigFile string `short:"C" long:"configfile" description:"Path to configuration file"` diff --git a/doc.go b/doc.go index d78e09f7..47e4e626 100644 --- a/doc.go +++ b/doc.go @@ -36,11 +36,11 @@ Application Options: and banning misbehaving peers. (default: 100) --blockmaxsize= Maximum block size in bytes to be used when creating a block (default: 750000) - --blockminsize= Mininum block size in bytes to be used when + --blockminsize= Minimum block size in bytes to be used when creating a block --blockmaxweight= Maximum block weight to be used when creating a block (default: 3000000) - --blockminweight= Mininum block weight to be used when creating a + --blockminweight= Minimum block weight to be used when creating a block --blockprioritysize= Size in bytes for high-priority/low-fee transactions when creating a block (default: