cherry pick Thomas' work #349

Merged
telackey merged 13 commits from ian/v5_cherry_pick into v1.10.26-statediff-v5 2023-03-24 14:13:45 +00:00

13 Commits

Author SHA1 Message Date
i-norden
f8f446e0a9 fix balance formatting when COPY FROMing 2023-03-23 14:51:27 -05:00
i-norden
eb44021e9f update go.mod and un-comment-out service test 2023-03-23 14:27:03 -05:00
i-norden
68835c0ef2 update sql.Statements methods to match v5 schema 2023-03-23 13:39:18 -05:00
i-norden
24861e4883 rename CodeOutputTimer to IPLDOutputTimer 2023-03-23 13:33:10 -05:00
7b55d8c16a Add timer and counter for batched write operations. (#337)
* Add timer and counter for batched write operations.

* Tweak comment
2023-03-23 13:31:00 -05:00
50ff8bf1ca Add timers/counters for LevelDB Get, Put, Has, and Delete. (#332)
* Add timers/counters for LevelDB Get, Put, Has, and Delete.

* Test for null metrics (the unit tests don't initialize them).
2023-03-23 13:31:00 -05:00
01df44e2dd Add COPY support for inserting multiple rows in a single operation. (#328)
* Add COPY support for inserting multiple rows in a single command.
2023-03-23 13:31:00 -05:00
ed9d47885e Move noisiest timer message to trace. (#317) 2023-03-23 13:31:00 -05:00
a952a1f39f Add timers and update StandardTimer to include total time. (#316)
* Add timers and update StandardTimer to include total time.

* Even more timers.
2023-03-23 13:31:00 -05:00
73e6ee7013 Fix duration logging and add new metrics for fine-grained processing stats. (#315) 2023-03-23 13:31:00 -05:00
f8c1032e7f fix: Unify and fix indexer metrics. (#314) 2023-03-23 13:31:00 -05:00
5504e5432b Add finer-grained logging and timers for statediffing. (#313)
* More logging for statediffs.

* Add count

* Tweak logging

* lint
2023-03-23 13:31:00 -05:00
15a49346a8 Add a new option to the config for capping the maximum difficulty. (#312)
* consensus/ethash/consensus.go

* Add a new param to the config for capping the maximum difficulty.  This is useful for speeding up block creation on a test network.
2023-03-23 13:31:00 -05:00