good morning!!!!

Skip to content
Snippets Groups Projects
  1. Feb 21, 2018
  2. Jan 02, 2018
  3. Dec 19, 2017
  4. Dec 12, 2017
  5. Dec 08, 2017
  6. Nov 24, 2017
  7. Oct 24, 2017
  8. Aug 14, 2017
  9. Aug 09, 2017
  10. Aug 07, 2017
  11. May 02, 2017
  12. Apr 12, 2017
    • Felix Lange's avatar
      cmd/geth: add --config file flag (#13875) · 30d706c3
      Felix Lange authored
      * p2p/discover, p2p/discv5: add marshaling methods to Node
      
      * p2p/netutil: make Netlist decodable from TOML
      
      * common/math: encode nil HexOrDecimal256 as 0x0
      
      * cmd/geth: add --config file flag
      
      * cmd/geth: add missing license header
      
      * eth: prettify Config again, fix tests
      
      * eth: use gasprice.Config instead of duplicating its fields
      
      * eth/gasprice: hide nil default from dumpconfig output
      
      * cmd/geth: hide genesis block in dumpconfig output
      
      * node: make tests compile
      
      * console: fix tests
      
      * cmd/geth: make TOML keys look exactly like Go struct fields
      
      * p2p: use discovery by default
      
      This makes the zero Config slightly more useful. It also fixes package
      node tests because Node detects reuse of the datadir through the
      NodeDatabase.
      
      * cmd/geth: make ethstats URL settable through config file
      
      * cmd/faucet: fix configuration
      
      * cmd/geth: dedup attach tests
      
      * eth: add comment for DefaultConfig
      
      * eth: pass downloader.SyncMode in Config
      
      This removes the FastSync, LightSync flags in favour of a more
      general SyncMode flag.
      
      * cmd/utils: remove jitvm flags
      
      * cmd/utils: make mutually exclusive flag error prettier
      
      It now reads:
      
         Fatal: flags --dev, --testnet can't be used at the same time
      
      * p2p: fix typo
      
      * node: add DefaultConfig, use it for geth
      
      * mobile: add missing NoDiscovery option
      
      * cmd/utils: drop MakeNode
      
      This exposed a couple of places that needed to be updated to use
      node.DefaultConfig.
      
      * node: fix typo
      
      * eth: make fast sync the default mode
      
      * cmd/utils: remove IPCApiFlag (unused)
      
      * node: remove default IPC path
      
      Set it in the frontends instead.
      
      * cmd/geth: add --syncmode
      
      * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive
      
      * cmd/utils: don't enable WS, HTTP when setting addr
      
      * cmd/utils: fix --identity
      30d706c3
  13. Mar 23, 2017
    • Felix Lange's avatar
      core: refactor genesis handling · 37dd9086
      Felix Lange authored
      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
  14. Feb 28, 2017
  15. Feb 23, 2017
  16. Jan 25, 2017
  17. Jan 09, 2017
  18. Jan 07, 2017
  19. Jan 06, 2017
  20. Nov 13, 2016
  21. Nov 09, 2016
  22. Nov 03, 2016
  23. Oct 28, 2016
    • Bas van Kervel's avatar
      internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) · b59c8399
      Bas van Kervel authored
      This commit includes several API changes:
      
      - The behavior of eth_sign is changed. It now accepts an arbitrary
        message, prepends the well-known string
      
              \x19Ethereum Signed Message:\n<length of message>
      
        hashes the result using keccak256 and calculates the signature of
        the hash. This breaks backwards compatability!
        
      - personal_sign(hash, address [, password]) is added. It has the same
        semantics as eth_sign but also accepts a password. The private key
        used to sign the hash is temporarily unlocked in the scope of the
        request.
        
      - personal_recover(message, signature) is added and returns the
        address for the account that created a signature.
      b59c8399
  24. Aug 17, 2016
    • Felix Lange's avatar
      cmd/utils, node: create account manager in package node · 312263c7
      Felix Lange authored
      The account manager was previously created by packge cmd/utils as part
      of flag processing and then passed down into eth.Ethereum through its
      config struct. Since we are starting to create nodes which do not have
      eth.Ethereum as a registered service, the code was rearranged to
      register the account manager as its own service. Making it a service is
      ugly though and it doesn't really fix the root cause: creating nodes
      without eth.Ethereum requires duplicating lots of code.
      
      This commit splits utils.MakeSystemNode into three functions, making
      creation of other node/service configurations easier. It also moves the
      account manager into Node so it can be used by those configurations
      without requiring package eth.
      312263c7
  25. Aug 15, 2016
  26. Jul 22, 2016
  27. Jun 30, 2016
  28. Jun 16, 2016
  29. Jun 08, 2016
  30. Jun 03, 2016
  31. May 31, 2016
  32. May 30, 2016
Loading