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

Handle public and private member variables properly #34

Open ferencberes opened 1 year ago

ferencberes commented 1 year ago

Generalize the way public and private member variables are handled. Make sure to prevent variable tampering (e.g. changing key parameters on the fly without re-initializing the given object/class). A good way to do this is to use as many getter functions (@property) as possible.