1. 09 11月, 2016 3 次提交
  2. 02 11月, 2016 1 次提交
  3. 01 11月, 2016 1 次提交
    • M
      core: metrics collection for transaction events (#3157) · 36956da4
      Martin Holst Swende 提交于
      * core: Add metrics collection for transaction events; replace/discard for pending and future queues, as well as invalid transactions
      
      * core: change namespace for txpool metrics
      
      * core: define more metrics (not yet used)
      
      * core: implement more tx metrics for when transactions are dropped
      
      * core: minor formatting tweeks (will squash later)
      
      * core: remove superfluous meter, fix missing pending nofunds
      
      * core, metrics: switch txpool meters to counters
      36956da4
  4. 31 10月, 2016 1 次提交
  5. 29 10月, 2016 3 次提交
  6. 21 10月, 2016 2 次提交
  7. 19 10月, 2016 3 次提交
  8. 18 10月, 2016 3 次提交
  9. 15 10月, 2016 2 次提交
    • J
      core, core/vm: added gas price variance table · 64af2aaf
      Jeffrey Wilcke 提交于
      This implements 1b & 1c of EIP150 by adding a new GasTable which must be
      returned from the RuleSet config method. This table is used to determine
      the gas prices for the current epoch.
      
      Please note that when the CreateBySuicide gas price is set it is assumed
      that we're in the new epoch phase.
      
      In addition this PR will serve as temporary basis while refactorisation
      in being done in the EVM64 PR, which will substentially overhaul the gas
      price code.
      64af2aaf
    • 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
  10. 14 10月, 2016 1 次提交
  11. 11 10月, 2016 1 次提交
  12. 10 10月, 2016 1 次提交
  13. 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
  14. 06 10月, 2016 4 次提交
  15. 05 10月, 2016 1 次提交
  16. 03 10月, 2016 1 次提交
  17. 01 10月, 2016 1 次提交
  18. 30 9月, 2016 1 次提交
    • Y
      vm, ethapi: add `limit` option to traceTransaction · bb6115b7
      Yoichi Hirai 提交于
      that specifies the maximum number of elements in the `structLogs`
      output.  This option is useful for debugging a transaction that
      involves a large number of repetition.
      
      For example,
      ```
      debug.traceTransaction(tx, {disableStorage: true, limit: 2})
      ```
      shows at most the first two steps in the `structLogs`.
      bb6115b7
  19. 28 9月, 2016 2 次提交
  20. 26 9月, 2016 2 次提交
  21. 19 9月, 2016 2 次提交
  22. 08 9月, 2016 1 次提交
  23. 02 9月, 2016 2 次提交