- 10 8月, 2021 1 次提交
-
-
由 gary rong 提交于
-
- 15 6月, 2021 1 次提交
-
-
由 Péter Szilágyi 提交于
* accounts/abi/bind: fix bounded contracts and sim backend for 1559 * accounts/abi/bind, ethclient: don't rely on chain config for gas prices * all: enable London for all internal tests * les: get receipt type info in les tests * les: fix weird test Co-authored-by: NMartin Holst Swende <martin@swende.se>
-
- 21 5月, 2021 1 次提交
-
-
由 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>
-
- 25 2月, 2021 1 次提交
-
-
由 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>
-
- 09 6月, 2020 1 次提交
-
-
由 Martin Holst Swende 提交于
* eth/downloader tests: fix spurious failing test due to race between receipts/headers * miner tests: fix travis failure on arm64 * eth/downloader: tests - store td in ancients too
-
- 11 5月, 2020 1 次提交
-
-
由 Martin Holst Swende 提交于
* cmd, core, eth: init tx lookup in background * core/rawdb: tiny log fixes to make it clearer what's happening * core, eth: fix rebase errors * core/rawdb: make reindexing less generic, but more optimal * rlp: implement rlp list iterator * core/rawdb: new implementation of tx indexing/unindex using generic tx iterator and hashing rlp-data * core/rawdb, cmd/utils: fix review concerns * cmd/utils: fix merge issue * core/rawdb: add some log formatting polishes Co-authored-by: Nrjl493456442 <garyrong0905@gmail.com> Co-authored-by: NPéter Szilágyi <peterke@gmail.com>
-
- 04 4月, 2020 1 次提交
-
-
由 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>
-
- 20 2月, 2020 1 次提交
-
-
由 gary rong 提交于
-
- 29 11月, 2019 1 次提交
-
-
由 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.
-
- 25 11月, 2019 1 次提交
-
-
由 Guillaume Ballet 提交于
-
- 20 11月, 2019 1 次提交
-
-
由 gary rong 提交于
* miner: fix data race in tests miner: fix linter * miner: address comment
-
- 13 11月, 2019 1 次提交
-
-
由 Guillaume Ballet 提交于
TestEmptyWork* occasionally fails due to timeout. Increase the timeout.
-
- 08 11月, 2019 1 次提交
-
-
由 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
-
- 30 10月, 2019 1 次提交
-
-
由 gary rong 提交于
Fix the block import unit test which can time out sometimes.
-
- 20 10月, 2019 1 次提交
-
-
由 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.
-
- 22 8月, 2019 1 次提交
-
-
由 Felix Lange 提交于
Original change by @jpeletier
-
- 23 4月, 2019 1 次提交
-
-
由 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.
-
- 06 3月, 2019 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 23 1月, 2019 1 次提交
-
-
由 Martin Holst Swende 提交于
* tests: tune flaky tests that error in travis occasionally * tests: formatting
-
- 08 10月, 2018 1 次提交
-
-
由 Felix Lange 提交于
This fixes the tests on 32bit platforms.
-
- 21 9月, 2018 1 次提交
-
-
由 gary rong 提交于
* core, eth: fix dependency cycle * eth, miner: perfer to locally generated uncle
-
- 20 9月, 2018 1 次提交
-
-
由 gary rong 提交于
-
- 11 9月, 2018 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 29 8月, 2018 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
- 22 8月, 2018 1 次提交
-
-
由 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
-
- 16 8月, 2018 1 次提交
-
-
由 gary rong 提交于
* miner: regenerate mining work every 3 seconds * miner: polish
-
- 15 8月, 2018 1 次提交
-
-
由 gary rong 提交于
* miner: stream uncle block * miner: polish
-
- 14 8月, 2018 1 次提交
-
-
由 gary rong 提交于
* miner: move agent logic to worker * miner: polish * core: persist block before reorg
-