xrpld
Loading...
Searching...
No Matches
LedgerReplayMsgHandler.h
1#pragma once
2
3#include <xrpl/beast/utility/Journal.h>
4
5#include <xrpl.pb.h>
6
7#include <memory>
8
9namespace xrpl {
10class Application;
11class LedgerReplayer;
12
21
63
64} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:44
protocol::TMProofPathResponse processProofPathRequest(std::shared_ptr< protocol::TMProofPathRequest > const &msg)
Process TMProofPathRequest and return TMProofPathResponse.
LedgerReplayMsgHandler(Application &app, LedgerReplayer &replayer)
ReplayMsgStatus processReplayDeltaResponse(std::shared_ptr< protocol::TMReplayDeltaResponse > const &msg)
Process TMReplayDeltaResponse.
ReplayMsgStatus processProofPathResponse(std::shared_ptr< protocol::TMProofPathResponse > const &msg)
Process TMProofPathResponse.
protocol::TMReplayDeltaResponse processReplayDeltaRequest(std::shared_ptr< protocol::TMReplayDeltaRequest > const &msg)
Process TMReplayDeltaRequest and return TMReplayDeltaResponse.
Manages the lifetime of ledger replay tasks.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
ReplayMsgStatus
Outcome of processing an incoming ledger-replay response.
@ Malformed
Protocol-level violation; no honest peer would produce this.
@ BadData
Peer reported has_error() (legitimate "cannot fulfill" signal).