1. 13 Jul, 2021 2 commits
  2. 12 Jul, 2021 2 commits
  3. 09 Jul, 2021 2 commits
  4. 08 Jul, 2021 3 commits
  5. 07 Jul, 2021 2 commits
    • Sina Mahmoodi's avatar
      core/types: remove LogForStorage type (#23173) · 75226423
      Sina Mahmoodi authored
      The encoding of Log and LogForStorage is exactly the same
      now. After tracking it down it seems like #17106 changed the
      storage schema of logs to be the same as the consensus
      encoding.
      
      Support for the legacy format was dropped in #22852 and if
      I'm not wrong there's no reason anymore to have these two
      equivalent types.
      
      Since the RLP encoding simply contains the first three fields
      of Log, we can also avoid creating a temporary struct for
      encoding/decoding, and use the rlp:"-" tag in Log instead.
      
      Note: this is an API change in core/types. We decided it's OK
      to make this change because LogForStorage is an implementation
      detail of go-ethereum and the type has zero uses outside of
      package core/types.
      Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
      75226423
    • Martin Holst Swende's avatar
      cmd/devp2p: fixes for eth and discv4 tests (#23155) · b9d44127
      Martin Holst Swende authored
      This PR fixes a false positive PONG 'to' endpoint mismatch seen in hive tests:
      
          got {IP:172.17.0.7 UDP:44025 TCP:44025}, want {IP:172.17.0.7 UDP:44025 TCP:0}
      Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
      b9d44127
  6. 06 Jul, 2021 10 commits
  7. 05 Jul, 2021 2 commits
  8. 02 Jul, 2021 2 commits
  9. 01 Jul, 2021 3 commits
  10. 30 Jun, 2021 6 commits
  11. 29 Jun, 2021 2 commits
  12. 28 Jun, 2021 3 commits
  13. 25 Jun, 2021 1 commit
    • Martin Holst Swende's avatar
      eth/downloader: increase downloader block body allowance (#23074) · 2d4eff21
      Martin Holst Swende authored
      This change increases the cache size from 64 to 256 Mb for block bodies.
      Benchmarks have shown this to be one bottleneck when trying to achieve
      higher download speeds.
      
      The commit also includes a minor optimization for header inserts in package
      core: previously, the presence of headers in the database was checked for
      every header before writing it. With the change, if one header fails the
      presence check, all subsequent headers are also assumed to be missing.
      This is an improvement because in practice, the headers are almost always
      missing during sync.
      2d4eff21