mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59:33 +00:00
[NOD-278] Added default for MinRelayTxFee (#367)
This commit is contained in:
parent
d2daf334a5
commit
747a9bb944
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user