good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 13, 2020
  2. Jul 10, 2020
  3. Jul 09, 2020
  4. Jul 08, 2020
  5. Jul 07, 2020
  6. Jul 06, 2020
  7. Jul 04, 2020
  8. 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
  9. Jul 02, 2020
  10. Jul 01, 2020
  11. Jun 30, 2020
  12. Jun 26, 2020
  13. Jun 24, 2020
    • meowsbits's avatar
      cmd/geth: make import cmd exit with 1 if import errors occurred (#21244) · 413358ab
      meowsbits authored
      
      The import command should not return a 0 status
      code if the import finishes prematurely becaues
      of an import error.
      
      Returning the error causes the program to exit with 1
      if the err is non nil.
      
      Signed-off-by: default avatarmeows <b5c6@protonmail.com>
      413358ab
    • Marius van der Wijden's avatar
      core/vm: fix incorrect computation of BLS discount (#21253) · 0c829289
      Marius van der Wijden authored
      * core/vm: fix incorrect computation of discount
      
      During testing on Yolov1 we found that the way geth calculates the discount
      is not in line with the specification. Basically what we did is calculate
      128 * Bls12381GXMulGas * discount / 1000 whenever we received more than 128 pairs
      of values. Correct would be to calculate k * Bls12381... for k > 128.
      
      * core/vm: better logic for discount calculation
      
      * core/vm: better calculation logic, added worstcase benchmarks
      
      * core/vm: better benchmarking logic
      0c829289
Loading