[chronik] Implement blockchain.scripthash.listunspent electrum method
Summary: See https://electrum-cash-protocol.readthedocs.io/en/latest/protocol-methods.html#blockchain.scripthash.listunspent
Test Plan:
ninja check-functional
Test versus a fulcrum instance:
echo '{"jsonrpc": "2.0", "method": "blockchain.scripthash.listunspent", "params": ["aebfdc959b708806e130b0e8515eaa292930768ff5d870e433039e4b1d021886"], "id": "test"}' | nc fulcrum.pepipierre.fr 50001 src/bitcoind -chronikelectrumbind=127.0.0.1:50001 echo '{"jsonrpc": "2.0", "method": "blockchain.scripthash.listunspent", "params": ["aebfdc959b708806e130b0e8515eaa292930768ff5d870e433039e4b1d021886"], "id": "test"}' | nc 127.0.0.1 50001
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D17672