Giacomo Pasini
50cff241fe
Refactor block ( #609 )
...
* 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.
2024-03-13 18:46:10 +01:00
Daniel Sanchez
04d07038dc
Remove unused fountain codes ( #407 )
...
* Remove unused fountain codes
* Refactor ProposalChunk to Proposal
2023-09-15 09:39:53 +02:00
Daniel Sanchez
e1e2b84921
Block building core ( #401 )
...
* Move core block to folder base module
* Added blob select trait
* Added tx select trait
* Implement blob and tx selection filling size
* Added blobs to block constructor
Added block builder module
* Implement block builder
* Remove unnnecesary phantoms
* Add default impl for selections
* Added example
* Fix typos
Co-authored-by: Youngjoon Lee <taxihighway@gmail.com>
* tx to item on generic function
Co-authored-by: Youngjoon Lee <taxihighway@gmail.com>
---------
Co-authored-by: Youngjoon Lee <taxihighway@gmail.com>
2023-09-15 09:39:16 +02:00
Daniel Sanchez
8da13f7012
Da nomos core ( #390 )
...
* Refactor da modules
Include da core module in nomos-core
* Include attestation trait
* Added initial approach for Da protocol
* Added empty certificate trait
* Added certificate dispersal method
* Rename validate method to validate attestation
* Clippy happy
* Add validate certificate method
2023-09-11 17:44:26 +02:00
Daniel Sanchez
96e3c2d499
Da service backend ( #381 )
...
* Add basic da module and traits
* Pipe new blobs and internal message handling
* Add and pipe send attestation method
* Add blob trait
* Make da backend async
* Implement mocka backend
* Bound blob in da backend to blob trait
* Added remove blob
* Rename reply to attestation
2023-09-08 11:27:52 +02:00
Daniel Sanchez
274e8d55fd
Voting core primitive ( #82 )
...
* Add tally trait
Implement mock tally
* Add tally to consensus
* Use tally in implemented overlays
* Clippy happy
* Scratch carnot voting as per specification
* Add missing derives
* Clippy happy
* Fix tests
* Add checks on valid votes
* Refactor ApprovalMsg to VoteMsg
* Remove no vote in MockVote and MockQC
* Remove no vote in MockVote and MockQC
* Remove timeout todo
* Fix tests
2023-03-14 03:32:36 -07:00
Giacomo Pasini
efb1690872
Add transaction type ( #50 )
...
* Add transaction type
2023-01-18 15:02:58 +01:00
Giacomo Pasini
0229337414
Add leadership stub ( #22 )
...
* add leadership stub
* move types to core
* clippy happy
2023-01-10 11:33:08 +01:00
Daniel Sanchez
fc75ad1732
Fountain codes ( #37 )
...
* Add fountain module and raptorq basic implementation
* Add basic encode/decode test
* Use Stream for trait instead of Iterator
* Removed unnecessary pin
* Add custom fountain error
* Add failing path to tests
* Added docs
2023-01-05 10:35:12 +01:00
Daniel Sanchez
fb3fd6f3b1
Nomos core ( #28 )
...
* Extract block to core crate
* Added linking flag for waku
* Cleanup imports
* Add missing core files
* Create more base mods
2022-12-13 15:35:11 +01:00