add sfHookNamespaces array to account root

This commit is contained in:
Richard Holland
2022-03-11 13:02:10 +00:00
parent 918472fa47
commit 46130fe14f
6 changed files with 96 additions and 39 deletions

View File

@@ -54,7 +54,8 @@ LedgerFormats::LedgerFormats()
{sfDomain, soeOPTIONAL},
{sfTickSize, soeOPTIONAL},
{sfTicketCount, soeOPTIONAL},
{sfHookStateCount, soeOPTIONAL}
{sfHookStateCount, soeOPTIONAL},
{sfHookNamespaces, soeOPTIONAL}
},
commonFields);
@@ -68,6 +69,7 @@ LedgerFormats::LedgerFormats()
{sfTakerGetsIssuer, soeOPTIONAL}, // for order book directories
{sfExchangeRate, soeOPTIONAL}, // for order book directories
{sfReferenceCount, soeOPTIONAL}, // for hook state directories
{sfOwnerNode, soeOPTIONAL}, // for directories that are members of other directories
{sfIndexes, soeREQUIRED},
{sfRootIndex, soeREQUIRED},
{sfIndexNext, soeOPTIONAL},