Code Monkey home page Code Monkey logo

Comments (3)

habanoz avatar habanoz commented on June 6, 2024

we have excluded_delegators_set already. However, it excludes delegators at reward calculation stage. The share of excluded delegators is shared among others. In this request share of the excluded needs to remain in the staking balance.

We are going to have a lot of different configuration parameters due to minor differences in needs.

I would like to suggest a holistic configuration:

Let's have another map called payment_mapping_dict, a dictionary of PKH and target description pairs.

A PKH is either a tz or a kt address.
A target description is a text which may have ONE and ONLY ONE of the values below:

  • another PKH: make payments to this address rather than original delegator KT address. Requires reporting change. Requested in #39
  • Ignore : The same behavior as excluded delegators set. Requested in #8
  • donotpay: the same behavior as this request expects.

Present and future target descriptions need to be mutually exclusive. e.g. we cannot 'ignore' and 'donotpay' the same delegator at the same time.

What do you (all users) thing?

from tezos-reward-distributor.

SemElVik avatar SemElVik commented on June 6, 2024

payment_mapping_dict looks like a logical sentence.
if really need it.

from tezos-reward-distributor.

habanoz avatar habanoz commented on June 6, 2024

In V5 this is supported.
Use rules map to exclude anyone by setting a destination to it. Valid destinations are:

TOB = To Balance
TOF = To Founders
TOE = To everyone

Also rewards for accounts below min delegation amount can be paid to target by using mindelegation key. See examples/*.yaml file.

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.