From 747a9bb944b6eb7b3a202e296b9da9c4c1e5b430 Mon Sep 17 00:00:00 2001 From: Svarog Date: Mon, 19 Aug 2019 17:52:58 +0300 Subject: [PATCH] [NOD-278] Added default for MinRelayTxFee (#367) --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index a2b5538ef..9b152d7c3 100644 --- a/config/config.go +++ b/config/config.go @@ -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,