20#include <xrpl/basics/Slice.h>
21#include <xrpl/basics/chrono.h>
22#include <xrpl/protocol/LedgerHeader.h>
23#include <xrpl/protocol/Serializer.h>
int addBitString(base_uint< Bits, Tag > const &v)
int add8(unsigned char i)
An immutable linear range of bytes.
constexpr value_type drops() const
Returns the number of drops.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
LedgerHeader deserializePrefixedHeader(Slice data, bool hasHash=false)
Deserialize a ledger header (prefixed with 4 bytes) from a byte array.
void addRaw(LedgerHeader const &, Serializer &, bool includeHash=false)
LedgerHeader deserializeHeader(Slice data, bool hasHash=false)
Deserialize a ledger header from a byte array.
T time_since_epoch(T... args)