has_tx_expired
Utility function which returns whether a transaction has expired, given the rule it was using to register the account. If a transaction has expired, the account can no longer be registered and the transfer can be recalled to move funds back to the original sender.
Parameters
rule
the rule to check
tx_start_timestamp
the timestamp of the transfer registration. For on-chain transfers, it's the timestamp of the transfer. For cross-chain transfers, it's the timestamp of the last apply_transfer
operation, when funds reached this chain.
See also
pending_transfer_expiration_state
for more information on expiration.