reword static experiment

This commit is contained in:
gmega 2024-11-27 11:31:40 -03:00
parent a286dc5e2a
commit 586932f67e
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18

View File

@ -30,10 +30,10 @@ class StaticDisseminationExperiment(Generic[TNetworkHandle, TInitialMetadata], E
)
with self.data as (meta, data):
handle = meta
meta_or_cid = meta
for node in seeders:
handle = node.seed(data, handle)
meta_or_cid = node.seed(data, meta_or_cid)
handles = [node.leech(handle) for node in leechers]
for handle in handles:
handle.await_for_completion()
downloads = [node.leech(meta_or_cid) for node in leechers]
for download in downloads:
download.await_for_completion()