Ho to code concurrent program and syncronise result

Good morning
in order to develop a new consensus algorithm(blockchcain consensus),
1.two minors must run a program (treatment) in competition
2.each miner finishes the treatment that he have to do, syncronizes his result with the others
3.select and display the bigeest result found
best regards

What exactly is your question? Making a program concurrent and handling synchronization depends heavily on your program’s algorithm(s).

our aim is to code a concurrent program g executed by multiple node(of network),at the end of execution each node broadcast his result

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.