I have a few PRs and branches that use these two commits, probably makes sense to split them into a separate PR to be merged sooner.
The first commit contains some things that end up being commonly used in new wallet benchmarks. These are moved into wallet_common.{h/cpp}
.
The second commit contains a bugfix for the wallet_balance benchmark where it calls LoadWallet
in the wrong place. It’s unnecessary to call that function in this benchmark. Although this does not cause any issues currently, it ends up causing issues in some PRs and branches that I’m working on.