Files
hpcore/src/fbschema/ledger_helpers.hpp
Asanka Indrajith b598025346 Loading and saving ledger and lcl consensus. (#51)
* Ledger saving, loading, consensus with ledger sequence number.
* std terminate exception handler.
2019-11-01 15:21:25 +05:30

16 lines
373 B
C++

#ifndef _HP_FBSCHEMA_LEDGER_HELPERS_H_
#define _HP_FBSCHEMA_LEDGER_HELPERS_H_
#include <string>
#include <unordered_set>
#include <flatbuffers/flatbuffers.h>
#include "ledger_schema_generated.h"
#include "../p2p/p2p.hpp"
namespace fbschema::ledger
{
std::string_view create_ledger_from_proposal(flatbuffers::FlatBufferBuilder &builder, const p2p::proposal &p);
}
#endif