UNLReport working

This commit is contained in:
Richard Holland
2023-06-15 09:45:11 +00:00
parent c33e64fa3d
commit 95bef7ced3
5 changed files with 14 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ namespace ripple {
@ingroup protocol
*/
/** Smallest legal byte size of a transaction. */
std::size_t constexpr txMinSizeBytes = 32;
std::size_t constexpr txMinSizeBytes = 10;
/** Largest legal byte size of a transaction. */
std::size_t constexpr txMaxSizeBytes = megabytes(1);

View File

@@ -301,7 +301,9 @@ LedgerFormats::LedgerFormats()
add(jss::UNLReport,
ltUNL_REPORT,
{
{sfActiveValidators, soeREQUIRED},
{sfActiveValidators, soeREQUIRED},
{sfPreviousTxnID, soeREQUIRED},
{sfPreviousTxnLgrSeq, soeREQUIRED},
},
commonFields);