good morning!!!!

Skip to content
Snippets Groups Projects
  1. Oct 03, 2017
  2. Oct 02, 2017
  3. Oct 01, 2017
    • Felix Lange's avatar
      ethclient, mobile: add TransactionSender (#15127) · d78ad226
      Felix Lange authored
      * core/types: make Signer derive address instead of public key
      
      There are two reasons to do this now: The upcoming ethclient signer
      doesn't know the public key, just the address. EIP 208 will introduce a
      new signer which derives the 'entry point' address for transactions with
      zero signature. The entry point has no public key.
      
      Other changes to the interface ease the path make to moving signature
      crypto out of core/types later.
      
      * ethclient, mobile: add TransactionSender
      
      The new method can get the right signer without any crypto, and without
      knowledge of the signature scheme that was used when the transaction was
      included.
      d78ad226
  4. Sep 27, 2017
    • Péter Szilágyi's avatar
      core/bloombits, eth/filters: handle null topics (#15195) · 2ab2a9f1
      Péter Szilágyi authored
      When implementing the new bloombits based filter, I've accidentally broke null
      topics by removing the special casing of common.Hash{} filter rules, which
      acted as the wildcard topic until now.
      
      This PR fixes the regression, but instead of using the magic hash
      common.Hash{} as the null wildcard, the PR reworks the code to handle nil
      topics during parsing, converting a JSON null into nil []common.Hash topic.
      2ab2a9f1
  5. Sep 22, 2017
  6. Sep 21, 2017
  7. Sep 14, 2017
  8. Sep 11, 2017
  9. Sep 09, 2017
    • Felix Lange's avatar
      core, eth/downloader: commit block data using batches (#15115) · 10181b57
      Felix Lange authored
      * ethdb: add Putter interface and Has method
      
      * ethdb: improve docs and add IdealBatchSize
      
      * ethdb: remove memory batch lock
      
      Batches are not safe for concurrent use.
      
      * core: use ethdb.Putter for Write* functions
      
      This covers the easy cases.
      
      * core/state: simplify StateSync
      
      * trie: optimize local node check
      
      * ethdb: add ValueSize to Batch
      
      * core: optimize HasHeader check
      
      This avoids one random database read get the block number. For many uses
      of HasHeader, the expectation is that it's actually there. Using Has
      avoids a load + decode of the value.
      
      * core: write fast sync block data in batches
      
      Collect writes into batches up to the ideal size instead of issuing many
      small, concurrent writes.
      
      * eth/downloader: commit larger state batches
      
      Collect nodes into a batch up to the ideal size instead of committing
      whenever a node is received.
      
      * core: optimize HasBlock check
      
      This avoids a random database read to get the number.
      
      * core: use numberCache in HasHeader
      
      numberCache has higher capacity, increasing the odds of finding the
      header without a database lookup.
      
      * core: write imported block data using a batch
      
      Restore batch writes of state and add blocks, tx entries, receipts to
      the same batch. The change also simplifies the miner.
      
      This commit also removes posting of logs when a forked block is imported.
      
      * core: fix DB write error handling
      
      * ethdb: use RLock for Has
      
      * core: fix HasBlock comment
      10181b57
  10. Sep 07, 2017
  11. Sep 06, 2017
  12. Sep 05, 2017
  13. Sep 04, 2017
  14. Aug 28, 2017
  15. Aug 27, 2017
  16. Aug 25, 2017
  17. Aug 24, 2017
  18. Aug 23, 2017
  19. Aug 22, 2017
  20. Aug 18, 2017
  21. Aug 17, 2017
  22. Aug 16, 2017
Loading