mirror of
https://github.com/logos-storage/das-research.git
synced 2026-01-05 22:53:07 +00:00
bug fix
This commit is contained in:
parent
72a6d289ba
commit
582da3f885
@ -1,6 +1,6 @@
|
||||
# samplEth Simulator
|
||||
|
||||
`samplEth` is a simulator designed to model and analyze peer-to-peer network connections, custodianship behaviors, and different node configurations. It allows you to tweak various parameters to simulate different conditions like connection establishment, data poisoning, and query growth.
|
||||
`samplEth` is a simulator designed to model and analyze how different sampling methods impact the query times and bandwidth requirements in the network. It allows you to tweak various parameters to simulate different conditions.
|
||||
|
||||
## How to Run the Simulator
|
||||
|
||||
|
||||
@ -1464,7 +1464,6 @@ def query_peer_with_retries(peers_with_custody, peers_with_custody_level_2, peer
|
||||
|
||||
def query_all_nodes(peerIDs, peer_custody, peer_connections, peer_horizon_level_1, peer_horizon_level_2, peer_poison_map):
|
||||
num_queries = 75
|
||||
samples = generate_random_samples(num_queries)
|
||||
all_query_times = []
|
||||
all_results = []
|
||||
all_original_retries = []
|
||||
@ -1484,6 +1483,7 @@ def query_all_nodes(peerIDs, peer_custody, peer_connections, peer_horizon_level_
|
||||
results = 'success'
|
||||
original_retries_sum = 0
|
||||
queried_peers[peer] = []
|
||||
samples = generate_random_samples(num_queries)
|
||||
|
||||
for sample_row, sample_col in samples:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user