Daniel Sanchez
bc453b686f
Consensus orchestrator ( #128 )
...
* Add happy-path consensus engine
* tmp
* Fit types from spec (#124 )
* Match types to spec
* Remove Output import
* Consensus engine rework (#126 )
* rework
* fix test
* clippy happy
---------
Co-authored-by: Giacomo Pasini <Zeegomo@users.noreply.github.com>
* Adapt carnot network adapter interfaces and implementations
* Fix errors
* Update network with engine types
* Fit types yet again
* Remove leadership and old overlay
Create carnot event builder
Added some adjustments
* Add view to vote
* Fix serde derive in consensus-engine
* Add serde feature for engine in core
* Use view in tally
* Move carnot tally to consensus service
* Add new view msg
* Fit engine types in adapter
* Missing serde feature in consensus service
* Implement carnot event builder
* Implement even builder run main tasks
* Fill up view resolver
* Fix errors on network adapter implementations
* Clippy happy
* Extract event handling to independent methods in View
* Fix test
* Refactor carnot event builder (#135 )
* refactor
* format
* Discriminate proposal messages (#136 )
* Derive block id from wire format (#139 )
* Derive block id from wire format
* Derive id on block creation
* Use compile time hash size
* Add leader role (#138 )
* add leadership stub
* fix gather_new_views
* fmt
* actually build qc
* remove redundant fields
* add flat overlay (#143 )
* add flat overlay
* fix
* sort imports
* fix tests
* Unhappy tally (#137 )
* Refactor tally module
* Implement tally for new view messages
* Assess pr comments
* Fix rebase
* simplify tally
---------
Co-authored-by: Giacomo Pasini <g.pasini98@gmail.com>
* Working node (#149 )
* fix gather_new_views
* working node
* fix unhappy path
* remove leftover
* fix comments
* update waku (#146 )
* update waku
* Fix waku update
---------
Co-authored-by: danielsanchezq <sanchez.quiros.daniel@gmail.com>
* little fixes
* Consensus tasks cancellation (#147 )
* fix
* Create view cancel and cancel cache
* Attach cancellation to consensus tasks
* Fix view binds
---------
Co-authored-by: Giacomo Pasini <g.pasini98@gmail.com>
---------
Co-authored-by: danielsanchezq <sanchez.quiros.daniel@gmail.com>
* Remove clones on consts
---------
Co-authored-by: Al Liu <scygliu1@gmail.com>
Co-authored-by: Giacomo Pasini <g.pasini98@gmail.com>
Co-authored-by: Giacomo Pasini <Zeegomo@users.noreply.github.com>
2023-05-22 14:56:56 +02:00
Giacomo Pasini
fdc22111d3
use nanosecond precision in waku timestamp ( #152 )
2023-05-18 15:19:36 +02:00
Giacomo Pasini
bbd313f70a
update waku ( #146 )
...
* update waku
* Fix waku update
---------
Co-authored-by: danielsanchezq <sanchez.quiros.daniel@gmail.com>
2023-05-15 16:21:49 +02:00
Daniel Sanchez
91ce4e6fa1
Make a transaction trait ( #98 )
...
* Impl Transaction trait
* Impl Transaction for MockTransaction
* <ake carnot transaction a module
* Refactor consensus to use Transaction
* Fix tests
* Constrain Transaction::Hash
* Refactor redundant Carnot in CarnotTx
2023-03-16 22:42:56 -07:00
gusto
4981c724af
Http status codes ( #88 )
...
* Include status codes in http error responses
* Mockpool bridges error handling
* Last TX in milliseconds in mempool metrics
* u64 for last tx metrics
2023-03-06 15:19:27 +02:00
gusto
42ea8f9be3
Update waku-bindings to 0.1.0-rc.2 ( #86 )
2023-03-06 15:18:27 +02:00
Daniel Sanchez
55aece674b
Update to waku rc 1 ( #80 )
2023-02-22 15:55:59 +01:00
Daniel Sanchez
320755d19d
Detach tx broadcast from mempool ( #69 )
...
* Remove send tx method from mempool network adapter
* Add error reporting to add_tx operation in mempool
Delegate broadcasting to external caller
2023-02-08 11:07:09 +01:00
gusto
5f21a2734a
Add endpoint to make a new peer conn for mockpool node ( #68 )
...
* Add enpoint to make a new peer conn for mockpool node
* Pass multiple addresses in connection request
* Join async reqs to network service, cleanup
* Collect and join reqs
2023-02-07 17:50:38 +02:00
Daniel Sanchez
9a8400f4ce
Use blake 2b instead of 2s for mockpool node TxId ( #62 )
...
* Use blake 2b instead of 2s
* Clippy happy
2023-02-02 00:20:16 -08:00
Daniel Sanchez
567188c248
Fix blake2b usage on mockpool node tx ( #61 )
2023-02-01 04:10:57 -08:00
Daniel Sanchez
dbe36bba3c
Mockpool node ( #53 )
...
* Create nodes folder
Kickstart mockpool node
* Create nodes folder
Added bridges file
* Added metrics to mempool
* Remove metrics from node
* Added mempool metrics bridge
* Pipe in mempool_metric bridge
* Add wakuinfo to waku network service
* Add waku network info bridge
* Added waku info bridge to node
* Use mock Tx wrapper over a string
* Create add tx http bridge
* Add tx bridge to http config
* Use hash for Tx
* Remove tracing subscriber from binary
* Fix bridges routes
* Added mimimal configuration example
* Remove subscribing to default waku pubsub topic
* Use addtx payload for tx
* Remove pub serde mod from core transaction
* Clippy happy
* Id from &Tx instead of owned value
* Removed mempool metrics feature
2023-01-25 07:24:33 -08:00