go-ethereum/consensus/bor
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
..
abi Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
api Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
clerk Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
contract Reciept e2e test (#431) 2022-07-14 19:28:56 +03:00
heimdall consensus/bor/heimdall: add new meter and timer metrics in heimdall client (#459) 2022-08-23 18:00:54 +05:30
heimdallgrpc Fix EOF error in gRPC state-sync (#489) 2022-08-11 20:40:08 +03:00
statefull add context to Fetch* methods (#445) 2022-07-13 09:07:32 +03:00
valset Fix "Signer 0x... is not a part of the producer set at block xxxx" 2022-07-25 10:19:39 -07:00
api.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
bor.go Mining Analysis (#429) 2022-09-30 13:40:18 +05:30
bor_test.go consensus/bor: add mock heimdall rest-server, tests for timeout and cancellation (#458) 2022-07-19 16:22:41 +05:30
errors.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
genesis.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
genesis_contract_mock.go Prepare Bor package for testing (#416) 2022-06-08 16:39:30 +03:00
heimdall.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
merkle.go Reciept e2e test (#431) 2022-07-14 19:28:56 +03:00
snapshot.go Fix "Signer 0x... is not a part of the producer set at block xxxx" 2022-07-25 10:19:39 -07:00
snapshot_test.go Crypto-secure package with math/rand interface (#509) 2022-09-14 14:54:43 +03:00
span.go add context to Fetch* methods (#445) 2022-07-13 09:07:32 +03:00
span_mock.go add context to Fetch* methods (#445) 2022-07-13 09:07:32 +03:00