mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Increase size of reachability and block-relations cache (#1272)
* Increase size of reachability cache * Increase cache size for BlockRelationStore
This commit is contained in:
parent
6ef8eaf133
commit
717914319a
@ -74,11 +74,11 @@ func (f *factory) NewConsensus(dagParams *dagconfig.Params, db infrastructuredat
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
blockRelationStore := blockrelationstore.New(200)
|
||||
blockRelationStore := blockrelationstore.New(10_000)
|
||||
blockStatusStore := blockstatusstore.New(200)
|
||||
multisetStore := multisetstore.New(200)
|
||||
pruningStore := pruningstore.New()
|
||||
reachabilityDataStore := reachabilitydatastore.New(200)
|
||||
reachabilityDataStore := reachabilitydatastore.New(10_000)
|
||||
utxoDiffStore := utxodiffstore.New(200)
|
||||
consensusStateStore := consensusstatestore.New()
|
||||
ghostdagDataStore := ghostdagdatastore.New(10_000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user