utxostack / ckb-bitcoin-spv-service

Synchronize headers to Bitcoin SPV clients running on the CKB chain.
MIT License
1 stars 4 forks source link

feat: add subcommand to provide JSON-RPC APIs without updating any CKB cells #10

Closed yangby-cryptape closed 5 months ago

yangby-cryptape commented 5 months ago

Description

Add a read-only version serve sub-command: watch.

The serve sub-command requires a key to update the Bitcoin SPV instance, but the watch sub-command won't.

With watch sub-command, there will be a read-only service which only provides JSON-RPC APIs.