* test: getters for Branches
- derive(PartialEq) for Branch
* fix: format code
* test: Slot genesis and add
* fix: change expect message
* test: add ParentMissing error case
- derive(PartialEq) only for tests
* fix: false positive for ParentMissing
* fix: add PartialEq to derive for Branch
* fix: unwrap once only
* fix: simply create an Id
* fix: remove inappropriate meaning
* fix: simplify unwrap for branches.get()
* Switch from Carnot to Cryptarchia
* Do not delete old coins
* Update tests/src/lib.rs
Co-authored-by: davidrusu <davidrusu.me@gmail.com>
* clippy happy
---------
Co-authored-by: davidrusu <davidrusu.me@gmail.com>
* Refactor Block/Header definition
Refactor block/header definition so that it's now responsibility
of the nomos-core crate. This removes definitions in ledger/consensus
crates since there's no need at that level to have an understanding
of the block format.
The new header format supports both carnot and cryptarchia.