Files
hpcore/src/ledger/ledger_sync.hpp
Savinda Senevirathne a4399544b9 Separate contract and ledger file system mounts. (#235)
- 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.
2021-02-05 11:48:52 +05:30

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