mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 18:45:55 +00:00
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:
committed by
Nik Bougalis
parent
660d9c1602
commit
13b8359de6
@@ -277,6 +277,7 @@ enum TECcodes : TERUnderlyingType {
|
||||
tecKILLED = 150,
|
||||
tecHAS_OBLIGATIONS = 151,
|
||||
tecTOO_SOON = 152,
|
||||
tecHOOK_ERROR [[maybe_unused]] = 153
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -56,6 +56,8 @@ enum TxType {
|
||||
ttTRUST_SET = 20,
|
||||
ttACCOUNT_DELETE = 21,
|
||||
|
||||
ttHOOK_SET [[maybe_unused]] = 22,
|
||||
|
||||
ttAMENDMENT = 100,
|
||||
ttFEE = 101,
|
||||
ttUNL_MODIFY = 102,
|
||||
|
||||
Reference in New Issue
Block a user