Clio develop
The XRP Ledger API server.
|
Transformer thread that prepares new ledger out of raw data from GRPC. More...
#include <Transformer.hpp>
Public Member Functions | |
Transformer (DataPipeType &pipe, std::shared_ptr< BackendInterface > backend, LedgerLoaderType &loader, LedgerPublisherType &publisher, AmendmentBlockHandlerType &amendmentBlockHandler, uint32_t startSequence, SystemState &state) | |
Create an instance of the transformer. | |
~Transformer () | |
Joins the transformer thread. | |
void | waitTillFinished () |
Block calling thread until transformer thread exits. | |
Transformer thread that prepares new ledger out of raw data from GRPC.
|
inline |
Create an instance of the transformer.
This spawns a new thread that reads from the data pipe and writes ledgers to the DB using LedgerLoader and LedgerPublisher.