-
Notifications
You must be signed in to change notification settings - Fork 3
Refactor: block tree and fork choice #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
9a44c3b
feature: anchor block and state
xDimon 48705c1
refactor: changes generating some files
xDimon 2597140
draft
xDimon ab14d7a
draft
xDimon 64113fc
refactor: log config over cli
xDimon 06cfe1a
fix: review issues
xDimon adfb692
draft
xDimon 8b665f2
draft
xDimon c935b3e
git: Merge branch 'master' into refactor/block_tree_and_forck_choice
xDimon 186a4a6
fix: test
xDimon 193479d
more logs
xDimon 16597ea
fix: receiving and import blocks with correct
xDimon d4fa0af
fix: fork-choice initialization after restart
xDimon bf61bf8
docs: update README with instructions to clear data repositories and …
kamilsa 3711251
hotfix
xDimon ec96d97
hotfix
xDimon 0df1d8a
refactor: approach of store and operate with attestations and signatures
xDimon 6960f45
git: Merge branch 'master' into refactor/block_tree_and_forck_choice
xDimon 241fede
fix: tests
xDimon 88075cb
+ todo
xDimon a545459
refactor: bit_cast for hash_tree_root
xDimon 718dff6
+ todo
xDimon 098bf93
fix: lru cache and cover it by tests
xDimon 685a40d
fix: interval enumeration if log
xDimon 2146991
digest-banner
xDimon 442ac89
feature: save/restore finalized and justified block
xDimon b37a3ec
fix: digest-banner
xDimon f161609
hotfix
xDimon 63a0d59
fix: use last justified over block tree
xDimon c981ad1
improve validation checks for attestation targets in fork choice logic
kamilsa c004b2c
improve connection handling in networking module
kamilsa 555d9cf
fix: tests
xDimon 8e2cf16
fix: TODOs, tests, etc. and update
xDimon efabce9
refactor: import of block with its children and use queue
xDimon ff73f49
update: qtils
xDimon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,8 @@ | ||
| # Genesis Settings | ||
| GENESIS_TIME: 1763468331 | ||
| GENESIS_TIME: 1767089000 | ||
| # Key Settings | ||
| ACTIVE_EPOCH: 18 | ||
| # Validator Settings | ||
| VALIDATOR_COUNT: 1 | ||
| GENESIS_VALIDATORS: | ||
| - "b3183808a14d1875748fd96989441855092ef73c6bf5a7680f03b32d1c12f96ec4659e64fd526f3d975eb168907ee7589946f972" | ||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Hash-Signature Validator Keys Manifest | ||
| # Generated by hash-sig-cli | ||
|
|
||
| key_scheme: SIGTopLevelTargetSumLifetime32Dim64Base8 | ||
| hash_function: Poseidon2 | ||
| encoding: TargetSum | ||
| lifetime: 4294967296 | ||
| log_num_active_epochs: 18 | ||
| num_active_epochs: 262144 | ||
| num_validators: 4 | ||
|
|
||
| validators: | ||
| - index: 0 | ||
| pubkey_hex: 0xb3183808a14d1875748fd96989441855092ef73c6bf5a7680f03b32d1c12f96ec4659e64fd526f3d975eb168907ee7589946f972 | ||
| privkey_file: validator_0_sk.json | ||
|
|
||
| - index: 1 | ||
| pubkey_hex: 0xd89fef7b41821a67c118e26808f48e28d00cbe082a1f88369b8828147f3905656b3b04785a5b26403a0c0a574b4f333bd4d48a03 | ||
| privkey_file: validator_1_sk.json | ||
|
|
||
| - index: 2 | ||
| pubkey_hex: 0xd404bb1091a750710952a64b22240d0013bcc66a64b5b1780b89b120c0dd7d212fa3cb5e42f56e74fcc68950e6b493647524a627 | ||
| privkey_file: validator_2_sk.json | ||
|
|
||
| - index: 3 | ||
| pubkey_hex: 0xb196071b88a6f16d658e512f753be6222e54e91a19e0d676201ac5161cd90e1e40210d36e024f81ae30ee67714092009c20b415c | ||
| privkey_file: validator_3_sk.json |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {"root":[2087627763,754406247,1168254309,360212415,1578884007,772417919,1172421982,1682864316],"parameter":[472747929,573156706,1979134263,986355730,1782443694]} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.