Comments (13)
-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.
nice one man i really love this tool, why would one use -Dn? @SemElVik
from tezos-reward-distributor.
will not start the payment, only the calculation
from tezos-reward-distributor.
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
from tezos-reward-distributor.
- 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.
if you count 74-79 then these cycles have not yet been baked. be careful with this.
from tezos-reward-distributor.
@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.
I will assume that in the 70th cycle there were no awards
from tezos-reward-distributor.
i just checked on tzscan, there were
from tezos-reward-distributor.
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.
@SemElVik your a legend!!
still dont get why this didnt work:)
python3 src/main.py -M 2 -C 70 flippintacos
from tezos-reward-distributor.
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.
superb!
from tezos-reward-distributor.
Related Issues (20)
- Payment for cycle 527 was off, overpaid delegates HOT 4
- Cleanup: min_payment_amt HOT 5
- Pre-commit hooks
- Configure script requires refactor
- Update docs to use octez-*
- Dry run command not reading correctly
- Batch payer class is unmanageable.
- exit status is always 0 even when TRD fails (in single-shot mode)
- Don't require signer to know about baker address
- Problem with using the new addresses as owner and founder. HOT 10
- Smoke tests are stuck in an infinite loop on the CI only HOT 1
- payouts in failed/backtracked transactions are marked as paid
- Signer auth HOT 2
- re-running failed operations with TzKT backend is so slow, it hangs HOT 2
- use `simulate_operation` instead of `run_operation` HOT 1
- TRD exiting with status code 1, even when it succeeds HOT 2
- Payment to KT always fails on first try, it goes through in a second attempt. HOT 1
- TzStats "offline_losses" is not working HOT 4
- -M 4 seems to be broken, wrong status for backtracked transactions and ctez vaults are no longer avoided
- payment error. Cycle 669 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tezos-reward-distributor.