Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Sanchez Quiros 84ac7ed459 Fix encoding and test 2024-04-01 17:17:30 +02:00
Daniel Sanchez Quiros 6d438d5a18 Use domain elements instead of roots of unity in tests 2024-04-01 14:59:06 +02:00
Daniel Sanchez Quiros 38fe0e8171 Refactor evaluations into method 2024-03-30 13:29:46 +01:00
Daniel Sanchez Quiros a619bb362c Use coefficient form 2024-03-29 22:00:38 +01:00
Daniel Sanchez Quiros d4ae8fe66f Implemented bytes_to_polynomial and tests 2024-03-29 15:36:52 +01:00
Daniel Sanchez Quiros 687baeb9a1 Added new kzgrs core module 2024-03-29 15:36:40 +01:00
Daniel Sanchez Quiros c06962b944 Removed old kzg rs modules 2024-03-29 15:36:19 +01:00
danielsanchezq 3a06e8f8d8 Base cleaning of da to new traits/structure
Added new da protocols and types
2024-03-28 14:36:39 +02:00
Youngjoon Lee acd15a4ed5
Update code related to rust-kzg according to its latest ver (#538) 2023-11-28 17:55:55 +09:00
Al Liu c3422c196c
New http api to nomos-node integration (#490)
* Integrate new http api to nomos-node
2023-11-08 16:55:47 +08:00
Youngjoon Lee c3478cf6a6
Set voter to DA attestation (#498) 2023-11-02 18:44:31 +09:00
Al Liu ba90ed1b55
Nomos http API (#476)
* Info api

* Da blob api (#487)

* Add storage api for new http backend (#488)

* Mempool add APIs (#489)
2023-11-01 17:14:58 +08:00
Al Liu 9b3c675b3a
Metrics api (#466)
* Add metrics API
2023-10-31 17:20:04 +08:00
Giacomo Pasini e50561839d
Remove block contents from mempool (#485)
* Add Hash type param to Attestation and Certificate

* remove block contents from mempool
2023-10-30 12:38:04 +01:00
Al Liu dbac7d7597
fix clippy and check warnings (#452) 2023-10-06 15:08:52 +08:00
Giacomo Pasini f9c446e48c
Add a canonical way to get an id for Attestation and Certificate (#448)
* add hash() method on Attestation and Certificate

* clippy
2023-10-02 15:59:57 +02:00
Daniel Sanchez 95618c0a72
Use selection for blob certificates (#427)
* Use selection for blob certificates

* Fix bin imports

* Fix rebase

* Missing blobs -> certificates refactor

* Fix attestation and certificate as_bytes

* More naming refactors
2023-09-25 15:34:05 +02:00
Giacomo Pasini 5e194922c6
Add da service to nomos node (#404)
* Make  the data availability service work with multiple protocols

* Add a generic way to instantiate DaProtocol

Add settings type and a new `new(Self::Settings)` method to
build a new DaProtocol instance

* Add data availability service to node

* fix tests

* fix imports
2023-09-18 11:43:24 +02:00
Giacomo Pasini d72e54f9be
Add full replication implementation for DA (#396)
Add an initial simple but functional implementation for a data
availability protocol.
Full replication simply encodes bytes in a single blob which is
replicated in all nodes.
2023-09-13 11:01:20 +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