go-ethereum/core
Arpit Temani 2a6ea470a0
Mining Analysis (#429)
* base setup for miner opentel

* version change

* modify ctx passing

* add attributes

* update fill txs span attributes

* fix: use common attributes for remote and local txs

* pass context in seal

* fix

* fix

* add traces to finalize and assemble

* fix

* use task ctx in result loop

* only start parent span if no error

* send nil tracer from Finalize

* clean up

* add sub function timings in span attribute

* modify span attributes

* set time attribute to milliseconds

* linters fix

* fix linters for consensus

* add nolint to worker

* fix testcase

* Added fillTransactions subTraces

* add traces in intermediate root hash function

* add traces in WriteBlockAndSetHead function, fix linters

* fix: linting errors

* fix: test cases

* fix: go.mod

* fix: testcase

* extract tracing package

* linters fix

* debug

* Revert "debug"

This reverts commit 2d68b7c7b1105080563a4e1a6949dabc10acaff8.

* fix: panic in NewTransactionsByPriceAndNonce iteration

* change heimdall version to develop

* miner/worker: fix duplicate call to tx ordering

* miner/worker: refactor tracing

* consensus/bor: use tracing package

* tracing: add more abstraction for spans

* tracing: set all attributes at once

* remove nested tracing from blockchain.WriteBlockAndSetHead function

* remove nested tracing from statedb.IntermediateRoot function

* handle end span in bor.Seal function

* fix: typo

* minor fixes

* fix: linters

* fix: remove nolint

* go mod tidy

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Shivam Sharma <shivam691999@gmail.com>
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2022-09-30 13:40:18 +05:30
..
allocs fix typo 2021-09-23 10:56:17 +05:30
asm V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
beacon V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
bloombits all: fix some go-critic linter warnings (#23709) 2021-10-13 17:31:02 +02:00
forkid V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
rawdb Reciept e2e test (#431) 2022-07-14 19:28:56 +03:00
state Reciept e2e test (#431) 2022-07-14 19:28:56 +03:00
tests RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
types Mining Analysis (#429) 2022-09-30 13:40:18 +05:30
vm V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
block_validator.go cmd, core, eth, miner: deprecate miner.gastarget flag (#23213) 2021-08-10 11:28:33 +03:00
block_validator_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
blockchain.go Mining Analysis (#429) 2022-09-30 13:40:18 +05:30
blockchain_bor_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
blockchain_insert.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
blockchain_reader.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
blockchain_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
blocks.go use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
bloom_indexer.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
bor_blockchain.go fix: conflict 2020-12-05 19:57:46 +05:30
bor_events.go fixes 2021-12-06 14:25:33 +05:30
bor_fee_log.go fee change 2021-08-19 18:40:18 +05:30
chain_indexer.go all: make logs a bit easier on the eye to digest (#22665) 2021-04-15 20:35:00 +03:00
chain_indexer_test.go core: fix potential race in chainIndexerTest (#22346) 2021-03-19 13:32:57 +01:00
chain_makers.go Mining Analysis (#429) 2022-09-30 13:40:18 +05:30
chain_makers_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
dao_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
error.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
events.go Minor Refactor 2021-12-03 17:28:53 +05:30
evm.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
forkchoice.go Crypto-secure package with math/rand interface (#509) 2022-09-14 14:54:43 +03:00
forkchoice_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis.go core: change baseFee into baseFeePerGas in genesis json 2021-06-14 14:04:44 +02:00
gen_genesis_account.go tests: update for London (#22976) 2021-06-07 14:37:56 +02:00
genesis.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
genesis_alloc.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
genesis_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
headerchain.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
headerchain_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
mkalloc.go all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
rlp_test.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
state_prefetcher.go all: removed blockhash from statedb (#23126) 2021-06-30 15:17:01 +02:00
state_processor.go all: removed blockhash from statedb (#23126) 2021-06-30 15:17:01 +02:00
state_processor_test.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
state_transition.go new: unskip evm-benchmark tests 2022-09-23 11:42:10 +05:30
tx_cacher.go use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
tx_journal.go core: transaction journal should not be executable (#23090) 2021-06-23 07:29:20 +03:00
tx_list.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
tx_list_test.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
tx_noncer.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
tx_pool.go linters 2022-09-05 11:51:18 +04:00
tx_pool_test.go linters 2022-09-05 11:51:18 +04:00
types.go use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30