go-ethereum/common
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
..
bitutil common,crypto: move fuzzers out of core (#22029) 2020-12-23 17:44:45 +01:00
compiler common/compiler: fix parsing of solc output with solidity v.0.8.0 (#22092) 2021-01-05 14:48:22 +01:00
debug Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
fdlimit all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
hexutil V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
leak stable tests 2022-05-13 09:11:17 +03:00
math use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
mclock common/mclock: remove dependency on github.com/aristanetworks/goarista (#22211) 2021-01-22 20:15:27 +01:00
network A thread safe way to take a free port (#485) 2022-08-16 18:43:18 +03:00
prque les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
set Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
tracing Mining Analysis (#429) 2022-09-30 13:40:18 +05:30
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes.go common: remove ToHex and ToHexArray (#21610) 2020-11-04 11:20:39 +01:00
bytes_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
debug.go common: rename unused function with typo (#23025) 2021-06-10 10:53:23 +03:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
size.go core, cmd, vendor: fixes and database inspection tool (#15) 2019-05-16 10:39:34 +03:00
size_test.go cmd/utils, eth: relinquish GC cache to read cache in archive mode 2019-02-07 14:36:25 +02:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
types.go common: fixes format verb (#23495) 2021-08-31 10:22:20 +02:00
types_test.go common: improve printing of Hash and Address (#21834) 2020-12-08 19:19:09 +01:00