romanz/electrs

Feature: decouple index DB from specific RPC implementation

Open

#554 aberto em 15 de out. de 2021

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)Rust (551 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (1.366 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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).

Guia do colaborador