good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 24, 2020
    • Gary Rong's avatar
      core: fix heartbeat in txpool · 5413df1d
      Gary Rong authored
      core: address comment
      5413df1d
    • villanuevawill's avatar
      core: fix queued transaction eviction · c3744474
      villanuevawill authored
      Solves issue#20582. Non-executable transactions should not be evicted on each tick if there are no promote transactions or if a pending/reset empties the pending list. Tests and logging expanded to handle these cases in the future.
      
      core/tx_pool: use a ts for each tx in the queue, but only update the heartbeat on promotion or pending replaced
      
      queuedTs proper naming
      c3744474
  2. Jul 06, 2020
  3. Jul 04, 2020
  4. Jul 03, 2020
    • meowsbits's avatar
      cmd/geth: allow configuring metrics HTTP server on separate endpoint (#21290) · 490b380a
      meowsbits authored
      Exposing /debug/metrics and /debug/metrics/prometheus was dependent
      on --pprof, which also exposes other HTTP APIs. This change makes it possible
      to run the metrics server on an independent endpoint without enabling pprof.
      490b380a
    • Gary Rong's avatar
      eth/gasprice: lighter gas price oracle for light client (#20409) · 61270e5e
      Gary Rong authored
      This PR reduces the bandwidth used by the light client to compute the
      recommended gas price. The current mechanism for suggesting the price is:
      
      - retrieve recent 20 blocks
      - get the lowest gas price of these blocks
      - sort the price array and return the middle(60%) one
      
      This works for full nodes, which have all blocks available locally.
      However, this is very expensive for the light client because the light
      client needs to retrieve block bodies from the network.
      
      The PR changes the default options for light client. With the new config,
      the light client only retrieves the two latest blocks, but in order to
      collect more sample transactions, the 3 lowest prices are collected from
      each block.
      
      This PR also changes the behavior for empty blocks. If the block is empty,
      the lastest price is reused for sampling.
      61270e5e
  5. Jul 02, 2020
  6. Jul 01, 2020
  7. Jun 30, 2020
  8. Jun 26, 2020
  9. Jun 24, 2020
  10. Jun 23, 2020
  11. Jun 19, 2020
    • Guillaume Ballet's avatar
      common/fdlimit: build on DragonflyBSD (#21241) · 9a188c97
      Guillaume Ballet authored
      * common/fdlimit: build on DragonflyBSD
      
      * review feedback
      9a188c97
    • AusIV's avatar
      core/rawdb: fix high memory usage in freezer (#21243) · 3ebfeb09
      AusIV authored
      The ancients variable in the freezer is a list of hashes, which
      identifies all of the hashes to be frozen. The slice is being allocated
      with a capacity of `limit`, which is the number of the last block
      this batch will attempt to add to the freezer. That means we are
      allocating memory for all of the blocks in the freezer, not just
      the ones to be added.
      
      If instead we allocate `limit - f.frozen`, we will only allocate
      enough space for the blocks we're about to add to the freezer. On
      mainnet this reduces usage by about 320 MB.
      3ebfeb09
  12. Jun 18, 2020
  13. Jun 17, 2020
  14. Jun 16, 2020
  15. Jun 15, 2020
  16. Jun 11, 2020
Loading