Code Monkey home page Code Monkey logo

Comments (6)

nurikabe avatar nurikabe commented on May 26, 2024 1

@utdrmac Actually, no. founders_map are a few addresses designated for founders rewards; this is different from our one owners_map address from which the bond was supplied.

from tezos-reward-distributor.

habanoz avatar habanoz commented on May 26, 2024 1

You are right. They are not paid. I am mistaken.

Bond owners should get paid even if no one is delegating.

I will change this behavior.

from tezos-reward-distributor.

utdrmac avatar utdrmac commented on May 26, 2024

Where did you define the bond holders? As 'founders'?

from tezos-reward-distributor.

habanoz avatar habanoz commented on May 26, 2024

I am planning to change the configuration details. You may suggest names you find more intuitive. Currently, founders_map is for setting accounts belonging to founders of the baker which will receive an even share of the profits, owners_map is for setting ratio of the bond owners so that they receive the right amount of reward as per their bond ratio.

founders or owners are getting paid even if no one is delegating.

from tezos-reward-distributor.

nurikabe avatar nurikabe commented on May 26, 2024

founders or owners are getting paid even if no one is delegating.

This doesn't seem to be true for me. In the below, shoudn't I expect to see F and O payments for cycles 65 and 66?

$ python3 src/main.py -D -C 65 -M 2 -R -5 account_name
...
2019-01-30 03:30:11,388 - main - INFO - MainThread - DRY RUN MODE
2019-01-30 03:30:11,388 - main - INFO - MainThread - --------------------------------------------
2019-01-30 03:30:11,388 - main - DEBUG - MainThread - Client command is /home/tezos/tezos/tezos-client
2019-01-30 03:30:11,389 - main - DEBUG - MainThread - Producer started
2019-01-30 03:30:11,392 - main - INFO - MainThread - If you want to send emails, populate email.ini file under current working directory.
2019-01-30 03:30:11,392 - main - DEBUG - MainThread - Consumer "consumer0" created
2019-01-30 03:30:18,350 - main - DEBUG - producer  - Trying payments for cycle 65
2019-01-30 03:30:19,588 - main - DEBUG - producer  - Checking for pending payments : payment_cycle <= current_cycle - (self.nw_config['NB_FREEZE_CYCLE'] + 1) - self.release_override
2019-01-30 03:30:19,589 - main - DEBUG - producer  - Checking for pending payments : checking 65 <= 71 - (5 + 1) - -5
2019-01-30 03:30:19,589 - main - INFO - producer  - Payment cycle is 65
2019-01-30 03:30:20,090 - main - WARNING - producer  - No delegators at cycle 65. Check your delegation status
2019-01-30 03:30:20,091 - main - INFO - producer  - Reward creation done for cycle 65
2019-01-30 03:30:25,096 - main - DEBUG - producer  - Trying payments for cycle 66
2019-01-30 03:30:28,129 - main - DEBUG - producer  - Checking for pending payments : payment_cycle <= current_cycle - (self.nw_config['NB_FREEZE_CYCLE'] + 1) - self.release_override
2019-01-30 03:30:28,130 - main - DEBUG - producer  - Checking for pending payments : checking 66 <= 71 - (5 + 1) - -5
2019-01-30 03:30:28,130 - main - INFO - producer  - Payment cycle is 66
2019-01-30 03:30:28,610 - main - WARNING - producer  - No delegators at cycle 66. Check your delegation status
2019-01-30 03:30:28,610 - main - INFO - producer  - Reward creation done for cycle 66
2019-01-30 03:30:33,616 - main - DEBUG - producer  - Trying payments for cycle 67
2019-01-30 03:30:34,651 - main - DEBUG - producer  - Checking for pending payments : payment_cycle <= current_cycle - (self.nw_config['NB_FREEZE_CYCLE'] + 1) - self.release_override
2019-01-30 03:30:34,651 - main - DEBUG - producer  - Checking for pending payments : checking 67 <= 71 - (5 + 1) - -5
2019-01-30 03:30:34,651 - main - INFO - producer  - Payment cycle is 67
2019-01-30 03:30:35,899 - main - INFO - producer  - Total rewards=8.0
2019-01-30 03:30:35,900 - main - INFO - consumer0 - Starting payments for cycle 67
2019-01-30 03:30:35,903 - main - INFO - producer  - Reward created for cycle 67 address KT1 amount 0.039000 fee 0.000760 tz type D
2019-01-30 03:30:35,903 - main - INFO - producer  - Reward created for cycle 67 address tz1 amount 7.960000 fee 0.000000 tz type O
2019-01-30 03:30:35,903 - main - INFO - producer  - Reward created for cycle 67 address tz1 amount 0.000500 fee 0.000000 tz type F
2019-01-30 03:30:35,903 - main - INFO - producer  - Reward created for cycle 67 address tz1 amount 0.000500 fee 0.000000 tz type F
2019-01-30 03:30:35,903 - main - INFO - producer  - Reward creation done for cycle 67
2019-01-30 03:30:36,695 - main - DEBUG - consumer0 - Payment will be done in 1 batches

from tezos-reward-distributor.

habanoz avatar habanoz commented on May 26, 2024

In V5 this is supported.

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.