XLS-39 Clawback: (#4553)

Introduces:
* AccountRoot flag: lsfAllowClawback
* New Clawback transaction
* More info on clawback spec: https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-39d-clawback
This commit is contained in:
Shawn Xie
2023-06-26 17:07:20 -04:00
committed by GitHub
parent 9eb30d4316
commit b7e902dccc
19 changed files with 1343 additions and 2 deletions

View File

@@ -93,6 +93,12 @@ public:
// and are tested elsewhere
continue;
}
if (flag == asfAllowClawback)
{
// The asfAllowClawback flag can't be cleared. It is tested
// elsewhere.
continue;
}
if (std::find(goodFlags.begin(), goodFlags.end(), flag) !=
goodFlags.end())