1. 20 Jan, 2021 1 commit
    • Martin Holst Swende's avatar
      core: implement background trie prefetcher · 1e1865b7
      Martin Holst Swende authored
      Squashed from the following commits:
      
      core/state: lazily init snapshot storage map
      core/state: fix flawed meter on storage reads
      core/state: make statedb/stateobjects reuse a hasher
      core/blockchain, core/state: implement new trie prefetcher
      core: make trie prefetcher deliver tries to statedb
      core/state: refactor trie_prefetcher, export storage tries
      blockchain: re-enable the next-block-prefetcher
      state: remove panics in trie prefetcher
      core/state/trie_prefetcher: address some review concerns
      
      sq
      1e1865b7
  2. 08 Apr, 2020 1 commit
  3. 12 Jun, 2018 1 commit
  4. 08 May, 2018 1 commit
  5. 11 Dec, 2017 1 commit
  6. 06 Dec, 2017 1 commit
    • Felix Lange's avatar
      crypto: add DecompressPubkey, VerifySignature (#15615) · e85b68ef
      Felix Lange authored
      We need those operations for p2p/enr.
      
      Also upgrade github.com/btcsuite/btcd/btcec to the latest version
      and improve BenchmarkSha3. The benchmark printed extra output 
      that confused tools like benchstat and ignored N.
      e85b68ef
  7. 01 Jun, 2017 1 commit
  8. 18 Feb, 2017 1 commit
  9. 12 Jan, 2017 1 commit
  10. 06 Jan, 2017 1 commit
  11. 05 Jan, 2017 1 commit
  12. 28 Oct, 2016 1 commit
    • bas-vk's avatar
      internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) · b59c8399
      bas-vk authored
      This commit includes several API changes:
      
      - The behavior of eth_sign is changed. It now accepts an arbitrary
        message, prepends the well-known string
      
              \x19Ethereum Signed Message:\n<length of message>
      
        hashes the result using keccak256 and calculates the signature of
        the hash. This breaks backwards compatability!
        
      - personal_sign(hash, address [, password]) is added. It has the same
        semantics as eth_sign but also accepts a password. The private key
        used to sign the hash is temporarily unlocked in the scope of the
        request.
        
      - personal_recover(message, signature) is added and returns the
        address for the account that created a signature.
      b59c8399
  13. 21 Feb, 2016 1 commit
  14. 18 Feb, 2016 1 commit
  15. 30 Nov, 2015 1 commit
  16. 22 Sep, 2015 1 commit
  17. 23 Jul, 2015 1 commit
  18. 22 Jul, 2015 1 commit
  19. 07 Jul, 2015 1 commit
  20. 17 Mar, 2015 1 commit
  21. 16 Mar, 2015 1 commit
  22. 05 Feb, 2015 1 commit
  23. 22 Jan, 2015 1 commit
  24. 21 Jan, 2015 1 commit
  25. 19 Jan, 2015 1 commit
    • obscuren's avatar
      Added 0 key proof error · bcb1166e
      obscuren authored
      Private key \x00\x00...\x00 returns the _exact_ same public key as \x11
      \x11...\x11. Currently investigating.
      bcb1166e
  26. 12 Jan, 2015 1 commit
  27. 31 Oct, 2014 1 commit
  28. 29 Oct, 2014 1 commit
    • Felix Lange's avatar
      ethcrypto: fix the tests · 051af604
      Felix Lange authored
      The Sha3 test contained the wrong expected result. Note that the
      implementation hasn't changed, the test simply contained an outdated
      expected value that was valid for the previous implementation.
      051af604
  29. 07 Sep, 2014 2 commits