Giacomo Pasini
495e0c119a
Add orphan proofs validation ( #69 )
...
* Add orphan proofs validation
* Update cryptarchia/cryptarchia.py
Co-authored-by: davidrusu <davidrusu.me@gmail.com>
---------
Co-authored-by: davidrusu <davidrusu.me@gmail.com>
2024-02-09 15:12:12 +01:00
David Rusu
bddaa40d63
test coin minting and stake stabilizing
2024-02-06 22:19:08 +04:00
David Rusu
3f681fc51f
update block id spec; typo
2024-02-06 20:19:30 +04:00
David Rusu
5c3de9ab84
implement support for leader-proofs generated from evolved coins
2024-02-06 20:07:26 +04:00
David Rusu
eebf439a30
feat(leader_coin): add nonce and coin.evolve() api
2024-02-06 19:31:34 +04:00
Giacomo Pasini
c1e12d6ce8
Add epoch transition to spec ( #63 )
...
* Add epoch transition to spec
* add tests
* Add block to fork after validation
* Add configs for steps inside an epoch
* rename get_last_valid_state to state_at_slot_beginning
2024-02-06 14:38:20 +01:00
David Rusu
9345af0614
test ledger state is properly updated on re-org
2024-02-01 21:33:37 +04:00
David Rusu
45bddc0e21
Follower maintains ledger state as it follows the chain
2024-02-01 15:08:50 +04:00