...
- Where to store them?
- Under World State View as a set of Iroha Special Instructions
- Inside World State View under Peer entity as a set of Iroha Special Instructions
- Inside "global" domain as Assets (which can be transformed into Iroha Special Instructions)
- When to check Trigger execution conditions?
- Every Instruction
- Every Transaction
- Every Block
- How to execute them?
- As additional set of instructions inside transaction
- As a set of instructions outside transaction
- As a new transaction
- This option will prevent halting problem inside one round (cyclic triggers)
Additionally, we have some requirements according to "Impure" instructions (like I/O), if we will have them in Iroha:
- Impure Triggers should be executed only once in the ledger
- Impure Triggers should be not executed during validation phase
Decisions
Alternatives
Concerns
...