Commit Graph

355 Commits

Author SHA1 Message Date
Daniel Sanchez ece4b90550
Add testing NoSerde operator (#9) 2022-11-21 06:15:28 -08:00
Giacomo Pasini 61de96a5d3
Add Waku network backend (#3)
* Add Waku network backend

Add Waku as the first supported network backend and rework API.
In particular, the network message now depends on the underlying
network backend so that it can properly reflects specificities
of the protocol.
Another choice could have been to hardwire domain-specific actions
in the network message type (e.g. send block, send message, ...)
but was discarded in favor of a more general network service.

* address review comments

* add debug impl

* add Serialize/Deserialize to network settings

* add waku functionalities

* add a little bit of documentation
2022-11-21 12:03:47 +01:00
Daniel Sanchez a343249d92
Storage service (#6)
* Added storage main files and trait

* Pipe skeleton for StorageService

* Implement running StorageService

* Add sled module

* Refactor error reporting

* Missing logging todo

* Implement mock storage

* Add channel for auto-converting types on channel replies

* Simplify StorageBackend trait

* Refactor mock backend and use HashMap

* Remove sled for now

* Refactor serialization scheme

* Add storage traits docs

* Make transaction a custom trait. This way we can return stuff from the transactions themselves if needed.
2022-11-18 09:46:54 +01:00
Giacomo Pasini 0fcfd92a55
Initial network service (#2)
* initial network service

* [style] unpack inbound relay
2022-11-03 06:28:37 -07:00
Daniel Sanchez e9857d979b
Initial commit 2022-10-25 13:40:24 +02:00