Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

ECIP-1017 monetary policy: possible misinterpretation #352

Closed
rtkaczyk opened this issue Sep 19, 2017 · 2 comments
Closed

ECIP-1017 monetary policy: possible misinterpretation #352

rtkaczyk opened this issue Sep 19, 2017 · 2 comments
Assignees

Comments

@rtkaczyk
Copy link

As stated in the ECIP-1017:

An extra reward to the winning miner for including uncles as part of the block, in the form of an extra 1/32 (0.125ETC) per uncle included, up to a maximum of two (2) uncles

Usage of the singular form and the placement of commas suggests that it's a single reward for all of the uncles included. Therefore any rounding down of the possibly non-integer result should be done for the whole reward.

This code however, calculates a reward per uncle individually and sums them up (in practice - multiplies). This may lead to accumulation of rounding errors.

The code is perfectly fine if we interpret the above definition to mean that these are separate rewards per each uncle, which have already been subjected to rounding down. However, we at Mantis team, interpreted it as explained above, and the difference may lead a network split in further eras.

All that being said, the ECIP-1017 definitely requires some clarification.

@rtkaczyk rtkaczyk changed the title ECIP-1017 monetary policy: possible interpretation ECIP-1017 monetary policy: possible misinterpretation Sep 19, 2017
@whilei
Copy link
Contributor

whilei commented Sep 20, 2017

Agreed that this wording could use clarification. My interpretation had emphasized the in the form of ... per uncle clause, which moves reward to a more abstract idea, eg

"For earning first place, Joseph received a reward of a blue ribbon and a knitted hat."

@whilei
Copy link
Contributor

whilei commented Nov 24, 2017

Resolved with the merge of ethereumproject/ECIPs#83

@whilei whilei closed this as completed Nov 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants