Skip to content

Fix issues#7

Open
AgentF-OL wants to merge 16 commits intoadd_new_approachfrom
fix_issues
Open

Fix issues#7
AgentF-OL wants to merge 16 commits intoadd_new_approachfrom
fix_issues

Conversation

@AgentF-OL
Copy link
Copy Markdown
Collaborator

No description provided.

AgentF-OL and others added 16 commits November 6, 2025 06:54
…n using it for both before the protocol starts (remove countdown latch) and after (for node recovery in case of crash). Note: there can be a very small millisecond difference between the nodes - Solves issue #6
…n and the state of the leader randomizer.

Add new message types JOIN and UPDATE accordingly, with a new message content for each of them.
Update Block to be comparable by epoch.
Note: all the missing blocks are sent to every process and then again through echoes which is not desirable.
Solves issue #4
…inalized status where children blocks can be accessed by the hash of the parent block.

Allow for out of order proposals in case of network problems by letting the blockchain hold those blocks (which are not possible to access if the search starts at the genesis block) and by finalizing a given block if one of its children can find a finalized block or if this block is in an interval of blocks from consecutive epochs of enough size for it to be finalized
… UPDATE message and processes all the blocks received from the other nodes, inserting only the ones that it has not seen before (if any)
…ce" to "persistence"), InitializeFromFile is not perfect, needs to be updated
…c to another class. Update git ignore to ignore the output folder.

(has a lot of debug messages and there is still a bug related with the finalization of the last notarized block when the node crashes and then comes back)
…(logging is still pending...), also, now instead of storing the blockNode twice, the "blockchain" is just a chain of hashes. (this code REALLY needs to be reviewed and to ensure every function is needed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants