Closed aivve closed 4 years ago
Remove unused files and functions, cleanup RPC (remove deprecated, rename some methods and params, but retain some backward compatibility for wallets), skip some heavy checks to speedup sync. Now it syncs in 15 min.
Judging by this https://github.com/amjuarez/bytecoin/blob/frozen-master/src/CryptoNoteCore/Core.cpp#L1216-L1247 skipping heavy validations while in checkpoints zone is totally OK.
Declared but not actually used m_is_in_checkpoint_zone, which I also deleted, suggested the same.
m_is_in_checkpoint_zone
Remove unused files and functions, cleanup RPC (remove deprecated, rename some methods and params, but retain some backward compatibility for wallets), skip some heavy checks to speedup sync. Now it syncs in 15 min.
Judging by this https://github.com/amjuarez/bytecoin/blob/frozen-master/src/CryptoNoteCore/Core.cpp#L1216-L1247 skipping heavy validations while in checkpoints zone is totally OK.
Declared but not actually used
m_is_in_checkpoint_zone
, which I also deleted, suggested the same.