Code Monkey home page Code Monkey logo

Comments (13)

SemElVik avatar SemElVik commented on May 26, 2024

-D means dry run
-Dn means do not run payment worker
-R is release override

python3 src/main.py -D -Dn -R -5 -M 3 -C 74 <paymentaddress>

  • play with the cycle you need
    python3 src/main.py --help

from tezos-reward-distributor.

issie81 avatar issie81 commented on May 26, 2024

nice one man i really love this tool, why would one use -Dn? @SemElVik

from tezos-reward-distributor.

SemElVik avatar SemElVik commented on May 26, 2024

will not start the payment, only the calculation

from tezos-reward-distributor.

issie81 avatar issie81 commented on May 26, 2024

so i did -R5 i paid 4 cycles one has failed (70), when i run a single run with -C 70 (without -R -5)
i get this

No pending payments for cycle 70, current cycle is 74

i saw in map dry payments i had 70 file in done and 70 in map failed both i deleted so to re-run cycle, why do i get my pending payments for cycle 70

@SemElVik

from tezos-reward-distributor.

SemElVik avatar SemElVik commented on May 26, 2024
  • play with the cycle!
    python3 src/main.py -D -Dn -R -11 -M 3 -C 79 - count for 79 cycle.
    68 (last paid)+11 = 79
    TzScan counts 5 cycles ahead. 80 cycle you will not count

from tezos-reward-distributor.

SemElVik avatar SemElVik commented on May 26, 2024

if you count 74-79 then these cycles have not yet been baked. be careful with this.

from tezos-reward-distributor.

issie81 avatar issie81 commented on May 26, 2024

@SemElVik but my cycle 70 failed, when i want to run again lets say

python3 src/main.py -M 2 -C 70 alias

the output is

DEBUG - producer - No pending payments for cycle 70, current cycle is 74

yet this cycle is not paid, how can i paid, where is it logged it's paid?

69, 71, 72, 73 went good
(maybe because 5 cycles in one day handled differently)

from tezos-reward-distributor.

SemElVik avatar SemElVik commented on May 26, 2024

I will assume that in the 70th cycle there were no awards

from tezos-reward-distributor.

issie81 avatar issie81 commented on May 26, 2024

i just checked on tzscan, there were

from tezos-reward-distributor.

SemElVik avatar SemElVik commented on May 26, 2024

python3 src/main.py -D -Dn -R -2 -M 3 -C 70 <alias>

or without -Dn (if you want to see the payment)
python3 src/main.py -D -R -2 -M 3 -C 70 <alias>

from tezos-reward-distributor.

issie81 avatar issie81 commented on May 26, 2024

@SemElVik your a legend!!

still dont get why this didnt work:)

python3 src/main.py -M 2 -C 70 flippintacos

from tezos-reward-distributor.

habanoz avatar habanoz commented on May 26, 2024

Formula for last released cycle is:
current_cycle-(NB_FREEZE_CYCLE+1)-release_override

If -R is not given it is 0. Right now current cycle is 74:
74-6=68 is the last released cycle. You cannot pay beyond this cycle.

If you want to pay for let's say 73; you need to make a simple calculation:
73 = current_cycle-(NB_FREEZE_CYCLE+1)-release_override = 74-6- release_override
release_override = 74-6-73 = -5

You need to set -R -5 to make payment for cycle 73.

If you set -R smaller than -5 you will start to pay for un-baked cycles. You may fail to bake them.

from tezos-reward-distributor.

issie81 avatar issie81 commented on May 26, 2024

superb!

from tezos-reward-distributor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.