go-ethereum/consensus/ethash
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
..
algorithm.go consensus/ethash: replace a magic number with it's constant (#22618) 2021-04-06 21:02:52 +03:00
algorithm_test.go cmd/geth, consensus/ethash: add support for --miner.notify.full flag (#22558) 2021-03-26 18:30:10 +01:00
api.go all: fix miner hashRate -> hashrate on API calls 2021-03-31 10:56:51 +03:00
consensus.go Mining Analysis (#429) 2022-09-30 13:40:18 +05:30
consensus_test.go consensus/ethash: implement faster difficulty calculators (#21976) 2020-12-11 11:06:44 +01:00
difficulty.go go.mod: upgrade to github.com/holiman/uint256 v1.2.0 (#22745) 2021-05-10 12:29:33 +02:00
ethash.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
ethash_test.go Mining Analysis (#429) 2022-09-30 13:40:18 +05:30
mmap_help_linux.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
mmap_help_other.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
sealer.go Mining Analysis (#429) 2022-09-30 13:40:18 +05:30
sealer_test.go Mining Analysis (#429) 2022-09-30 13:40:18 +05:30