Hooks testnet build
emitnow takes a
write_lenparameter pair at the start of the paramaters. This must be at least 32 bytes and will be populated with the canonical hash of the emitted transaction.
cbaknow take a
uint32_tas the sole parameter. In
1when the emitted txn has failed to be accepted before
0the emitted txn was accepted.
- Emitted transactions that are successfully passed to
emitbut subsequently fail to be incorporated into a ledger before
sfLastLedgerSequenceexpires are now cleaned up by a
cbak(1)on the emitting hook. Note the previously reserved parameter to callback is now used to signal that an emitted transaction failed.
- Maximum number of emitted transactions in a chain of emitted transactions (i.e. where one emitted txn emits another txn) is now 10.
sfLastLedgerSeqfor emitted transactions must be 5 more than the current ledger.