-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(code): Compute hash from block parts, send Invalid if it doesn'…
…t match the metadata (#242) * Add validity check when building the value from parts, send validity to consensus. * Return all parts in ascending sequence order * Trim last tx batch block part when max block size is reached. * Cargo fmt * Clear the mempool on update for now.
- Loading branch information
1 parent
e7f5db7
commit 7fcbbf3
Showing
3 changed files
with
75 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters