Remove direct bitcoin calls from qt/rpcconsole.cpp
Summary:
Partial backport of Core PR 10244
https://github.com/bitcoin/bitcoin/pull/10244/commits/582daf6d22da5394d02a12003b9542d9f5865ae2
Progress towards T417
Depends on D2822
Test Plan:
make check
ninja check
bitcoin-qt # sanity checks + ban table renders as expected
Reviewers: deadalnix, Fabien, #bitcoin_abc
Reviewed By: Fabien, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D2845