1. 23 2月, 2017 2 次提交
  2. 18 2月, 2017 1 次提交
  3. 14 2月, 2017 1 次提交
    • M
      core, eth, internal: Added `debug_getBadBlocks()` method (#3654) · 72dcd3c5
      Martin Holst Swende 提交于
      * 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
  4. 26 1月, 2017 1 次提交
  5. 17 1月, 2017 2 次提交
  6. 11 1月, 2017 1 次提交
  7. 09 1月, 2017 1 次提交
  8. 07 1月, 2017 2 次提交
  9. 06 1月, 2017 2 次提交
    • F
      all: gofmt -w -s · 35a7dcb1
      Felix Lange 提交于
      35a7dcb1
    • F
      core/vm: move Log to core/types · 77310619
      Felix Lange 提交于
      This significantly reduces the dependency closure of ethclient, which no
      longer depends on core/vm as of this change.
      
      All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too,
      the constructor simply returned a literal.
      77310619
  10. 13 12月, 2016 1 次提交
  11. 05 12月, 2016 1 次提交
    • F
      core, core/vm, eth/filters: move Removed field into vm.Log · f52a1ae8
      Felix Lange 提交于
      This field used to be assigned by the filter system and returned through
      the RPC API. Now that we have a Go client that uses the underlying type,
      the field needs to move. It is now assigned to true when the RemovedLogs
      event is generated so the filter system doesn't need to care about the
      field at all.
      
      While here, remove the log list from ChainSideEvent. There are no users
      of this field right now and any potential users could subscribe to
      RemovedLogsEvent instead.
      f52a1ae8
  12. 28 11月, 2016 1 次提交
  13. 23 11月, 2016 1 次提交
  14. 13 11月, 2016 2 次提交
  15. 09 11月, 2016 1 次提交
  16. 21 10月, 2016 1 次提交
  17. 18 10月, 2016 2 次提交
  18. 15 10月, 2016 1 次提交
    • F
      trie, core/state: improve memory usage and performance (#3135) · 40cdcf11
      Felix Lange 提交于
      * trie: store nodes as pointers
      
      This avoids memory copies when unwrapping node interface values.
      
      name      old time/op  new time/op  delta
      Get        388ns ± 8%   215ns ± 2%  -44.56%  (p=0.000 n=15+15)
      GetDB      363ns ± 3%   202ns ± 2%  -44.21%  (p=0.000 n=15+15)
      UpdateBE  1.57µs ± 2%  1.29µs ± 3%  -17.80%  (p=0.000 n=13+15)
      UpdateLE  1.92µs ± 2%  1.61µs ± 2%  -16.25%  (p=0.000 n=14+14)
      HashBE    2.16µs ± 6%  2.18µs ± 6%     ~     (p=0.436 n=15+15)
      HashLE    7.43µs ± 3%  7.21µs ± 3%   -2.96%  (p=0.000 n=15+13)
      
      * trie: close temporary databases in GetDB benchmark
      
      * trie: don't keep []byte from DB load around
      
      Nodes decoded from a DB load kept hashes and values as sub-slices of
      the DB value. This can be a problem because loading from leveldb often
      returns []byte with a cap that's larger than necessary, increasing
      memory usage.
      
      * trie: unload old cached nodes
      
      * trie, core/state: use cache unloading for account trie
      
      * trie: use explicit private flags (fixes Go 1.5 reflection issue).
      
      * trie: fixup cachegen overflow at request of nick
      
      * core/state: rename journal size constant
      40cdcf11
  19. 11 10月, 2016 1 次提交
  20. 08 10月, 2016 1 次提交
    • F
      core: print import stats more often · e66b158f
      Felix Lange 提交于
      If geth is busy importing 2048 heavy blocks it can take a while before
      it prints anything. This change ensures that a message gets printed
      every 8s.
      e66b158f
  21. 28 9月, 2016 1 次提交
  22. 26 9月, 2016 1 次提交
  23. 16 8月, 2016 1 次提交
  24. 08 7月, 2016 1 次提交
  25. 07 6月, 2016 1 次提交
  26. 26 5月, 2016 1 次提交
  27. 25 5月, 2016 1 次提交
    • F
      eth: enable bad block reports · ca18202e
      Felix Lange 提交于
      We used to have reporting of bad blocks, but it was disabled
      before the Frontier release. We need it back because users
      are usually unable to provide the full RLP data of a bad
      block when it occurs.
      
      A shortcoming of this particular implementation is that the
      origin peer is not tracked for blocks received during eth/63
      sync. No origin peer info is still better than no report at
      all though.
      ca18202e
  28. 29 4月, 2016 1 次提交
  29. 15 4月, 2016 2 次提交
  30. 01 4月, 2016 1 次提交
    • J
      core: added basic chain configuration · f0cbebb1
      Jeffrey Wilcke 提交于
      Added chain configuration options and write out during genesis database
      insertion. If no "config" was found, nothing is written to the database.
      
      Configurations are written on a per genesis base. This means
      that any chain (which is identified by it's genesis hash) can have their
      own chain settings.
      f0cbebb1
  31. 24 3月, 2016 2 次提交
  32. 16 3月, 2016 1 次提交