good morning!!!!

Skip to content
Snippets Groups Projects
  1. Mar 27, 2020
    • Felix Lange's avatar
      eth: improve shutdown synchronization (#20695) · d6c5f241
      Felix Lange authored
      * eth: improve shutdown synchronization
      
      Most goroutines started by eth.Ethereum didn't have any shutdown sync at
      all, which lead to weird error messages when quitting the client.
      
      This change improves the clean shutdown path by stopping all internal
      components in dependency order and waiting for them to actually be
      stopped before shutdown is considered done. In particular, we now stop
      everything related to peers before stopping 'resident' parts such as
      core.BlockChain.
      
      * eth: rewrite sync controller
      
      * eth: remove sync start debug message
      
      * eth: notify chainSyncer about new peers after handshake
      
      * eth: move downloader.Cancel call into chainSyncer
      
      * eth: make post-sync block broadcast synchronous
      
      * eth: add comments
      
      * core: change blockchain stop message
      
      * eth: change closeBloomHandler channel type
      d6c5f241
  2. Mar 23, 2020
    • Martin Holst Swende's avatar
      internal/ethapi: don't set sender-balance to maxuint, fixes #16999 (#20783) · 39f50232
      Martin Holst Swende authored
      Prior to this change, eth_call changed the balance of the sender account in the
      EVM environment to 2^256 wei to cover the gas cost of the call execution.
      We've had this behavior for a long time even though it's super confusing.
      
      This commit sets the default call gasprice to zero instead of updating the balance,
      which is better because it makes eth_call semantics less surprising. Removing
      the built-in balance assignment also makes balance overrides work as expected.
      39f50232
  3. Mar 18, 2020
  4. Mar 13, 2020
  5. Mar 12, 2020
  6. Mar 03, 2020
  7. Feb 25, 2020
  8. Feb 24, 2020
  9. Feb 17, 2020
  10. Feb 13, 2020
  11. Feb 11, 2020
  12. Feb 04, 2020
  13. Jan 23, 2020
  14. Jan 15, 2020
  15. Jan 13, 2020
  16. Jan 09, 2020
  17. Jan 07, 2020
  18. Dec 17, 2019
  19. Dec 10, 2019
  20. Dec 06, 2019
    • Martin Holst Swende's avatar
      consensus/ethash, params: eip-2384: bump difficulty bomb (#20347) · bc01593a
      Martin Holst Swende authored
      * consensus/ethash, params: implement eip-2384: bump difficulty bomb
      
      * params: EIP 2384 compat checks
      
      * consensus, params: add Muir Glacier block number (mainnet,ropsten) + official name
      
      * core/forkid: forkid tests for muir glacier
      
      * params/config: address review concerns
      
      * params, core/forkid: review nitpicks
      
      * cmd/geth,eth,les: add override option for muir glacier
      
      * params: nit fix
      bc01593a
  21. Nov 24, 2019
  22. Nov 08, 2019
    • Guillaume Ballet's avatar
      travis: enable test suite on ARM64 (#20219) · de2259d2
      Guillaume Ballet authored
      * travis: Enable ARM support
      
      * Include fixes from 20039
      
      * Add a trace to debug the invalid lookup issue
      
      * Try increasing the timeout to see if the arm test passes
      
      * Investigate the resolver issue
      
      * Increase arm64 timeout for clique test
      
      * increase timeout in tests for arm64
      
      * Only test the failing tests
      
      * Review feedback: don't export epsilon
      
      * Remove investigation tricks+include fjl's feeback
      
      * Revert the retry ahead of using the mock resolver
      
      * Fix rebase errors
      de2259d2
  23. Nov 04, 2019
  24. Oct 29, 2019
  25. Oct 28, 2019
    • Gary Rong's avatar
      trie: remove node ordering slice in sync batch (#19929) · ecdbb402
      Gary Rong authored
      When we flush a batch of trie nodes into database during the state
      sync, we should guarantee that all children should be flushed before
      parent.
      
      Actually the trie nodes commit order is strict by: children -> parent.
      But when we flush all ready nodes into db, we don't need the order
      anymore since
      
          (1) they are all ready nodes (no more dependency)
          (2) underlying database provides write atomicity
      ecdbb402
  26. Sep 26, 2019
  27. Sep 10, 2019
  28. Aug 30, 2019
  29. Aug 23, 2019
  30. Aug 21, 2019
    • Piotr Dyraga's avatar
      core/vm, crypto/blake2b: add BLAKE2b compression func at 0x09 · 2890f060
      Piotr Dyraga authored
      The precompile at 0x09 wraps the BLAKE2b F compression function:
      https://tools.ietf.org/html/rfc7693#section-3.2
      
      The precompile requires 6 inputs tightly encoded, taking exactly 213
      bytes, as explained below.
      
      - `rounds` - the number of rounds - 32-bit unsigned big-endian word
      - `h` - the state vector - 8 unsigned 64-bit little-endian words
      - `m` - the message block vector - 16 unsigned 64-bit little-endian words
      - `t_0, t_1` - offset counters - 2 unsigned 64-bit little-endian words
      - `f` - the final block indicator flag - 8-bit word
      
      [4 bytes for rounds][64 bytes for h][128 bytes for m][8 bytes for t_0]
      [8 bytes for t_1][1 byte for f]
      
      The boolean `f` parameter is considered as `true` if set to `1`.
      The boolean `f` parameter is considered as `false` if set to `0`.
      All other values yield an invalid encoding of `f` error.
      
      The precompile should compute the F function as specified in the RFC
      (https://tools.ietf.org/html/rfc7693#section-3.2) and return the updated
      state vector `h` with unchanged encoding (little-endian).
      
      See EIP-152 for details.
      2890f060
  31. Jul 25, 2019
  32. Jul 23, 2019
  33. Jul 22, 2019
  34. Jul 17, 2019
Loading