solution: delegate bitcoin balance request to another upstream, if data is unavailable locally

This commit is contained in:
Igor Artamonov
2020-09-22 23:51:07 -04:00
parent 19717d622b
commit d537ff0461
20 changed files with 276 additions and 33 deletions

View File

@@ -103,6 +103,9 @@ cluster:
password: 1a68f20154fc258fe4149c199ad8f281
- id: bitcoin
chain: bitcoin
options:
# use the node to fetch balances
balance: true
connection:
bitcoin:
rpc:
@@ -110,6 +113,9 @@ cluster:
basic-auth:
username: bitcoin
password: e984af45bb888428207c290
# uses Esplora index to fetch balances and utxo for an address
esplora:
url: "http://localhost:3001"
- id: remote
connection:
grpc: