zold
zold copied to clipboard
--trust
Let's add a new command line argument --trust
, which will work for PUSH and FETCH operations. It will be an integer. When they communicate with remote nodes, they calculate the total score received from them. They do this now until the list of remote nodes is over. The --trust
argument will define the threshold where they should stop.
For example, if --trust
is set to 50 and the first three remote nodes return 16, 24, and 12 (total is 52), PUSH and FETCH will stop and say in logs that this is enough.
Job #230 is now in scope, role is DEV
@0crat assign @mgrassotti
@emilianodellacasa/z this job was assigned to you 6days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.
@yegor256 sorry should I be assigned on this?
@0crat assign @mgrassotti (here)
@yegor256 The job #230 assigned to @mgrassotti/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job
@mgrassotti yes, it's yours
@mgrassotti/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.
The user @mgrassotti/z resigned from #230, please stop working. Reason for job resignation: It is older than 10 days, see §8
The job #230 assigned to @lastk/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be no monetary reward for this job
Job gh:zold-io/zold#230
already assigned to @lastk, can't assign to @lastk
Job gh:zold-io/zold#230
already assigned to @lastk, can't assign to @lastk
Job gh:zold-io/zold#230
already assigned to @lastk, can't assign to @lastk