108 Commits

Author SHA1 Message Date
Sudipta Basak
a656f362d9
Merge remote-tracking branch 'origin/gossipsub' into gossip-node-type 2024-07-03 14:04:18 +00:00
Sudipta Basak
f3f1e8664d
Fixed rounding error for number of nodes 2024-06-10 19:00:29 +00:00
Sudipta Basak
0e51082f71
Changed nodeType configuration structure 2024-06-10 07:07:14 +00:00
Sudipta Basak
c5214093ea
Simulator progressVector updated 2024-06-04 07:02:31 +00:00
Sudipta Basak
eb141deb5b
Compact code 2024-06-01 11:14:53 +00:00
Sudipta Basak
1e4aefe261
things are good before the plotting part 2024-05-30 14:49:40 +00:00
Arunima Chaudhuri
d9f29dc5f2 2024-05-29 11:48:09 +00:00
Arunima Chaudhuri
45f773b184 add gossipsub as a parameter in the config file
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-05-21 08:34:58 +00:00
Arunima Chaudhuri
5718fe14b7 Gossipsub implementation
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-05-20 14:02:39 +00:00
Arunima Chaudhuri
04004ed1fb make the changes on study level
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-29 21:49:57 +00:00
Arunima Chaudhuri
d591c1724f Implement stop and resume functionality
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-27 20:38:47 +00:00
Arunima Chaudhuri
c4db8e408e store config shape in pickle files
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-27 11:22:56 +00:00
Arunima Chaudhuri
705ab8a962 Implemented state saving and completion check using pickle files
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-03-24 21:00:18 +00:00
Csaba Kiraly
03bfe0a8aa
Merge branch 'develop' into published-copies
# Conflicts:
#	smallConf.py
2024-03-04 17:29:28 +01:00
Csaba Kiraly
5e0afdd233
Merge branch 'node-and-validator' into develop
# Conflicts:
#	DAS/node.py
#	DAS/shape.py
#	DAS/simulator.py
#	smallConf.py
2024-03-04 11:54:25 +01:00
Csaba Kiraly
b22a096cbc
set number of copies of rows/columns published
Sets how many copies are sent out by the block producer over
rows and over columns.
Note, previously this was set to match netDegree in both
dimensions. We keep this default.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-04 10:17:46 +01:00
Csaba Kiraly
911ee6b6e4
fix validator progress counter
if custody is based on the requirements of underlying individual
validators, we can get detailed data on how many validated.
Otherwise, we can only use the weighted average.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-03-01 10:46:24 +01:00
Leonardo Bautista-Gomez
a1f43578db Change row and column custody. Rename blockSizeR and blockSizeC 2024-02-27 21:35:51 +01:00
Csaba Kiraly
36d098cea3
Merge branch 'visual'
New visualizer module with updated plots, and plotting after each run.
2024-02-19 13:53:15 +01:00
Arunima Chaudhuri
7e388ba8ca Merge branch 'maliciousNode' of https://github.com/status-im/das-research into maliciousNode 2024-02-18 22:16:24 +05:30
Arunima Chaudhuri
94b9f4bdae add expectd line in graph&rem evenLineDist in conf
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-18 22:16:16 +05:30
Sudipta Basak
6acf8a8285 fixed columns array size 2024-02-18 14:22:57 +01:00
Arunima Chaudhuri
7875023ef0 Independent dimensions
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-15 23:48:30 +05:30
Csaba Kiraly
5a249fe238
adding individual Validator objects behind Node
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-06 11:28:15 +01:00
Csaba Kiraly
d782e9c5ab
fixup: renaming 2024-02-06 11:28:06 +01:00
Csaba Kiraly
5951a90056
renaming Validator object to Node
In the SubnetDas model Nodes behave as previous validators,
getting samples (whole columns) from GossipSub.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-05 14:22:29 +01:00
Arunima Chaudhuri
7ed3d8c690 Debugged to ensure accurate results
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-02-02 23:27:38 +05:30
Arunima Chaudhuri
f2a51eb8e1 Introduce randomization for malicious nodes
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-01-23 01:46:18 +05:30
Arunima Chaudhuri
eb8588df9f Introduce 'maliciousNode' parameter
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-01-21 01:27:17 +05:30
Csaba Kiraly
b49be37489
handle two dimensions on Chi separately
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>

# Conflicts:
#	DAS/simulator.py
#	DAS/validator.py
2023-07-12 14:13:05 +02:00
Csaba Kiraly
e18822b8aa
handle 2 dimensions separately (except visualizer)
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>

# Conflicts:
#	DAS/simulator.py
#	DAS/validator.py
2023-07-12 14:13:05 +02:00
Csaba Kiraly
db5fd6c157
add TODO on proposerPublishTo
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-12 14:12:36 +02:00
leobago
562ef5122f More output 2023-06-11 19:30:10 +02:00
Csaba Kiraly
16e32a3f98
Merge branch 'develop' into failureMode 2023-05-02 15:05:54 +02:00
Csaba Kiraly
293914e1c3
move initBlock code after network setup
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-02 13:47:08 +02:00
Csaba Kiraly
06e70e1b40
configure bandwidth in mbps
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-02 13:37:57 +02:00
Leonardo Bautista-Gomez
dfec7bcde8
Clearer debugging data and add row/column distribution to results 2023-05-02 12:22:21 +02:00
Csaba Kiraly
f47f46a330
fix validator assignment when evenLineDistribution = True
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-02 12:19:08 +02:00
Csaba Kiraly
08e67cbeb1
measure validation progress more precisely
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-02 12:19:08 +02:00
Leo
b2df64f8b9
Merge pull request #42 from status-im/failureRate-exact
make failureRate exact
2023-04-19 16:52:08 +02:00
Csaba Kiraly
1638a18507
make failureRate exact
simplify code and make sure failureRate is the exact
portion of segments missing, not just a probability per
sample.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-04-18 14:54:38 +02:00
Csaba Kiraly
b74ac19557
fixup: increase step counter while steps4StopCondition
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-04-18 12:49:59 +02:00
Leonardo Bautista-Gomez
d51cefabb7 Merge branch 'addDiagnostics' into develop 2023-04-13 13:39:33 +02:00
Leonardo Bautista-Gomez
c4ad3cf80e Small fix 2023-03-30 16:10:10 +02:00
Leonardo Bautista-Gomez
ae36844e7f Add stop condition fix 2023-03-30 14:26:14 +02:00
Leonardo Bautista-Gomez
d2a653b07c Remove plotting config 2023-03-30 14:11:12 +02:00
Leonardo Bautista-Gomez
1ae4352dad Fix merge remote-tracking branch 'origin/develop' into addDiagnostics 2023-03-30 14:06:17 +02:00
Leonardo Bautista-Gomez
699a912991 Merge branch 'develop' into addDiagnostics 2023-03-30 13:56:09 +02:00
Leonardo Bautista-Gomez
4b7bf81cee Remove stop condition fix 2023-03-30 13:52:40 +02:00
Leonardo Bautista-Gomez
98423d29c0 Typos and sets 2023-03-30 13:49:01 +02:00