Reserve transaction type and error codes for event hooking:

Event hooks will allow accounts to introduce configurable behavior
in response to send and receive events.
This commit is contained in:
Richard Holland
2020-08-01 10:23:31 +02:00
committed by Nik Bougalis
parent 660d9c1602
commit 13b8359de6
2 changed files with 3 additions and 0 deletions

View File

@@ -277,6 +277,7 @@ enum TECcodes : TERUnderlyingType {
tecKILLED = 150, tecKILLED = 150,
tecHAS_OBLIGATIONS = 151, tecHAS_OBLIGATIONS = 151,
tecTOO_SOON = 152, tecTOO_SOON = 152,
tecHOOK_ERROR [[maybe_unused]] = 153
}; };
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------

View File

@@ -56,6 +56,8 @@ enum TxType {
ttTRUST_SET = 20, ttTRUST_SET = 20,
ttACCOUNT_DELETE = 21, ttACCOUNT_DELETE = 21,
ttHOOK_SET [[maybe_unused]] = 22,
ttAMENDMENT = 100, ttAMENDMENT = 100,
ttFEE = 101, ttFEE = 101,
ttUNL_MODIFY = 102, ttUNL_MODIFY = 102,