https://github.com/bitcoin/bitcoin/pull/10973/commits/d358466de15ef29c1d2bccb9aebab360d574d1d0 Remove remaining wallet accesses to node globals (Russell Yanofsky)
---
Depends on D5927, completes T601
This is a partial backport of Core [[https://github.com/bitcoin/bitcoin/pull/10973 | PR10973]]