rewrite sethook cleanly

This commit is contained in:
Richard Holland
2022-02-07 11:06:33 +00:00
parent 6adb9ae6f7
commit f331e7ab62
3 changed files with 437 additions and 498 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -47,6 +47,7 @@ struct Keylet
/** Returns true if the SLE matches the type */
bool
check(STLedgerEntry const&) const;
};
} // namespace ripple

View File

@@ -85,7 +85,8 @@ InnerObjectFormats::InnerObjectFormats()
{sfHookParameters, soeREQUIRED},
{sfHookOn, soeREQUIRED},
{sfHookApiVersion, soeREQUIRED},
{sfFlags, soeREQUIRED}
{sfFlags, soeREQUIRED},
{sfFee, soeREQUIRED}
});
add(sfHook.jsonName.c_str(),