-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reward a predefined address a certain amount #1
Conversation
Nice, this looks like it could work. |
Good, I will try to do unit tests with it. @hewison-chris, Don't we have to create a new branch on every PR with a forked repository? |
Good start, but I think it could be better to remove the |
|
a miner node strangely bypasses this path, will try to move it elsewhere. |
That's a good try. Apply it to the POA code below |
Those functions will not be called after the merge, see the updated code. It works fine |
Tested to work fine, ready to review |
Renamed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Perhaps as it works for either just the comment update is ok. |
What is the rule that it is issued only for the first six years? |
The white paper specifies that it should only reward the Commons Budget with 50 coins per 5 secs until 1_800_000_000 coins are rewarded. This is not yet implemented in this PR. |
Let me test it
|
#1 (comment) |
@omerfirmak I changed the value of |
@MichaelKim20 see the updated code, but dont change the source, just configure it using the genesis file. example;
|
When we open BizNet, the contents of If you can make another issue and deal with it, This PR is great |
We can make it a scheduled hard fork in BizNet |
Then I'd like to add one more parameter. I think it would be good to add the number of the block where the commons budget starts to be issued. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@omerfirmak I create a new issue and merge it. |
I am testing this with local test-env but couldn't see the block rewards somehow -- Tested with local build and singe node, it works; looking for why it didn't work in Docker net |
I think this was also mentioned here #1 (comment) |
Testing with |
This is the point that makes most sense to me for rewarding the commons budget, per block. Will test to see if this works in practice.