romanz/electrs

Feature: decouple index DB from specific RPC implementation

Open

#554 创建于 2021年10月15日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)Rust (551 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (1,366 star)
PR 合并指标
 (PR 指标待抓取)

描述

Is your feature request related to a problem? Please describe. Today, electrs only supports JSONRPC, so adding more RPC implementations is tricky (e.g. https://github.com/romanz/electrs/issues/257).

Describe the solution you'd like We should probably decouple all index build/query code into a separate library crate, allowing composing it with specific RPC protocols.

Describe alternatives you've considered Using cargo features (similar to how BWT allows both Electrum RPC and HTTP API).

贡献者指南