1#include <xrpl/basics/Slice.h>
2#include <xrpl/basics/chrono.h>
3#include <xrpl/protocol/HashPrefix.h>
4#include <xrpl/protocol/LedgerHeader.h>
5#include <xrpl/protocol/Serializer.h>
6#include <xrpl/protocol/digest.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.
sha512_half_hasher::result_type sha512Half(Args const &... args)
Returns the SHA512-Half of a series of objects.
LedgerHeader deserializeHeader(Slice data, bool hasHash=false)
Deserialize a ledger header from a byte array.
uint256 calculateLedgerHash(LedgerHeader const &info)
Calculate the hash of a ledger header.
void addRaw(LedgerHeader const &, Serializer &, bool includeHash=false)
@ ledgerMaster
ledger master data for signing
LedgerHeader deserializePrefixedHeader(Slice data, bool hasHash=false)
Deserialize a ledger header (prefixed with 4 bytes) from a byte array.
T time_since_epoch(T... args)