ferencberes / ethp2psim

Ethereum P2P network privacy simulator
https://arxiv.org/abs/2306.15024
GNU General Public License v3.0
6 stars 2 forks source link

NodeWeightGenerator API confusion #17

Closed ferencberes closed 1 year ago

ferencberes commented 1 year ago

Two different node weight is needed in this experiment:

Possible solution: Do NOT enable centrality options in NodeWeightGenerator! Simply, select top K nodes with highest centrality and set them to be adversaries (kind of what Pisti implemented..) It might be a better and much more straightforward way to experiment with than to sample with respect to centrality...

ferencberes commented 1 year ago

Final solution: NodeWeightGenerator has only 2 modes: stake, random Central nodes can be set manually to be adversaries using: