r/Aeon • u/stoffu aeon contributor • Mar 20 '18
Initial code for rebase finalization
https://github.com/aeonix/aeon-rebase/pull/4#issuecomment-374611047
Basically I've finished the initial task of removing unwanted/undecided consensus changes from the original Monero codebase. Specifically, the following have been removed:
Dynamic per-kb fees: PR-1276
In commit Principal changes
Activation of RingCT: PR-961
In commit Disable RingCT by #defining HF_VERSION_ALLOW_RCT 255 which replaces hf_version 4
Enforcement of RingCT & minimum mixin 4: PR-1869
In commit Remove enforce rct
In commit Remove minimum mixin 4
Per-kb fees:PR-184EDIT: Will be kept following smooth's suggestion.In commitDeactivate per-kb fee
Increase of penalty-free full reward zone: PR-490 & PR-1869
In commit Remove CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2
Input sorting:PR-2440EDIT: Will be keptIn commitblockchain: remove sorted ins
On the other hand, there are quite some consensus changes in Monero that seem harmless and even beneficial to Aeon IMO, which I didn't bother removing:
blockchain: on hardfork 2, allow miners to claim less money than allowed
from hard fork 2, claim a quantized reward in coinbase
from hard fork 2, all outputs must be decomposed
core: fix miner tx block reward with fees
blockchain: for v3, require miner tx to have well behaved outs
blockchain: reject invalid pubkeys from v4
tx_pool: use new filling algorithm from v5 only
core: forbid duplicate ring members from v6
protocol: add checks for top block hard fork version
EDIT: PR-2440
blockchain: reject unsorted ins and outs from v7
I hope the community can also agree with these changes.
Regarding the minimum ring size and the limited use of non-private (i.e. ringsize=1) txes, the new rules are implemented in commit Allow 10% of txs in a block to be of ringsize 1
Transactions with ring size 2 are basically prohibited.
Normal transactions should have at least ring size 3.
Non-private (ringsize=1) transactions are allowed, but to a limited degree: a block containing N non-coinbase transactions can contain M non-private transactions as long as 10*(M-1) doesn't exceed N.
Last but not least, the same POW change (variant 1) from Monero is applied to Aeon's CryptoNight-Lite. To ease the adoption (particularly for 3rd-party miners and pools), it's decided to bump the fork version from v1 to v7 at once (instead of v2 as usual).
The testnet height for v7 fork is set to 44000 (24 March 2018). A lot of reviewing and testing are highly desired before the official release.
3
u/poorly_timed_leg0las pool operator Mar 20 '18 edited Mar 20 '18
But arent POW changes being implemented with rebase so pools will have to update algorithm also otherwise hashes will be rejected by the pool as its checking for v1 crypto light when we've/miners moved to v2