good morning!!!!

Skip to content
Snippets Groups Projects
  1. Nov 12, 2019
  2. Jul 14, 2019
  3. Mar 27, 2019
  4. Mar 14, 2019
  5. Nov 15, 2018
  6. Sep 29, 2018
  7. Aug 23, 2018
  8. Aug 21, 2018
    • Gary Rong's avatar
      cmd, eth, miner: make recommit configurable (#17444) · b2c644ff
      Gary Rong authored
      * cmd, eth, miner: make recommit configurable
      
      * cmd, eth, les, miner: polish a bit
      
      * miner: filter duplicate sealing work
      
      * cmd: remove uncessary conversion
      
      * miner: avoid microptimization in favor of cleaner code
      b2c644ff
  9. Aug 03, 2018
    • Gary Rong's avatar
      consensus/ethash: move remote agent logic to ethash internal (#15853) · 51db5975
      Gary Rong authored
      * consensus/ethash: start remote ggoroutine to handle remote mining
      
      * consensus/ethash: expose remote miner api
      
      * consensus/ethash: expose submitHashrate api
      
      * miner, ethash: push empty block to sealer without waiting execution
      
      * consensus, internal: add getHashrate API for ethash
      
      * consensus: add three method for consensus interface
      
      * miner: expose consensus engine running status to miner
      
      * eth, miner: specify etherbase when miner created
      
      * miner: commit new work when consensus engine is started
      
      * consensus, miner: fix some logics
      
      * all: delete useless interfaces
      
      * consensus: polish a bit
      51db5975
  10. Jun 14, 2018
  11. Jun 11, 2018
  12. May 07, 2018
  13. Feb 05, 2018
  14. Dec 21, 2017
    • Péter Szilágyi's avatar
      cmd, core, eth/tracers: support fancier js tracing (#15516) · 5258785c
      Péter Szilágyi authored
      * cmd, core, eth/tracers: support fancier js tracing
      
      * eth, internal/web3ext: rework trace API, concurrency, chain tracing
      
      * eth/tracers: add three more JavaScript tracers
      
      * eth/tracers, vendor: swap ottovm to duktape for tracing
      
      * core, eth, internal: finalize call tracer and needed extras
      
      * eth, tests: prestate tracer, call test suite, rewinding
      
      * vendor: fix windows builds for tracer js engine
      
      * vendor: temporary duktape fix
      
      * eth/tracers: fix up 4byte and evmdis tracer
      
      * vendor: pull in latest duktape with my upstream fixes
      
      * eth: fix some review comments
      
      * eth: rename rewind to reexec to make it more obvious
      
      * core/vm: terminate tracing using defers
      Unverified
      5258785c
  15. Dec 09, 2017
  16. Dec 06, 2017
  17. Nov 20, 2017
  18. Oct 02, 2017
  19. Sep 20, 2017
  20. Sep 09, 2017
    • Felix Lange's avatar
      core, eth/downloader: commit block data using batches (#15115) · 10181b57
      Felix Lange authored
      * ethdb: add Putter interface and Has method
      
      * ethdb: improve docs and add IdealBatchSize
      
      * ethdb: remove memory batch lock
      
      Batches are not safe for concurrent use.
      
      * core: use ethdb.Putter for Write* functions
      
      This covers the easy cases.
      
      * core/state: simplify StateSync
      
      * trie: optimize local node check
      
      * ethdb: add ValueSize to Batch
      
      * core: optimize HasHeader check
      
      This avoids one random database read get the block number. For many uses
      of HasHeader, the expectation is that it's actually there. Using Has
      avoids a load + decode of the value.
      
      * core: write fast sync block data in batches
      
      Collect writes into batches up to the ideal size instead of issuing many
      small, concurrent writes.
      
      * eth/downloader: commit larger state batches
      
      Collect nodes into a batch up to the ideal size instead of committing
      whenever a node is received.
      
      * core: optimize HasBlock check
      
      This avoids a random database read to get the number.
      
      * core: use numberCache in HasHeader
      
      numberCache has higher capacity, increasing the odds of finding the
      header without a database lookup.
      
      * core: write imported block data using a batch
      
      Restore batch writes of state and add blocks, tx entries, receipts to
      the same batch. The change also simplifies the miner.
      
      This commit also removes posting of logs when a forked block is imported.
      
      * core: fix DB write error handling
      
      * ethdb: use RLock for Has
      
      * core: fix HasBlock comment
      10181b57
  21. Aug 22, 2017
  22. Aug 07, 2017
  23. Jun 27, 2017
    • Felix Lange's avatar
      core/state: access trie through Database interface, track errors (#14589) · 9e5f03b6
      Felix Lange authored
      With this commit, core/state's access to the underlying key/value database is
      mediated through an interface. Database errors are tracked in StateDB and
      returned by CommitTo or the new Error method.
      
      Motivation for this change: We can remove the light client's duplicated copy of
      core/state. The light client now supports node iteration, so tracing and storage
      enumeration can work with the light client (not implemented in this commit).
      9e5f03b6
  24. May 29, 2017
  25. May 16, 2017
  26. Apr 25, 2017
  27. Apr 12, 2017
  28. Apr 10, 2017
  29. Apr 07, 2017
  30. Apr 05, 2017
  31. Apr 04, 2017
  32. Mar 22, 2017
    • Felix Lange's avatar
      all: import "context" instead of "golang.org/x/net/context" · c213fd1f
      Felix Lange authored
      There is no need to depend on the old context package now that the
      minimum Go version is 1.7. The move to "context" eliminates our weird
      vendoring setup. Some vendored code still uses golang.org/x/net/context
      and it is now vendored in the normal way.
      
      This change triggered new vet checks around context.WithTimeout which
      didn't fire with golang.org/x/net/context.
      c213fd1f
  33. Mar 09, 2017
  34. Mar 02, 2017
    • Péter Szilágyi's avatar
      Logger updates 3 (#3730) · 9184249b
      Péter Szilágyi authored
      * accounts, cmd, eth, ethdb: port logs over to new system
      
      * ethdb: drop concept of cache distribution between dbs
      
      * eth: fix some log nitpicks to make them nicer
      9184249b
  35. Feb 23, 2017
  36. Feb 13, 2017
    • Martin Holst Swende's avatar
      core, eth, internal: Added `debug_getBadBlocks()` method (#3654) · 72dcd3c5
      Martin Holst Swende authored
      * core,eth,internal: Added `debug_getBadBlocks()` method
      
      When bad blocks are discovered, these are stored within geth.
      An RPC-endpoint makes them availablewithin the `debug`
      namespace. This feature makes it easier to discover network forks.
      
      ```
      
      * core, api: go format + docs
      
      * core/blockchain: Documentation, fix minor nitpick
      
      * core: fix failing blockchain test
      72dcd3c5
  37. Jan 17, 2017
  38. Jan 12, 2017
  39. Jan 06, 2017
  40. Jan 05, 2017
    • Jeffrey Wilcke's avatar
      core/vm: improved EVM run loop & instruction calling (#3378) · bbc4ea4a
      Jeffrey Wilcke authored
      The run loop, which previously contained custom opcode executes have been
      removed and has been simplified to a few checks.
      
      Each operation consists of 4 elements: execution function, gas cost function,
      stack validation function and memory size function. The execution function
      implements the operation's runtime behaviour, the gas cost function implements
      the operation gas costs function and greatly depends on the memory and stack,
      the stack validation function validates the stack and makes sure that enough
      items can be popped off and pushed on and the memory size function calculates
      the memory required for the operation and returns it.
      
      This commit also allows the EVM to go unmetered. This is helpful for offline
      operations such as contract calls.
      bbc4ea4a
Loading