mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
enable governance cache
This commit is contained in:
parent
2df4059f4e
commit
d9d72dd7af
10
src/init.cpp
10
src/init.cpp
@ -222,8 +222,8 @@ void PrepareShutdown()
|
||||
flatdb1.Dump(mnodeman);
|
||||
CFlatDB<CMasternodePayments> flatdb2("mnpayments.dat", "magicMasternodePaymentsCache");
|
||||
flatdb2.Dump(mnpayments);
|
||||
// CFlatDB<CGovernanceManager> flatdb3("governance.dat", "magicGovernanceCache");
|
||||
// flatdb3.Dump(governance);
|
||||
CFlatDB<CGovernanceManager> flatdb3("governance.dat", "magicGovernanceCache");
|
||||
flatdb3.Dump(governance);
|
||||
|
||||
StopTorControl();
|
||||
UnregisterNodeSignals(GetNodeSignals());
|
||||
@ -1829,9 +1829,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
CFlatDB<CMasternodePayments> flatdb2("mnpayments.dat", "magicMasternodePaymentsCache");
|
||||
flatdb2.Load(mnpayments);
|
||||
|
||||
// CFlatDB<CGovernanceManager> flatdb3("governance.dat", "magicGovernanceCache");
|
||||
// flatdb3.Load(governance);
|
||||
// governance.ClearSeen();
|
||||
CFlatDB<CGovernanceManager> flatdb3("governance.dat", "magicGovernanceCache");
|
||||
flatdb3.Load(governance);
|
||||
governance.ClearSeen();
|
||||
|
||||
// ********************************************************* Step 11: setup DarkSend
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user