-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Description
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
- version of
lnd
0.6.1-beta commit=v0.6.1-beta - which operating system (
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 - version of
btcd,bitcoind, or other backend
bitcoind: 0.17.0 - any other relevant environment details
bitcoind and lnd are running in docker containers
raspberry pi 3b+
Steps to reproduce
- Open a channel with anyone
- Wait for channel to be fully confimed
- Generate new address
- Send a transaction to newly created address
- Close channel before the transaction from step 4 is confirmed
- run
lncli listchaintxnsand try to determine which of the two unconfirmed transactions is a channel close
Expected behaviour
Should be able to determine which transactions are for closing channels.
Actual behaviour
Unable to determine which transactions are for closing channels.
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