Csaba Kiraly
9fc47d72eb
Revert "Node and validator"
2024-03-04 11:27:50 +01:00
Csaba Kiraly
dc56ba0c44
Merge pull request #55 from codex-storage/node-and-validator
...
Node and validator
2024-03-01 12:34:37 +01:00
Csaba Kiraly
c28a925365
Merge branch 'independent-dimensions' into node-and-validator
2024-03-01 12:34:11 +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
Csaba Kiraly
a634aa07e0
add config.validatorBasedCustody
...
the overall number of row/columns taken into custody by a node is determined by
a base number (custody) and a class specific multiplier (validatorsPerNode).
We support two models:
- validatorsBasedCustody: each validator has a unique subset of size custody,
and custody is the union of these. I.e. VPN is a "probabilistic multiplier"
- !validatorsBasedCustody: VPN is interpreted as a simple custody multiplier
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-29 14:28:13 +01:00
Leonardo Bautista-Gomez
3292d70c1a
Fix shape nbCols and nbRows
2024-02-27 21:55:46 +01:00
Leonardo Bautista-Gomez
a1f43578db
Change row and column custody. Rename blockSizeR and blockSizeC
2024-02-27 21:35:51 +01:00
Leonardo Bautista-Gomez
d1d81a23cf
Change chi to custody
2024-02-27 20:37:38 +01:00
Sudipta Basak
2335b468e3
Merge pull request #57 from sudiptab2100/patch-1
...
Independent Dimensions - Fixed results string in shape.py
2024-02-18 21:31:10 +05:30
Sudipta Basak
00c3b3fe54
plot textBox attribute value fixed
2024-02-17 12:40:17 +01:00
Sudipta Basak
e6b33cb542
Fixed results string in shape.py
2024-02-16 15:42:52 +05:30
Csaba Kiraly
3db9eda5ea
smallConf: changing evenLineDistribution to False
...
Changing default here, since a generic version of even line distribution
is not yet implemented.
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-06 12:12:56 +01:00
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
7ed4413624
not all nodes sample in both dimensions
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-02-05 14:22:30 +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
Csaba Kiraly
cc51b2ba45
fix plotting if row/column sizes differ
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-01-30 14:20:28 +01:00
Csaba Kiraly
9fb2f6cfe6
update example smallConf with N/K
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-12-05 10:37:09 +01:00
Csaba Kiraly
fbb73265c1
fixup: set N/K in observer
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-15 14:24:34 +02:00
Csaba Kiraly
14cdec54cb
fix N/K in error patterns
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-15 14:24:26 +02:00
Csaba Kiraly
cb9616af14
Add N/K to shape
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-15 14:24:10 +02:00
Csaba Kiraly
d2a2c8b137
block: introduce N and K in both EC dimensions
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-15 14:24:00 +02:00
Csaba Kiraly
e805dd9582
smallConf: handle row/column dimensions
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-12 14:13:05 +02:00
Csaba Kiraly
9bd3a698e4
visualizer: workaround for R/C separation
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-12 14:13:05 +02:00
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
f21a9ddb01
block: handle 2 dimensions separately
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-12 14:13:04 +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
Csaba Kiraly
cff3a1526f
extending .gitignore
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-07-12 14:12:32 +02:00
Leo
041535183c
Merge pull request #51 from codex-storage/license-clarify
...
clarify license
2023-05-24 13:56:51 +02:00
Csaba Kiraly
66f6e568a7
clarify license
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-24 11:30:43 +02:00
Csaba Kiraly
fc0bd39d7d
Merge pull request #50 from codex-storage/develop
...
Develop
2023-05-22 14:50:29 +02:00
Csaba Kiraly
8a1fda6b4c
README update
...
Add short description of what DAS Simulator is about.
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-21 15:55:21 +02:00
Leo
1569ca2946
Merge pull request #49 from codex-storage/visual
...
Add new visuals
2023-05-21 14:43:19 +02:00
leobago
f1db022e17
Fix row and column distribution
2023-05-15 17:56:30 +02:00
leobago
20c68cf198
New visualizer module WIP
2023-05-13 11:25:09 +02:00
Csaba Kiraly
f763ed027b
minor fixes to README
2023-05-06 11:31:08 +02:00
Csaba Kiraly
e88c2f310b
Merge pull request #48 from status-im/develop
...
promote current development branch to master
2023-05-06 11:25:56 +02:00
Csaba Kiraly
e8cf5a4730
Merge pull request #45 from status-im/failureMode
...
Failure mode
2023-05-02 15:07:02 +02:00
Csaba Kiraly
16e32a3f98
Merge branch 'develop' into failureMode
2023-05-02 15:05:54 +02:00
Csaba Kiraly
d6d290b03f
Merge pull request #44 from status-im/mbps
...
change to Mbps for bandwidth
2023-05-02 13:56:41 +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
cec9b9f6a7
fixup: fix missing 'order' in failureModel == "sequential"
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-02 13:42:41 +02:00
Csaba Kiraly
3c0898c925
adding failureModes with special erasure patterns
...
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-05-02 13:42:40 +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
Csaba Kiraly
153eebc64c
Merge pull request #47 from status-im/per-validator-progress
...
Per validator progress
2023-05-02 12:39:53 +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
9e98f6963d
Merge pull request #27 from status-im/vis
...
Average runs
2023-04-27 14:13:20 +02:00