nicola / r2

Attempt to implement fastest PoRep.Replicate algorithm
1 stars 2 forks source link

Save only expansion parents to disk #1

Closed schomatis closed 5 years ago

schomatis commented 5 years ago

The base ones depend on the seed so they're not reusable.

We should add the number of nodes and expansion size to the JSON filename to easily distinguish different dumps (those two variables should be enough to unequivocally determine the parents layout, for our fixed Fesitel key).

nicola commented 5 years ago

They are re-usable, the seed is the same across layers.

schomatis commented 5 years ago

Yes, but across layers you save parents in memory, I meant that across replications you're saving the generated parents in a JSON file, doesn't the seed change in each replication?

nicola commented 5 years ago

No, it does not.

There is one graph generated from a seed for all the network.

We may decided to update the graph at a later point. The “seed” that changes is part of the “replica_id”, but that doesn’t alter the shape of the graph.