The Symbol Syndicate
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    1
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # NEM - Harlock Hardfork Details --- **NOTE** The Harlock hardfork will be executed at block height 3,464,800. ETA: around 18 Nov 2021, 6:00pm UTC --- ### Purpose The ["Harlock"](https://en.wikipedia.org/wiki/Captain_Harlock) hardfork for NEM is intended for users to explicitly signal support for the integration of NEM as a dedicated subChain of Symbol, as proposed [here](https://docs.symbolplatform.com/handbook/en/vision.html). It does so by burning all of the current NEM 'core funds', and minting new funds into a new 5-of-7 multisig account, with four cosigners from [Valkyrie](https://valkyrieinvest.com/) and three core developers. _At and after the Harlock hardfork, all outflows from the following fee sink accounts will be prohibited:_ * Namespace Rental Fee Sink [NAMESPACEWH4MKFMBCVFERDPOOP4FK7MTBXDPZZA](https://explorer.nemtool.com/#/s_account?account=NAMESPACEWH4MKFMBCVFERDPOOP4FK7MTBXDPZZA) * Mosaic Rental Fee Sink [NBMOSAICOD4F54EE5CDMR23CCBGOAM2XSIUX6TRS](https://explorer.nemtool.com/#/s_account?account=NBMOSAICOD4F54EE5CDMR23CCBGOAM2XSIUX6TRS) ### Overview ``` ┌────────────────┐ │ Does 51% of │ ┌──────────Retry─Fork─────────────────►│ harvesting │ │ │ power upgrade? │ │ └──┬────────┬────┘ │ │ │ │ ┌──────────────┐ │ │ ┌───────────────┐ │ │ Do any │ Yes No │ Fork Fails │ │ │ burned funds │◄──────┘ └───────►│ │ │ │ move before │ │ Trust retains │ │ │ fork? │ │ control! │ │ └──┬───────┬───┘ └───────────────┘ ┌─────┴──────────┐ │ │ │ Fallback txes │ Yes No ┌────────────────┐ │ are included │◄─────────┘ └───────►│ Preferred txes │ │ in fork block │ │ are included │ │ │ │ in fork block │ │ Trust retains │ │ │ │ control │ │ Core devs and │ └────────────────┘ │ Valkyrie are │ │ in control! │ └────────────────┘ ``` ### Step Zero: Definitions/Preparation **New Protocol Fund:** Prior to the fork, one new (empty) multisig accounts will need to be created. All newly minted protocol funds will be transfered into this. **NemesisII** Treasury reissuance fork block. ### NemesisII Fork Block At the fork block, a set of predefined TransferTransactions will be sent to the network and harvested by upgraded nodes (v0.6.98). They will be predefined in configuration [1] and will revoke XYM tokens from Trust and NxL owned accounts. In addition, TransferTransactions will be issued from the Nemesis block to the new accounts. [1] The hashes of these special transactions will be listed in the `nis.treasuryReissuanceForkTransactionHashes` property. ### Harvesting Changes (TEMPORARY) **DefaultNewBlockTransactionsProvider:getBlockTransactions** At NemesisII height, retrieve all transactions from UTCache that have a hash in `nis.treasuryReissuanceForkHeight` and order them by TimeStamp. Since there is no state hash, we don't have to worry about corrupting it. **DefaultUnconfirmedState.verifyAndValidate** When a transaction is added to the UTCache, its signature is checked. Bypass this check for any transactions with a hash in `nis.treasuryReissuanceForkTransactionHashes` ### Block Processing Changes #### NemesisSinkValidator Currently, this validator ensures that signatures from the Nemesis Account are only allowed in the Nemesis block. This validator will need to be weakened to allow Nemesis Account signatures in both Nemesis and NemesisII block. #### MinimumFeeValidator NIS does not currently perform full validation on the Nemesis block, so this validator does not properly handle nemesis originating transactions. It needs to be modified to change minimum allowable fee for nemesis originating transactions to zero. #### ReclaimFundsForkTransactionBlockValidator (TEMPORARY) Validates that the block at height `nis.treasuryReissuanceForkHeight` contains exactly all transactions in `nis.treasuryReissuanceForkTransactionHashes`. This will cause a stall until the special transactions are included. #### BlockChainValidator::verifyTransactions Update verification to skip transactions with hashes in `nis.treasuryReissuanceForkTransactionHashes`. This will have some negative performance impact because it will result in an extra hash per transaction. ### Fee Sink Handling **FeeSinkNonOperationalValidator** Since both the namespace and mosaic rental fees sinks are multisig transactions, a new `MultsigTransaction` validator can inspect the transaction's other transaction signer address. If this address matches one of the fee sink accounts, the transaction will be rejected. ### Safety Valve If any of the funds being burned are moved between the release and the NemesisII block, the fork will fail. In order to prevent a catastrophic failure in this case, a set of special fallback transactions [2] can be sent to the network to prevent a catastrophic failure. In the case of failure, the fork could be reattempted at a later date. [2] The hashes of these transactions are specified in the `nis.treasuryReissuanceForkFallbackTransactionHashes` configuration property. ### Appendix: Account Mappings **New Protocol Treasury Account:** [NCHESTYVD2P6P646AMY7WSNG73PCPZDUQNSD6JAK](https://explorer.nemtool.com/#/s_account?account=NCHESTYVD2P6P646AMY7WSNG73PCPZDUQNSD6JAK) ``` NEM Group Trust Addresses ┌──────────────────────────────────────────────────────────────────┐ │ 1. NBLOCKYZLCBVO2XF2DB3D74AE2RC5WSHX5JEZOID 1167024434.306550 │ │ 2. NANODESTSN7GU76QPLGMJ7BCGCAA2PHVBZZUUI62 10583640.541000 │ │ 3. NCPAYOUTH2BGEGT3Q7K75PV27QKMVNN2IZRVZWMD 3213957.350100 │ │ 4. NBKXLNQ2GKTLQBTXNFOHULNJDA7T2Q57CZGQ2TFP 208998360.823780 ├──────────────────┐ │ 5. NATRUSTUAB5LAWDSOWDUPQUFYRTGZTJZDGML2JKP 1399339585.654040 │ │ └──────────────────────────────────────────────────────────────────┘ │ │ NEM Group Limited Addresses │ ┌──────────────────────────────────────────────────────────────────┐ │ │ 6. NB2MQ7EA2YG2RRXHIHO4HA2WCYUYCX5BDQG5CQNW 10472248.595466 │ │ │ 7. NDBRF5NM466LB6CINFIXLGRIGDL36L7B667WMVQ5 844475.303954 ├──────────────────┤ │ 8. NBRXCR7QJ56CTX5HMIP7VHDMYZTYCEN3DZAIK6O4 3.350000 │ │ └──────────────────────────────────────────────────────────────────┘ │ │ NEM Ventures Limited Addresses │ ┌──────────────────────────────────────────────────────────────────┐ │ │ 9. NDYNZWZ66ZKBSROL63Y5A27QQEACACT46P5QEUIU 99874634.541950 │ │ │ 10. NBVEMLRQUWTFKOIBU5FBBNTA437S27EUC2H7CIL3 7934610.785334 │ │ │ 11. NC2M77ZXJ5FEWJUD4VQRGNJPIGFGCMXYL4FNMNUN 1.428776 ├──────────────────┤ │ 12. NDEBESTILI7WL4PJOY5QXIUXHVOYWW3TL6KCSFI4 109.782000 │ │ └──────────────────────────────────────────────────────────────────┘ │ │ NEM Holdings Limited Addresses │ ┌──────────────────────────────────────────────────────────────────┐ │ │ 13. NDSQUAFDFXI4CCNZXQNH3MNMOISYGSAVEODUTJBA 4896576.095100 ├──────────────────┤ └──────────────────────────────────────────────────────────────────┘ │ │ Continuity Fund Addresses │ NEM Protocol Treasury Funds ┌──────────────────────────────────────────────────────────────────┐ │ ┌─────────────────────────────────────────────────────────────┐ │ 14. NCONTINUYJDHQ676U7OOASO42I4IJXHZD4O3BTAR 34968242.347680 ├──────────────────┼────────────► NCHESTYVD2P6P646AMY7WSNG73PCPZDUQNSD6JAK 2971608400.5534204 │ └──────────────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────┘ │ Miscellaneous Addresses + Dust │ ┌──────────────────────────────────────────────────────────────────┐ │ │ 15. NC2EYJ2R4SRG6QC5H4B65IFKLXGBFBS2MBUDGFF6 11656924.347752 │ │ │ │ │ │ 16. NCMARKECQXP3SQZSJPCBKOQWIXRRI7LIS4FTU4VZ 11.700000 │ │ │ 17. NCONTRLFKPO6YVXO5WUIJ4SWSCSKBJIPV456RSCL 5.850000 │ │ │ 18. NCOPERAWEWCD4A34NP5UQCCKEX44MW4SL3QYJYS5 1.050000 │ │ │ 19. NDEVPRE5ZWVG2PXSM54BGZBFF525G24UKVOGOZNT 5.850000 │ │ │ 20. NDEVPOSK4OMR4PRTLYFHX4W5QTOND7TZDT2DTU4Q 11.700000 │ │ │ 21. NAFUNDBUKIOSTMD4BNXL7ZFE735QHN7A3FBS6CMY 14.700000 │ │ │ 22. NAFUNDCJBFWXJWQZITUJOIW4O3E6YHQYQYSISPVA 17.550000 │ │ │ 23. NAFUNDDWQUHMIKPV2JUH2VNCYEAQX3O7QKHECZUV 35.100000 │ │ │ 24. NAFUNDAFO2MHWRR446YHADKR43XQBDJGWFRTMICH 11.700000 │ │ │ 25. NAFUNDEULL67VO7WCJBGBHCLCMD5KEH5EI7G5SGR 38.150000 │ │ │ 26. NAFUNDFE4HIZWV36FKGFXFFHG5SMUH2XVEEKE4ZD 23.400000 │ │ │ 27. NAFUNDHZWSIV4ARXSGGSFONCGFGYTLCB7VOT53SR 3.750000 │ │ │ 28. NALMPEMFS3HDXGFHO6AFGLUPMZOPDQMUWZWXBJS5 17.550000 │ │ │ 29. NB6T2NT4WVMS2THDZRLPCKVU636BUJ2V7E5DZX7X 91009.200000 │ │ │ 30. NALOG6DAIJ7LYWLGY73AT3OWS5ORYJ27WNBI6MHP 0.500000 │ │ │ 31. NAFOUND54A2777TVS2IJ733WO6SYQWMXC3AIHOBO 5.300000 │ │ │ 32. NAUSCHA55DLLJRBJPFU3V3ZHK3NY6KSI3P46WXCL 5.300000 ├──────────────────┘ │ 33. NANACHZH3EDZFJOEFL7UGK4VD3IKGAL6DGFI6TKL 1.700000 │ │ 34. NAMECHPLF5YGZZSWCVMSZ6ZU5U3EGIKI3CBRBTKD 0.400000 │ │ 35. NALAMCHMVVHN427NG4GGEYFQ7S7EZX7DPV4VPOL3 0.500000 │ │ 36. NACNCH4ZUTJRTCBBLFCNCEUOCEQ2JLEZYG6HKZ3N 0.350000 │ │ 37. NASEACHB4GDLNLC2EGU7KQB3T2WY23UWTNVUSLKH 5.050000 │ │ 38. NAANZCHVAM5RXTKFNG7U6BFBUIOHDZHPF4IRRPNM 0.250000 │ │ 39. NAEUCH6QSQIU7MX2UR2UGJY2LJJSITCLXLKTAINX 5.150000 │ │ 40. NAFDNIFYIO6SKZT52XMXWUAMBTIINCBM7H5OUHWN 0.200000 │ │ 41. NAFDNCFASSZLM26NNTFNEPGUY2DPZIQYSGGP2MDY 0.650200 │ │ 42. NBFOUNDXB54PVVPG6AN4WJ7BAOYFBC2XLLHDU5YM 4.150000 │ │ 43. NBTECH3HN7HL7YO2RRQNTSQ3AQOFYHOZOCA4L7XQ 20.950000 │ │ 44. NBIZDEVY6NGHCNQBONH7YQUYB6BIKZOGS4OWAD3B 0.500000 │ │ 45. NBMKTGGGQ2OKGAVIKMFXDFRPDBR4LD563SCVPHWW 0.500000 │ │ 46. NBREVFFWL2NKFK3QCPMOFH6YLSOMLJGDVFY7ORGH 0.500000 │ │ 47. NBOPERXIPVSUFFV7X646XKF2PROTNN7QUZF7MFJF 0.500000 │ │ 48. NBFINANG3FC4WADS2IUMHJRZN5LXIVPFKKS4UCUS 0.500000 │ │ 49. NBNBCYGQ3ZASNQGXMJXXDNUZ52HSVOTGWIN2F52U 20.000000 │ └──────────────────────────────────────────────────────────────────┘ Namespace & Mosaic Sink Addresses ┌──────────────────────────────────────────────────────────────────┐ │ │ 50. NAMESPACEWH4MKFMBCVFERDPOOP4FK7MTBXDPZZA 11308561.781776 ├───────────────────X Frozen Outflows │ 51. NBMOSAICOD4F54EE5CDMR23CCBGOAM2XSIUX6TRS 400664.901143 │ │ └──────────────────────────────────────────────────────────────────┘ ``` ###### tags: `HardFork`, `NEM`

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully