You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example the Flags set are 2148139008. Since it's not immediately obvious which flags are set for that transaction, there should be a utility function that derives the flag names from this integer. The function should take the transaction type and the flags expressed as integer (in this example 2148139008). For the example it should return something like ['tf_immediate_or_cancel', 'tf_sell', 'tf_fully_canonical_sig'].
The text was updated successfully, but these errors were encountered:
LimpidCrypto
changed the title
Utility function to derive flags
Utility function to derive flags from integer
May 17, 2022
When receiving a transactions data, the
Flags
field contains all flags set expressed as integer. Example:In this example the
Flags
set are2148139008
. Since it's not immediately obvious which flags are set for that transaction, there should be a utility function that derives the flag names from this integer. The function should take the transaction type and the flags expressed as integer (in this example 2148139008). For the example it should return something like['tf_immediate_or_cancel', 'tf_sell', 'tf_fully_canonical_sig']
.The text was updated successfully, but these errors were encountered: