r/Aeon • 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-184 EDIT: Will be kept following smooth's suggestion.

    • In commit Deactivate 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-2440 EDIT: Will be kept

    • In commit blockchain: 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:

  • PR-410

    • blockchain: on hardfork 2, allow miners to claim less money than allowed

  • PR-425

    • from hard fork 2, claim a quantized reward in coinbase

    • from hard fork 2, all outputs must be decomposed

  • PR-763

    • core: fix miner tx block reward with fees

    • blockchain: for v3, require miner tx to have well behaved outs

  • PR-1386

    • blockchain: reject invalid pubkeys from v4

  • PR-1902

    • tx_pool: use new filling algorithm from v5 only

  • PR-2188

    • core: forbid duplicate ring members from v6

  • PR-2269

    • 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.

60 Upvotes

68 comments sorted by

View all comments

22

u/katiecharm Mar 20 '18

This is beyond incredible. We are reading over this with no words. 😮💕

Thank you x 1000; I so wish we could do something for you, and I hope you will reach out if there ever anything is.