1. 21 10月, 2016 1 次提交
  2. 19 10月, 2016 12 次提交
  3. 18 10月, 2016 10 次提交
  4. 17 10月, 2016 1 次提交
  5. 15 10月, 2016 8 次提交
    • P
      Merge pull request #3142 from fjl/trie-sync-fix · b19b7c39
      Péter Szilágyi 提交于
      trie: fix regression that linked all downloaded nodes together
      b19b7c39
    • J
      Merge pull request #3141 from obscuren/reprice-block-number · 9276c4e1
      Jeffrey Wilcke 提交于
      params: set reprice block number to 2463000
      9276c4e1
    • F
      trie: fix regression that linked all downloaded nodes together · 2cd7a039
      Felix Lange 提交于
      The trie sync code links subtries using pointers into node structs.
      Since commit 40cdcf11 nodes are no longer copied when unpacking from
      an interface value, causing all nodes to get linked up as the sync
      progresses. Fix it by breaking the pointer chain with an explicit copy.
      2cd7a039
    • J
      params: set reprice block number to 2463000 · f2be2493
      Jeffrey Wilcke 提交于
      f2be2493
    • P
      Merge pull request #3111 from obscuren/gas-price-fork · 81b01f1c
      Péter Szilágyi 提交于
      core, core/vm: added gas price variance table (EIP #150)
      81b01f1c
    • P
      Merge pull request #3138 from karalabe/txpool-pending-limits · a4d9e63d
      Péter Szilágyi 提交于
      core: add global (soft) limits on the pending transactions
      a4d9e63d
    • 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
  6. 14 10月, 2016 6 次提交
  7. 13 10月, 2016 1 次提交
  8. 11 10月, 2016 1 次提交