mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-05 12:41:14 +00:00
Add nil checks before metric recording calls in diskLayer.node(). When metrics collection is disabled, this eliminates per-lookup method call overhead on the hot node retrieval path. |
||
|---|---|---|
| .. | ||
| database | ||
| hashdb | ||
| pathdb | ||
| database.go | ||
| history.go | ||
| preimages.go | ||
| preimages_test.go | ||
| states.go | ||