1. 18 Mar, 2020 5 commits
    • Péter Szilágyi's avatar
      Merge pull request #20780 from karalabe/fix-eth-mine-sync-race · 4655b609
      Péter Szilágyi authored
      eth: when triggering a sync, check the head header TD, not block
      4655b609
    • Péter Szilágyi's avatar
    • gary rong's avatar
      core/rawdb: improve table database (#20703) · 6283391c
      gary rong authored
      This PR fixes issues in TableDatabase.
      
      TableDatabase is a wrapper of underlying ethdb.Database with an additional prefix.
      The prefix is applied to all entries it maintains. However when we try to retrieve entries
      from it we don't handle the key properly. In theory the prefix should be truncated and
      only user key is returned. But we don't do it in some cases, e.g. the iterator and batch
      replayer created from it. So this PR is the fix to these issues.
      6283391c
    • Alex Willmer's avatar
      go.mod: update duktape to fix sprintf warnings (#20777) · 5dd0cd12
      Alex Willmer authored
      This revision of go-duktype fixes the following warning
      
      ```
      duk_logging.c: In function ‘duk__logger_prototype_log_shared’:
      duk_logging.c:184:64: warning: ‘Z’ directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=]
        184 |  sprintf((char *) date_buf, "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ",
            |                                                                ^
      In file included from /usr/include/stdio.h:867,
                       from duk_logging.c:5:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 25 and 85 bytes into a destination of size 32
         36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         37 |       __bos (__s), __fmt, __va_arg_pack ());
            |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ```
      5dd0cd12
    • gary rong's avatar
      efd92d81
  2. 16 Mar, 2020 3 commits
  3. 14 Mar, 2020 3 commits
  4. 13 Mar, 2020 1 commit
  5. 12 Mar, 2020 2 commits
  6. 10 Mar, 2020 1 commit
  7. 02 Mar, 2020 1 commit
  8. 28 Feb, 2020 1 commit
  9. 27 Feb, 2020 3 commits
  10. 26 Feb, 2020 1 commit
  11. 25 Feb, 2020 2 commits
  12. 24 Feb, 2020 2 commits
  13. 21 Feb, 2020 1 commit
  14. 20 Feb, 2020 2 commits
  15. 18 Feb, 2020 6 commits
  16. 17 Feb, 2020 6 commits