Closed 0xB10C closed 1 year ago
The caching part might not be needed in the proxy. This reduces implementation complexity. You only need a cache if you expose the proxy publicly, e.g. with nginx
. At this point you can also use nginx
to handle the caching.
It would be nice to be able to load addrman tables directly from Bitcoin Core RPC. However, accessing Bitcoin Core RPC from a Browser ins't something we want to do. Better to have a proxy that handles credentials and only ever allows access to the
getrawaddrman
RPC.The proxy should:
Access-Control-Allow-Origin: *
header set to allow cross-origin fetch requests