mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-28 01:59:35 +01:00
c18bf0bd9brefactor: cleanup index logging (Sjors Provoost) Pull request description: This PR removes the use of `__func__` from index logging, since we have `-logsourcelocations`. It also improves readability by putting `GetName()` in a more logical place. Before > coinstatsindex: best block of the index not found. Please rebuild the index. After: > best block of coinstatsindex not found. Please rebuild the index. I found myself maintaining this commit as part of https://github.com/Sjors/bitcoin/pull/86, but since that might never land here, it seemed better to split it into its own PR (or get rid of it). ACKs for top commit: l0rinc: Lightweight code review ACKc18bf0bd9bmaflcko: review ACKc18bf0bd9b🚣 Tree-SHA512: 755948371e3ff7a5515b63ce48075631ec7868d69c3c1469176d5be0e8b28e1c071e206ae3f7320f87d8c441f815894acfef61621f05795b5ff6b8a5a3031e3b