mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Configs to support full history mode. (#252)
* Adding full history mode and max shard configs for primary and blob shards. * Commenting validation checks for hpfs responses until bug is fixed. * Comment update.
This commit is contained in:
committed by
GitHub
parent
6b8d60a404
commit
a775b0e419
@@ -26,7 +26,8 @@ namespace sc
|
||||
|
||||
int init()
|
||||
{
|
||||
if (contract_fs.init(CONTRACT_FS_ID, conf::ctx.contract_hpfs_dir, conf::ctx.contract_hpfs_mount_dir, conf::ctx.contract_hpfs_rw_dir, conf::cfg.node.full_history) == -1)
|
||||
if (contract_fs.init(CONTRACT_FS_ID, conf::ctx.contract_hpfs_dir, conf::ctx.contract_hpfs_mount_dir, conf::ctx.contract_hpfs_rw_dir,
|
||||
conf::cfg.node.history == conf::HISTORY::FULL) == -1)
|
||||
{
|
||||
LOG_ERROR << "Contract file system initialization failed.";
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user