1. 10 8月, 2021 1 次提交
  2. 15 6月, 2021 1 次提交
  3. 21 5月, 2021 1 次提交
    • M
      EIP-1559: miner changes (#22896) · a6c46278
      Martin Holst Swende 提交于
      * core/types, miner: create TxWithMinerFee wrapper, add EIP-1559 support to TransactionsByMinerFeeAndNonce
      
      miner: set base fee when creating a new header, handle gas limit, log miner fees
      
      * all: rename to NewTransactionsByPriceAndNonce
      
      * core/types, miner: rename to NewTransactionsByPriceAndNonce + EffectiveTip
      
      miner: activate 1559 for testGenerateBlockAndImport tests
      
      * core,miner: revert naming to TransactionsByPriceAndTime
      
      * core/types/transaction: update effective tip calculation logic
      
      * miner: update aleut to london
      
      * core/types/transaction_test: use correct signer for 1559 txs + add back sender check
      
      * miner/worker: calculate gas target from gas limit
      
      * core, miner: fix block  gas limits for 1559
      Co-authored-by: NAnsgar Dietrichs <adietrichs@gmail.com>
      Co-authored-by: Nlightclient@protonmail.com <lightclient@protonmail.com>
      a6c46278
  4. 25 2月, 2021 1 次提交
    • L
      all: add support for EIP-2718, EIP-2930 transactions (#21502) · bbfb1e40
      lightclient 提交于
      This adds support for EIP-2718 typed transactions as well as EIP-2930
      access list transactions (tx type 1). These EIPs are scheduled for the
      Berlin fork.
      
      There very few changes to existing APIs in core/types, and several new APIs
      to deal with access list transactions. In particular, there are two new
      constructor functions for transactions: types.NewTx and types.SignNewTx.
      Since the canonical encoding of typed transactions is not RLP-compatible,
      Transaction now has new methods for encoding and decoding: MarshalBinary
      and UnmarshalBinary.
      
      The existing EIP-155 signer does not support the new transaction types.
      All code dealing with transaction signatures should be updated to use the
      newer EIP-2930 signer. To make this easier for future updates, we have
      added new constructor functions for types.Signer: types.LatestSigner and
      types.LatestSignerForChainID. 
      
      This change also adds support for the YoloV3 testnet.
      Co-authored-by: NMartin Holst Swende <martin@swende.se>
      Co-authored-by: NFelix Lange <fjl@twurst.com>
      Co-authored-by: NRyan Schneider <ryanleeschneider@gmail.com>
      bbfb1e40
  5. 09 6月, 2020 1 次提交
  6. 11 5月, 2020 1 次提交
  7. 04 4月, 2020 1 次提交
    • B
      all: fix a bunch of inconsequential goroutine leaks (#20667) · be6078ad
      Boqin Qin 提交于
      The leaks were mostly in unit tests, and could all be resolved by
      adding suitably-sized channel buffers or by restructuring the test
      to not send on a channel after an error has occurred.
      
      There is an unavoidable goroutine leak in Console.Interactive: when
      we receive a signal, the line reader cannot be unblocked and will get
      stuck. This leak is now documented and I've tried to make it slightly 
      less bad by adding a one-element buffer to the output channels of
      the line-reading loop. Should the reader eventually awake from its
      blocked state (i.e. when stdin is closed), at least it won't get stuck
      trying to send to the interpreter loop which has quit long ago.
      Co-authored-by: NFelix Lange <fjl@twurst.com>
      be6078ad
  8. 20 2月, 2020 1 次提交
  9. 29 11月, 2019 1 次提交
    • G
      core, miner: remove PostChainEvents (#19396) · fc7e0fe6
      gary rong 提交于
      This change:
      
      - removes the PostChainEvents method on core.BlockChain.
      - sorts 'removed log' events by block number.
      - fire the NewChainHead event if we inject a canonical block into the chain
        even if the entire insertion is not successful.
      - guarantees correct event ordering in all cases.
      fc7e0fe6
  10. 25 11月, 2019 1 次提交
  11. 20 11月, 2019 1 次提交
  12. 13 11月, 2019 1 次提交
  13. 08 11月, 2019 1 次提交
    • G
      travis: enable test suite on ARM64 (#20219) · de2259d2
      Guillaume Ballet 提交于
      * travis: Enable ARM support
      
      * Include fixes from 20039
      
      * Add a trace to debug the invalid lookup issue
      
      * Try increasing the timeout to see if the arm test passes
      
      * Investigate the resolver issue
      
      * Increase arm64 timeout for clique test
      
      * increase timeout in tests for arm64
      
      * Only test the failing tests
      
      * Review feedback: don't export epsilon
      
      * Remove investigation tricks+include fjl's feeback
      
      * Revert the retry ahead of using the mock resolver
      
      * Fix rebase errors
      de2259d2
  14. 30 10月, 2019 1 次提交
  15. 20 10月, 2019 1 次提交
    • G
      miner: add generate and import unit test (#20111) · d4bb3798
      gary rong 提交于
      This PR adds a new unit test in miner package which will create some blocks from miner and then import into another chain. In this way, we can ensure all blocks generated by Geth miner obey consensus rules.
      d4bb3798
  16. 22 8月, 2019 1 次提交
  17. 23 4月, 2019 1 次提交
    • G
      miner: polish miner configuration (#19480) · 6269e557
      gary rong 提交于
      * cmd, eth, miner: disable advance sealing if user require
      
      * cmd, console, miner, les, eth: wrap the miner config
      
      * eth: remove todo
      
      * cmd, miner: revert noadvance flag
      
      The reason for this is: if the transaction execution is even longer
      than block time, then this kind of transactions is DoS attack.
      6269e557
  18. 06 3月, 2019 1 次提交
  19. 23 1月, 2019 1 次提交
  20. 08 10月, 2018 1 次提交
  21. 21 9月, 2018 1 次提交
  22. 20 9月, 2018 1 次提交
  23. 11 9月, 2018 1 次提交
  24. 29 8月, 2018 2 次提交
  25. 22 8月, 2018 1 次提交
    • G
      cmd, eth, miner: make recommit configurable (#17444) · b2c644ff
      gary rong 提交于
      * cmd, eth, miner: make recommit configurable
      
      * cmd, eth, les, miner: polish a bit
      
      * miner: filter duplicate sealing work
      
      * cmd: remove uncessary conversion
      
      * miner: avoid microptimization in favor of cleaner code
      b2c644ff
  26. 16 8月, 2018 1 次提交
  27. 15 8月, 2018 1 次提交
  28. 14 8月, 2018 1 次提交