Youngjoon Lee
66e5549fdc
refactor: subclasses for Config
2024-05-17 15:58:29 +09:00
Youngjoon Lee
fa4635b749
refactor: use typing for workaround circular dependencies
2024-05-17 13:52:58 +09:00
Youngjoon Lee
95c77b82e4
refactor adversary
2024-05-17 13:29:20 +09:00
Youngjoon Lee
4655c34c71
refactor analysis and is_around_message_interval
2024-05-17 12:24:19 +09:00
Youngjoon Lee
fcf16153aa
fix readme
2024-05-16 18:11:57 +09:00
Youngjoon Lee
e349e23a6c
add input/output observation
2024-05-16 17:13:43 +09:00
Youngjoon Lee
e1ef269636
comment
2024-05-16 16:05:32 +09:00
Youngjoon Lee
3cb7ba1c18
use float for random delay
2024-05-16 16:04:18 +09:00
Youngjoon Lee
e1850865a5
update readme
2024-05-16 16:02:34 +09:00
Youngjoon Lee
8853d74fd5
do not use the start_delayed helper, but handle network latency in p2p for the future analysis
2024-05-16 15:59:58 +09:00
Youngjoon Lee
de554e95d1
use start_delayed helper
2024-05-16 15:55:09 +09:00
Youngjoon Lee
546e90b2e9
update readme
2024-05-16 14:33:31 +09:00
Youngjoon Lee
6d205e67b0
update readme: message size distribution
2024-05-16 14:16:17 +09:00
Youngjoon Lee
93acaa436e
add max_network_latency
2024-05-16 14:04:32 +09:00
Youngjoon Lee
fb4fb48712
update readme
2024-05-16 13:58:32 +09:00
Youngjoon Lee
1c437842c9
update readme
2024-05-16 13:57:39 +09:00
Youngjoon Lee
a6e02100b0
update readme
2024-05-16 13:57:00 +09:00
Youngjoon Lee
908fd86190
add hue and legend. update readme
2024-05-16 13:54:09 +09:00
Youngjoon Lee
30a82265c9
add time concept in readme
2024-05-15 19:41:48 +09:00
Youngjoon Lee
7d640ca36a
enhance README
2024-05-15 19:19:55 +09:00
Youngjoon Lee
91284196c1
add weights for real_message_prob
2024-05-15 18:55:17 +09:00
Youngjoon Lee
661f40680c
analyze nodes who emitted messages around the promised interval
2024-05-15 18:01:42 +09:00
Youngjoon Lee
7492be95fb
yield 0 in the broadcast func
2024-05-15 17:21:31 +09:00
Youngjoon Lee
373bab822c
add cover prob
2024-05-15 17:11:16 +09:00
Youngjoon Lee
38d1738565
init random seed
2024-05-15 16:36:13 +09:00
Youngjoon Lee
66004c60f0
add message_prob and prep_time
2024-05-15 16:34:09 +09:00
Youngjoon Lee
4f6fb30779
config.yaml
2024-05-14 21:19:46 +09:00
Youngjoon Lee
326aeedb2c
define node params
2024-05-14 14:36:05 +09:00
Youngjoon Lee
c231fd3460
add plot for message sizes
2024-05-14 14:03:48 +09:00
Youngjoon Lee
e9a35ca178
update status
2024-05-13 16:02:42 +09:00
Youngjoon Lee
3d1549e931
add dev status in readme
2024-05-13 15:31:20 +09:00
Youngjoon Lee
9b311797fd
add args
2024-05-13 15:13:21 +09:00
Youngjoon Lee
89ba9c2a97
update comments
2024-05-13 14:39:02 +09:00
Youngjoon Lee
ca2fb46c86
pad final msg
2024-05-13 14:12:10 +09:00
Youngjoon Lee
2d79ff8672
add comment
2024-05-13 13:58:22 +09:00
Youngjoon Lee
b3b3f0bdae
add commente
2024-05-13 13:34:34 +09:00
Youngjoon Lee
07a1c5cb7b
constant payload size
2024-05-13 13:31:57 +09:00
Youngjoon Lee
9ac15da7d3
increase incentive tx size
2024-05-13 12:59:28 +09:00
Youngjoon Lee
610d95a6fa
add cover
2024-05-13 09:04:35 +09:00
Youngjoon Lee
76b3cb0547
make all nodes emit messages
2024-05-13 09:00:01 +09:00
Youngjoon Lee
f46d343ea6
add readme and reorganize imports
2024-05-13 08:49:09 +09:00
Youngjoon Lee
781ccbddc8
working version of mixnet behavior simulation
2024-05-12 19:30:04 +09:00
Youngjoon Lee
98ab0c4b47
dummy message encoding
2024-05-09 19:37:39 +09:00
Youngjoon Lee
85cd064cbe
skeleton
2024-05-09 14:29:10 +09:00
Daniel Sanchez
9390d481ba
Use blake2b for 31 bytes digests ( #91 )
2024-04-15 12:12:50 +02:00
Daniel Sanchez
8bb5160ff2
Fix rs encoding to fit with missing points ( #90 )
2024-04-09 07:55:17 +02:00
Daniel Sanchez
f29869c029
Remove indexing from dablob ( #89 )
...
Verifier resolves by syncing with state public keys
2024-03-25 11:30:44 +01:00
davidrusu
d2f6ad579a
Stake Relativization Specification + Fixes ( #86 )
...
* cryptarchia/relative-stake: failing test showing lack of inference
* implement stake-relativization spec
* test total stake inference in empty epoch
* move TestNode to test_common
* fix bug in Follower re-org logic
* improve orphan proof test coverage
* force orphans to already have been in one of the existing branches
* rename initial_inferred_total_stake ==> initial_total_stake
* add simple orphan import test
* Follower.unimported_orphans: ensure no orphans from same branch
* remove unnecessary LedgerState.slot
* cryptarchia: doc fixes
* factor out total stake inference
* docs for total stake inference
* rename total_stake to total_active_stake
* replace prints in cryptarchia with logging.logger
2024-03-23 05:50:00 +04:00
gusto
53b8be7a05
DA Api Tests ( #83 )
...
* Tests for da api full flow
* Fix test issues
* Da api ext tests (#85 )
* Index store links blob to cert_id
* Tests for multiple indexes pointing to the same blob
* Test multiple indexes to the same blob in the full flow
* Update bytes_per_chunk to 31 bytes
---------
Co-authored-by: Daniel Sanchez Quiros <sanchez.quiros.daniel@gmail.com>
2024-03-22 13:01:13 +02:00
Daniel Sanchez
8dd2dabb7d
DA: Verifier skip duplicated blobs intents ( #88 )
...
* Make verifier skip duplicated blobs intents
* Add case in where verifier data is the same but column is different
2024-03-22 10:36:00 +01:00