aggstam
a9fe80715b
consensus: fixed consensys state sync
2023-02-07 23:59:28 +02:00
aggstam
90f3a0fea7
consensus/task/consensus_sync: removed redundant check
2023-02-07 19:47:50 +02:00
aggstam
92e2457f2c
consensus: fixed initial sync
...
Since protocol to receive finalized slots/blocks was already attached, when a node was syncing if a finalization occured, the block was stored and the node was thinking that it was synced.
2023-02-06 18:47:37 +02:00
aggstam
401354da91
consensus: simplyfied previous leaders count
2023-01-27 15:44:34 +02:00
aggstam
f86a554ff8
consensus: cleaned derived coin blind handling
2023-01-18 20:05:00 +02:00
aggstam
3f6fc0d7af
consensus: simplyfied total stake calculation and removed slot offset logic
2023-01-15 17:47:11 +02:00
aggstam
c894a63f6b
consensus/task/block_sync: force recheck to sync of slot checkpoints after blocks have been synced
2023-01-15 15:22:46 +02:00
aggstam
a87a9cc57e
consensus: add missing log targets
2023-01-15 14:47:52 +02:00
aggstam
4dadf292ec
fmt, fixed broken imports, general cleanup
2023-01-12 13:52:26 +02:00
mohab metwally
bc8d7886da
clean unused imports, commented code
2023-01-12 02:45:47 +02:00
mohab metwally
ec85f05bb6
resolve conflict
2023-01-12 02:03:31 +02:00
x
5702976798
cleanup logging project wide
2023-01-02 14:47:55 +01:00
parazyd
71cd3064d6
Update license year.
2022-12-28 13:06:00 +01:00
aggstam
611028d3e6
consensus: use slot checkpoint coins for leader lottery
2022-12-27 20:13:49 +02:00
aggstam
034bd2fd4f
consensus: differentiate bootstrap timestamp from genesis, to not break slot calculation on network restarts
2022-12-20 15:32:29 +02:00
aggstam
1af30e6975
consensus/consensus_sync: fixed stupid check
2022-12-18 21:07:42 +02:00
aggstam
402e313100
consensus: sync fixes and more checks to trigger resync
2022-12-18 20:06:59 +02:00
aggstam
c8165d5320
consensus: fixes and additions
...
create coins after sync, eta sync fixed, bootstrap logic added so nodes can start proposing immediately, node wait genesis timestamp if in future
2022-12-18 04:10:49 +02:00
aggstam
f2da17ea1e
consensus: verify proposer eligibility via coin age
2022-12-18 02:02:33 +02:00
aggstam
15f4a34daa
consensus/task/proposal.rs: typo
2022-12-17 20:13:13 +02:00
aggstam
1f48e01a26
consensus/task/consensus_sync: missing unsbscribe added
2022-12-17 19:32:23 +02:00
aggstam
ae538b08b9
consensus:proposal_task(): redesign completed, consensus minor fixes
2022-12-17 19:25:34 +02:00
aggstam
abfc86c0fb
WIP: consensus/consensus_sync(): redesign
2022-12-16 18:40:41 +02:00
aggstam
40313cd6f5
consensus:proposal_task(): sync duration added to reset retries counter
2022-12-15 19:08:40 +02:00
aggstam
d4d5374051
consensus:proposal_task(): added missing import
2022-12-15 18:36:18 +02:00
aggstam
e19da575b9
WIP: consensus/proposal_task(): resync impl added in case node misses a slot due to processing
2022-12-15 18:34:52 +02:00
parazyd
905586a638
cargo fix
2022-12-07 12:53:52 +01:00
aggstam
3b711b632d
consensus:proposal_task(): detach broadcasting only if needed
2022-12-02 19:40:09 +02:00
aggstam
b7ac8bede6
consensus: deteached broadcasting finalized blocks/slotcheckpoints in proposal_task()
2022-12-02 19:31:52 +02:00
aggstam
ae24fd7674
consensus: leaders history sync fix, fmt
2022-12-02 14:55:03 +02:00
aggstam
0fee6b319c
consensus: broadcasting finalized slot checkpoints impl added, minor fixes
2022-12-01 20:37:53 +02:00
aggstam
ba5355f21e
consensus: fork state checkpoints logic added
2022-12-01 18:00:00 +02:00
aggstam
9b013fbc5d
consensus: removed redundant leaders_spent_coins
2022-12-01 16:11:00 +02:00
aggstam
13d2b3e9a0
consensus: moved consensus state corresponding functions from ValidatorState(validator.rs) to ConsensusState(state.rs)
2022-12-01 12:34:46 +02:00
aggstam
6bc24e54ef
consensus: hot/live slot checkpoints sync impl added as part of consensus_sync task
2022-11-29 17:00:08 +02:00
aggstam
4d819bf716
consensus: slot checkpoints sync impl added as part of block_sync task
2022-11-29 16:49:45 +02:00
mohab metwally
d80d02ff04
[consensus] clip f value, pruned nonce_cm for lead coin, commented derived coins
2022-11-29 02:58:56 +02:00
mohab metwally
da64f6115b
[consensus] reward for leaders
2022-11-27 17:34:03 +02:00
aggstam
931e1dd3cc
consensus: empty slots and offste calculations tunning
2022-11-27 15:57:38 +02:00
aggstam
af9ac14917
consensus: cleaned total stake calculation
2022-11-27 01:12:18 +02:00
aggstam
c6594676e2
consensus: removed douplicate sigmas generation on proposal, cleanup
2022-11-27 00:35:02 +02:00
mohab metwally
015dd222e0
[consensus] validate public values sigmas
2022-11-26 19:50:15 +02:00
aggstam
0f3d8e29b1
consensus: include nullifiers and spent coins when syncing consensus state
2022-11-25 19:37:32 +02:00
aggstam
9f43a66011
consensus: removed douplicate sigmas generation on proposal
2022-11-24 16:01:07 +02:00
aggstam
d6aa0d32ad
consensus: overall empty slots calculation along with slots offset logic
2022-11-24 15:16:21 +02:00
parazyd
349c1d7096
consensus/state: Optionally create proving keys for leadership proofs.
...
We don't need it if we don't participate in consensus.
2022-11-24 11:06:36 +01:00
aggstam
8111495dc5
consensus: fmt
2022-11-23 23:06:52 +02:00
mohab metwally
4f45b5cae3
[consensus/state] dynamic f implemented
2022-11-23 18:15:17 +02:00
aggstam
ee10a54648
consensus: major changes implemented
...
finalization syncing period implemented, finalization logic improvements, fork logic improvements, use blockhash instead of header hash as identifiers, remove redundant DELTA, minor fixes
2022-11-18 02:32:47 +02:00
aggstam
0bd7d8a376
consensus: chopped Participants
2022-11-16 20:51:11 +02:00