good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 13, 2021
  2. Jul 12, 2021
  3. Jul 09, 2021
  4. Jul 08, 2021
  5. Jul 07, 2021
    • 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: default 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: default avatarFelix Lange <fjl@twurst.com>
      b9d44127
  6. Jul 06, 2021
  7. Jul 05, 2021
  8. Jul 02, 2021
  9. Jul 01, 2021
  10. Jun 30, 2021
  11. Jun 29, 2021
  12. Jun 28, 2021
  13. Jun 25, 2021
    • 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
Loading