Closed ltfschoen closed 6 years ago
join is a blocking operation, it waits for the thread to end. These last two lines only exist to make sure both threads are running. The threads start running at the spawn command. It isn't necessary for Line 70 to be run, only that main doesn't exit before both threads have finished.
In the 'collator' branch when I run in "Both" Mode, it only shows it processing the "Proposer" thread being joined, but not also the Collator thread. It doesn’t appear to process the Collator part on Line 70