1
0
mirror of synced 2025-02-10 14:46:56 +00:00

568 Commits

Author SHA1 Message Date
Roman
ba703b8cef
test: disperse random data 2024-11-04 13:50:41 +08:00
Roman Zajic
a4ffffb898
Merge branch 'master' into chore-da-behavior-membership-tests 2024-11-04 12:01:55 +08:00
Daniel Sanchez
c237333791
Mix: Use streams in message blend and mix service (#896)
* Use streams in message blend and mix service

* Refactor temporal stream method naming

* Clippy happy

* Clippy test happy

* Undo coupling

* Remove bypassing from blend

* Clippy happy

* Un-entangle tiers

* Send local messages to persistent transmission

Co-authored-by: Youngjoon Lee <5462944+youngjoon-lee@users.noreply.github.com>

---------

Co-authored-by: Youngjoon Lee <5462944+youngjoon-lee@users.noreply.github.com>
2024-11-02 22:57:10 +01:00
Roman
dedf5d89fe
test: give 15 seconds for validator before exit 2024-10-31 22:01:45 +08:00
Roman
ca85c7dfba
test: built-in timeout instead of select 2024-10-31 21:50:06 +08:00
Roman
a93d082056
test: double the timeout value 2024-10-31 21:14:22 +08:00
Roman
46f3300fe7
fix: add time for validator swarm 2024-10-31 20:57:29 +08:00
Roman
d4a20fbe30
fix: revert back to validators only in addressbook
- add comment
2024-10-31 17:11:52 +08:00
Roman
a546af4869
test: only executors in addressbook 2024-10-31 16:58:48 +08:00
Roman
1121ffabda
test: add executor swarms to addressbook 2024-10-31 10:32:30 +08:00
Roman
8397a1f043
fix: create single membership for all swarms 2024-10-30 21:36:33 +08:00
Roman Zajic
6ee5870200
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-30 20:21:35 +08:00
Roman
e7f90a6bc6
fix: changes for core review 1 2024-10-30 20:18:33 +08:00
Daniel Sanchez
2f92c183ab
Mix: Implement blend as stream + extension (#864)
* First attempt

* Implement blend as stream and extension

* Implement blend as stream and extension
2024-10-30 11:50:15 +01:00
Giacomo Pasini
9b5d4d329e
Move POL definition into nomos-core (#837) 2024-10-30 11:46:51 +01:00
Roman Zajic
07b215e885
fix: Codecov workflow output directory cleanup (#866)
* fix: self-hosted runner needs clean up

* fix: remove on push trigger
2024-10-30 17:15:27 +08:00
Giacomo Pasini
3213453c43
[CL-1] Add proofs to CL txs (#850)
* Add missing tx proofs to complete bundle validation

* address review comments
2024-10-30 10:07:55 +01:00
Roman
560456349c
fix: simplify is_allowed 2024-10-30 15:14:07 +08:00
Roman
30f38d462c
fix: remove TestWaker 2024-10-30 14:35:46 +08:00
Roman
504968973c
fix: use watch channel to terminate executors
- bump port numbers for quick to workaround stuck processes
2024-10-30 14:26:32 +08:00
Roman
336ee493e6
fix: remove unnecessary check for validator swarm 2024-10-29 22:20:44 +08:00
Roman
57ef85f191
fix: implement clippy suggestions 2024-10-29 21:58:24 +08:00
Roman Zajic
25c243da3d
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-29 21:41:15 +08:00
Roman
868614eb8a
fix: remove select for executor swarm 2024-10-29 21:38:08 +08:00
Roman Zajic
6567a2d890
fix: Codecov workflow conflicting output directory (#862)
* fix: change conflicting output directory name

* test: try to remove unwanted software

* test: run on self-hosted

* fix: remove dispatch on push
2024-10-29 20:27:05 +08:00
Roman
8b114e6d42
test: increase executor timeout for self-hosted 2024-10-29 18:16:37 +08:00
Roman Zajic
0bfdad6485
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-29 17:38:39 +08:00
Youngjoon Lee
0c0aae0712
Mix: Packet algorithms (#859)
* add keyset

* add packet

* add comments

* add comments

* use functions in sphinx
2024-10-29 17:51:52 +09:00
Roman
eae257615a
fix: add one more retry for executor swarm 2024-10-29 16:30:09 +08:00
Roman
1fddd4ee81
fix: make validator swarm polling more deterministic 2024-10-29 16:29:07 +08:00
Roman
8216868f76
fix: increment retry counter 2024-10-29 12:37:43 +08:00
Roman
7d2e0c8570
fix: add retry counter for executor 2024-10-29 11:09:50 +08:00
Roman
2c39014468
fix: formatting 2024-10-29 11:05:35 +08:00
Roman
fdb9998958
fix: let executor wait for all messages 2024-10-29 10:59:05 +08:00
Roman
8c2041cfac
fix: increase timeouts 2024-10-29 10:44:57 +08:00
Roman
044de28153
fix: re-balance timeouts 2024-10-29 10:26:37 +08:00
Roman
2c0c00d2a0
fix: extend timeout more 2024-10-29 10:10:02 +08:00
Roman Zajic
f7c0585abd
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-29 09:25:27 +08:00
Daniel Sanchez
9d52297cdf
Mix: temporal as stream extension (#861)
* forward msgs immediately without any processing

* Mix: Offload transmission rate and message processing from libp2p behaviour/handler

* Mix: Core skeleton used in `MixService`

* rename Processor to MessageBlend

* Mix: Implement Persistent Transmission (Tier 1) (#845)

* Mix: Add Persistent Transmission (Tier 1)

* add test

* define Coin struct with Uniform distribution for fast repeated sampling

* use ChaCha12Rng for Coin

* improve comment

* Mix: Implement Temporal Processor (Tier 2) (#846)

* Mix: Add Persistent Transmission (Tier 1)

* Mix: Implement TemporalProcessor

* use pub(crate)

* Mix: Use TemporalProcessor in MessageBlend (#847)

* Mix: Add Persistent Transmission (Tier 1)

* Mix: Implement TemporalProcessor

* Mix: Use TemporalProcessor in MessageBlend

* remove duplicate members in Cargo.toml

* Implement persistent transmission as stream trait extension

* Replicate test for stream version

* Temporal processor as stream extension

---------

Co-authored-by: Youngjoon Lee <5462944+youngjoon-lee@users.noreply.github.com>
2024-10-28 17:12:50 +01:00
Daniel Sanchez
e207743f69
Mix: Persistent rate as stream + Extension (#860)
* forward msgs immediately without any processing

* Mix: Offload transmission rate and message processing from libp2p behaviour/handler

* Mix: Core skeleton used in `MixService`

* rename Processor to MessageBlend

* Mix: Implement Persistent Transmission (Tier 1) (#845)

* Mix: Add Persistent Transmission (Tier 1)

* add test

* define Coin struct with Uniform distribution for fast repeated sampling

* use ChaCha12Rng for Coin

* improve comment

* Mix: Implement Temporal Processor (Tier 2) (#846)

* Mix: Add Persistent Transmission (Tier 1)

* Mix: Implement TemporalProcessor

* use pub(crate)

* Mix: Use TemporalProcessor in MessageBlend (#847)

* Mix: Add Persistent Transmission (Tier 1)

* Mix: Implement TemporalProcessor

* Mix: Use TemporalProcessor in MessageBlend

* remove duplicate members in Cargo.toml

* Implement persistent transmission as stream trait extension

* Replicate test for stream version

---------

Co-authored-by: Youngjoon Lee <5462944+youngjoon-lee@users.noreply.github.com>
2024-10-28 15:24:40 +01:00
Roman
4f0231ff26
fix: extend timeout to accommodate slow runner 2024-10-28 20:32:54 +08:00
Roman
c4abaf479d
fix: move futures to shared function section
- remove simple tests
2024-10-28 20:11:07 +08:00
Roman Zajic
61bafc3c8f
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-28 19:48:00 +08:00
Roman
eac478d56d
fix: add assertions for counts 2024-10-28 19:47:32 +08:00
Roman
dd4525fc5e
fix: subnet 1 membership 2024-10-28 19:18:02 +08:00
Roman
a9880f5f7f
fix: assignment to wrong collection 2024-10-28 19:04:00 +08:00
Roman
8975923e97
fix: rewrite run_validator_swarm to count messages 2024-10-28 19:02:14 +08:00
Youngjoon Lee
7aea30132d
Mix: Implement PersistsentTransmission & Temporal/CryptoProcessor and use them in MixService (#844)
* forward msgs immediately without any processing

* Mix: Offload transmission rate and message processing from libp2p behaviour/handler

* Mix: Core skeleton used in `MixService`

* rename Processor to MessageBlend

* Mix: Implement Persistent Transmission (Tier 1) (#845)

* Mix: Add Persistent Transmission (Tier 1)

* add test

* define Coin struct with Uniform distribution for fast repeated sampling

* use ChaCha12Rng for Coin

* improve comment

* Mix: Implement Temporal Processor (Tier 2) (#846)

* Mix: Add Persistent Transmission (Tier 1)

* Mix: Implement TemporalProcessor

* use pub(crate)

* Mix: Use TemporalProcessor in MessageBlend (#847)

* Mix: Add Persistent Transmission (Tier 1)

* Mix: Implement TemporalProcessor

* Mix: Use TemporalProcessor in MessageBlend

* remove duplicate members in Cargo.toml
2024-10-28 17:32:39 +09:00
Roman
47ed7641cb
fix: add message counting to validator tasks 2024-10-28 15:18:59 +08:00
Roman
5be2adec5c
fix: add forgotten await and cleanup 2024-10-28 11:01:01 +08:00