mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
hpfs binary update, hpfs log serving and passing to hpfs (#281)
* full history announcement in peer challenge and ability to send random messages only to full history nodes. * log sync infrastructure codes. * Resolving merge conflict induced errors. * Fork detection implementation. * Cleanup. * Resolving PR comments. * hpfs binary update, hpfs log serving and persisting * Fixed merge conflict and added missing log Co-authored-by: Savinda Senevirathne <savindadilsara@gmail.com>
This commit is contained in:
@@ -232,7 +232,7 @@ namespace p2p
|
||||
LOG_DEBUG << "Ledger hpfs response rejected. Maximum response count reached. " << session.display_name();
|
||||
}
|
||||
}
|
||||
else if (mi.type == p2pmsg::P2PMsgContent_LogRecordRequest)
|
||||
else if (mi.type == p2pmsg::P2PMsgContent_HpfsLogRequest)
|
||||
{
|
||||
if (conf::cfg.node.history == conf::HISTORY::FULL)
|
||||
{
|
||||
@@ -249,7 +249,7 @@ namespace p2p
|
||||
LOG_DEBUG << "Hpfs log request rejected. Maximum request count reached. " << session.display_name();
|
||||
}
|
||||
}
|
||||
else if (mi.type == p2pmsg::P2PMsgContent_LogRecordResponse)
|
||||
else if (mi.type == p2pmsg::P2PMsgContent_HpfsLogResponse)
|
||||
{
|
||||
if (conf::cfg.node.history == conf::HISTORY::FULL && sc::hpfs_log_sync::sync_ctx.is_syncing)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user