-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add closing_txid to WaitingCloseChannel rpc #3234
Copy link
Copy link
Closed
Labels
P3might get fixed, nice to havemight get fixed, nice to havechannel closingRelated to the closing of channels cooperatively and uncooperativelyRelated to the closing of channels cooperatively and uncooperativelyenhancementImprovements to existing features / behaviourImprovements to existing features / behaviourrpcRelated to the RPC interfaceRelated to the RPC interface
Metadata
Metadata
Assignees
Labels
P3might get fixed, nice to havemight get fixed, nice to havechannel closingRelated to the closing of channels cooperatively and uncooperativelyRelated to the closing of channels cooperatively and uncooperativelyenhancementImprovements to existing features / behaviourImprovements to existing features / behaviourrpcRelated to the RPC interfaceRelated to the RPC interface
Background
I am trying to parse through my transactions using listchaintxns. I am unable to determine the difference between a waiting close channel and an incoming on chain transaction with zero confirmations.
Both ForceClosedChannel and ClosedChannel contain closing_txid already. It makes sense to add closing_txid to WaitingCloseChannel as well.
Your environment
lnd0.6.1-beta commit=v0.6.1-beta
uname -aon *Nix)Linux lnd 4.14.70-v7+ Fixing some README typos #2 SMP Wed Sep 19 07:49:26 UTC 2018 armv7l Linux
btcd,bitcoind, or other backendbitcoind: 0.17.0
bitcoind and lnd are running in docker containers
raspberry pi 3b+
Steps to reproduce
lncli listchaintxnsand try to determine which of the two unconfirmed transactions is a channel closeExpected behaviour
Should be able to determine which transactions are for closing channels.
Actual behaviour
Unable to determine which transactions are for closing channels.