[NOD-278] Added default for MinRelayTxFee (#367)

This commit is contained in:
Svarog 2019-08-19 17:52:58 +03:00 committed by Ori Newman
parent d2daf334a5
commit 747a9bb944

View File

@ -49,6 +49,7 @@ const (
defaultBlockMaxMass = 10000000
blockMaxMassMin = 1000
blockMaxMassMax = 10000000
defaultMinRelayTxFee = 1000 // 1 satoshi per byte
defaultGenerate = false
defaultMaxOrphanTransactions = 100
//DefaultMaxOrphanTxSize is the default maximum size for an orphan transaction
@ -312,6 +313,7 @@ func loadConfig() (*Config, []string, error) {
BlockMaxMass: defaultBlockMaxMass,
MaxOrphanTxs: defaultMaxOrphanTransactions,
SigCacheMaxSize: defaultSigCacheMaxSize,
MinRelayTxFee: defaultMinRelayTxFee,
Generate: defaultGenerate,
TxIndex: defaultTxIndex,
AddrIndex: defaultAddrIndex,