• Multithreading - executing codes sequentially

+141 votes

Please is there a way to prove that filters codes run sequentially? Please can I have a Transaction filter program that proves this?

 

 

Thanks in advance.

asked Dec 20, 2023 by uche
What do you mean by "run sequentially"?
I mean 'execute'. From the website, https://www.multichain.com/developers/smart-filters/#callbacks   there is a statement as this 'Multithreading. All filter code executes sequentially, preventing unpredictable race conditions.'.

I want to fine out if there is an explicit way to test this a sequential execution of codes.

Thank you
All code in a block executes sequentially. The point is that you can't spin off a separate thread that would run in parallel.
Thank you for clarifying

Please log in or register to answer this question.

...