mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Loading and saving ledger and lcl consensus. (#51)
* Ledger saving, loading, consensus with ledger sequence number. * std terminate exception handler.
This commit is contained in:
committed by
Ravin Perera
parent
b8ffb83869
commit
b598025346
@@ -144,11 +144,12 @@ int validate_and_extract_content(const Content **content_ref, const uint8_t *con
|
||||
* @param The Flatbuffer poporal received from the peer.
|
||||
* @return A proposal struct representing the message.
|
||||
*/
|
||||
const p2p::proposal create_proposal_from_msg(const Proposal_Message &msg, const flatbuffers::Vector<uint8_t> *pubkey)
|
||||
const p2p::proposal create_proposal_from_msg(const Proposal_Message &msg, const flatbuffers::Vector<uint8_t> *pubkey, uint64_t timestamp)
|
||||
{
|
||||
p2p::proposal p;
|
||||
|
||||
p.pubkey = flatbuff_bytes_to_sv(pubkey);
|
||||
p.timestamp = timestamp;
|
||||
p.time = msg.time();
|
||||
p.stage = msg.stage();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user