Support validations with versions in them.

This commit is contained in:
JoelKatz
2012-06-27 13:33:22 -07:00
parent dbabc6edd0
commit e383a59b5e
2 changed files with 2 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ enum SOE_Field
sfTransitExpire,
sfTransitRate,
sfTransitStart,
sfVersion,
sfWalletLocator,
// test fields

View File

@@ -8,6 +8,7 @@ SOElement SerializedValidation::sValidationFormat[] = {
{ sfLedgerHash, "LedgerHash", STI_HASH256, SOE_REQUIRED, 0 },
{ sfCloseTime, "CloseTime", STI_UINT64, SOE_REQUIRED, 0 },
{ sfSigningKey, "SigningKey", STI_VL, SOE_REQUIRED, 0 },
{ sfVersion, "Version", STI_UINT32, SOE_IFFLAG, 1 },
{ sfExtensions, "Extensions", STI_TL, SOE_IFFLAG, 0x01000000 },
{ sfInvalid, NULL, STI_DONE, SOE_NEVER, -1 },
};