Is there a ‘smart filters execution order’?

+1 vote


suppose we have a blockchain running and n active smart filters. In which order are they executed (if any) when a tx is sent to the blockchain?


Thank you very much.

asked Dec 8, 2018 by multichain_user123

1 Answer

+2 votes
Best answer
Currently, the filters are executed in the order  "create txfilter" transactions appear in blockchain, i.e. in the same order as output of listtxfilters.

The order should not affect the final result - whether tx is accepted or not, but may influence the error message if tx fails multiple filters.

In the future, we may decide to change the order (to optimize performance, for example), so you may get different error.
answered Dec 11, 2018 by Michael
selected Dec 11, 2018 by multichain_user123