sr-gi / chaan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage:

poetry run chaan <rpcuser> <rpcpassword> <rpcconnect> <gossip_file>

where:

  • rpc{user, password, connect} match your bitcoind connection parameters
  • gossip_file matches one of the datasets provided by lntopo

Output format:

The generated output file (chaan-gossip-DATE.txt) has the following format:

n:scid=txid:out

Where:

  • n is the line number within the file
  • scid is the short channel id identifying this channel announcement
  • txid is the transaction id of the funding transaction
  • out is the index of the funding output

Installation

This currently requires lntopo to be manually installed from the repo given a patch regarding net addresses is missing from PyPi.

About


Languages

Language:Python 100.0%