poetry run chaan <rpcuser> <rpcpassword> <rpcconnect> <gossip_file>
where:
rpc{user, password, connect}
match yourbitcoind
connection parametersgossip_file
matches one of the datasets provided by lntopo
The generated output file (chaan-gossip-DATE.txt
) has the following format:
n:scid=txid:out
Where:
n
is the line number within the filescid
is the short channel id identifying this channel announcementtxid
is the transaction id of the funding transactionout
is the index of the funding output
This currently requires lntopo to be manually installed from the repo given a patch regarding net addresses is missing from PyPi.