mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
- Creating two separate hpfs folders for contract and ledger file systems (contract_fs and ledger_fs). - Added separate mounts for contract and ledger file systems. - Added separate instances for contract serving and ledger serving. - Added separate instances for contract syncing and ledger syncing. - Modified cluster creating script to accompany folder name changes in contract folder.
18 lines
415 B
C++
18 lines
415 B
C++
#ifndef _HP_LEDGER_LEDGER_SYNC_
|
|
#define _HP_LEDGER_LEDGER_SYNC_
|
|
|
|
#include "../pchheader.hpp"
|
|
#include "../util/h32.hpp"
|
|
#include "../conf.hpp"
|
|
#include "../hpfs/hpfs_sync.hpp"
|
|
|
|
namespace ledger
|
|
{
|
|
class ledger_sync : public hpfs::hpfs_sync
|
|
{
|
|
private:
|
|
void on_current_sync_state_acheived(const util::h32 &acheived_hash);
|
|
void swap_collected_responses();
|
|
};
|
|
} // namespace ledger
|
|
#endif |