0xB10C / addrman-observer

RPC-based Bitcoin Core IP address manager visualization
https://addrman.observer/
MIT License
2 stars 0 forks source link

Add caching, compressing, and CORS-allowing RPC proxy middleware #4

Closed 0xB10C closed 1 year ago

0xB10C commented 1 year ago

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:

0xB10C commented 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.