koii-network / ezsandbox

The best place to get started with all things decentralized
47 stars 21 forks source link

Limiting number of nodes that perform an audit #98

Open labrocadabro opened 2 months ago

labrocadabro commented 2 months ago

Previously we said:

Controlling the Number of Auditing Nodes

In some cases, you may want to set the number of nodes you'd like to perform an audit each round. For this, you can add custom logic to the validateAndVoteOnNodes() function. Note that unlike other functions we've worked with before, this one is located in NamespaceWrapper

but NamespaceWrapper is now a package so it's not feasible to edit it. Not sure exactly how to deal with this.