Closed boolafish closed 5 years ago
To be more specified, this means we would have a "core watcher" that does the basic verification (predicate + input output sum) and can plugging extension logic for their own need (eg. DEX settlement logic verification).
Let's say we are plugging a new predicate new_P: Case 1: now you are creating a new tx that is totally un-related with the new_P. The history of the new tx you are creating have never touched new_P.
Case 2: now you are creating a new tx that new_P was used in one or some of the inputs' history, but the new tx is not using new_P directly.
Case 3: now you are creating a new tx that actually needs to fulfill new_P.
@paulperegud @pik694 @pgebal Do you think the above statement sounds solid enough?
Note
The concept is that watcher only needs to check two things:
Successful criteria