1. 17 4月, 2019 1 次提交
  2. 08 4月, 2019 1 次提交
  3. 02 4月, 2019 1 次提交
  4. 19 2月, 2019 1 次提交
  5. 30 1月, 2019 2 次提交
    • F
      params: new CHTs (#18577) · d9a07fba
      Felföldi Zsolt 提交于
      d9a07fba
    • M
      core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) · c7664b06
      Martin Holst Swende 提交于
      This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
      but the genesis/config field is ConstantinopleFix.
      
      The block numbers are:
      
          7280000 for Constantinople on Mainnet
          7280000 for ConstantinopleFix on Mainnet
          4939394 for ConstantinopleFix on Ropsten
          9999999 for ConstantinopleFix on Rinkeby (real number decided later)
      
      This PR also defaults to using the same ConstantinopleFix number as whatever
      Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
      is not set.This means that for private networks which have already transitioned
      to Constantinople, this PR will break the network unless ConstantinopleFix is
      explicitly set!
      c7664b06
  6. 16 1月, 2019 1 次提交
  7. 10 12月, 2018 2 次提交
  8. 28 11月, 2018 1 次提交
  9. 26 11月, 2018 1 次提交
  10. 22 11月, 2018 1 次提交
  11. 14 11月, 2018 1 次提交
  12. 05 10月, 2018 1 次提交
  13. 01 10月, 2018 1 次提交
  14. 20 9月, 2018 2 次提交
  15. 18 9月, 2018 1 次提交
  16. 03 9月, 2018 1 次提交
  17. 21 8月, 2018 1 次提交
  18. 24 7月, 2018 1 次提交
  19. 05 6月, 2018 1 次提交
  20. 23 2月, 2018 1 次提交
    • M
      core, vm, common: define constantinople fork + shift (#16045) · 44d40ffc
      Martin Holst Swende 提交于
      * core, vm, common: define constantinople fork, start implementation of shift instructions
      
      * vm: more testcases
      
      * vm: add tests for intpool erroneous intpool handling
      
      * core, vm, common: fix constantinople review concerns
      
      * vm: add string<->op definitions for new opcodes
      44d40ffc
  21. 24 10月, 2017 1 次提交
  22. 10 10月, 2017 1 次提交
  23. 02 10月, 2017 1 次提交
  24. 20 9月, 2017 1 次提交
  25. 14 9月, 2017 2 次提交
  26. 04 7月, 2017 1 次提交
  27. 18 5月, 2017 3 次提交
    • J
      consensus, core, core/vm, parems: review fixes · a5f6a1cb
      Jeffrey Wilcke 提交于
      a5f6a1cb
    • J
      core/types: corrected abstract signing address · e6aff513
      Jeffrey Wilcke 提交于
      e6aff513
    • J
      consensus, core/*, params: metropolis preparation refactor · 10a57fc3
      Jeffrey Wilcke 提交于
      This commit is a preparation for the upcoming metropolis hardfork. It
      prepares the state, core and vm packages such that integration with
      metropolis becomes less of a hassle.
      
      * Difficulty calculation requires header instead of individual
        parameters
      * statedb.StartRecord renamed to statedb.Prepare and added Finalise
        method required by metropolis, which removes unwanted accounts from
        the state (i.e. selfdestruct)
      * State keeps record of destructed objects (in addition to dirty
        objects)
      * core/vm pre-compiles may now return errors
      * core/vm pre-compiles gas check now take the full byte slice as argument
        instead of just the size
      * core/vm now keeps several hard-fork instruction tables instead of a
        single instruction table and removes the need for hard-fork checks in
        the instructions
      * core/vm contains a empty restruction function which is added in
        preparation of metropolis write-only mode operations
      * Adds the bn256 curve
      * Adds and sets the metropolis chain config block parameters (2^64-1)
      10a57fc3
  28. 04 5月, 2017 1 次提交
  29. 10 4月, 2017 1 次提交
  30. 23 3月, 2017 1 次提交
    • F
      core: refactor genesis handling · 37dd9086
      Felix Lange 提交于
      This commit solves several issues concerning the genesis block:
      
      * Genesis/ChainConfig loading was handled by cmd/geth code. This left
        library users in the cold. They could specify a JSON-encoded
        string and overwrite the config, but didn't get any of the additional
        checks performed by geth.
      * Decoding and writing of genesis JSON was conflated in
        WriteGenesisBlock. This made it a lot harder to embed the genesis
        block into the forthcoming config file loader. This commit changes
        things so there is a single Genesis type that represents genesis
        blocks. All uses of Write*Genesis* are changed to use the new type
        instead.
      * If the chain config supplied by the user was incompatible with the
        current chain (i.e. the chain had already advanced beyond a scheduled
        fork), it got overwritten. This is not an issue in practice because
        previous forks have always had the highest total difficulty. It might
        matter in the future though. The new code reverts the local chain to
        the point of the fork when upgrading configuration.
      
      The change to genesis block data removes compression library
      dependencies from package core.
      37dd9086
  31. 01 3月, 2017 1 次提交
  32. 23 11月, 2016 2 次提交
  33. 16 11月, 2016 1 次提交