Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialogs don't display when DLC is broadcast #142

Open
Christewart opened this issue Apr 19, 2022 · 2 comments
Open

Dialogs don't display when DLC is broadcast #142

Christewart opened this issue Apr 19, 2022 · 2 comments

Comments

@Christewart
Copy link
Contributor

Christewart commented Apr 19, 2022

Unfortunately downloading the proxy log doesn't work, see #141

Screenshot from 2022-04-19 09-29-24

What was seen on the backend

2022-04-19T14:29:03UTC INFO [DLCClient] connected to kqkv4oihiayhbbekc27bn7fafbhwaxkus47xbclt5yl4q4ovl6ziynid.onion/<unresolved>:2862 via SOCKS5 proxy /10.21.21.11:9050
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] Creating DLC Accept for tempContractId 6740e768fea7e87f4dfa3dee358fe5698acb472dfc3a8bef6ebb734e21d92abf
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] Attempting to fund a tx for amt=10000 sats with feeRate=3 sats/vbyte
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] Reserving utxos=Vector(TransactionOutPoint(282855b97e5d2878da06f88c439979cf3a33239e7342868dd98398fece01b936:1))
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] Generated new address=bc1qgxgr9cqsa8jgnlntltalswg3e68kh23kr82zpv path=m/84'/0'/0'/1/318 isChange=true
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] Spending UTXOs: Vector(TransactionOutPoint(282855b97e5d2878da06f88c439979cf3a33239e7342868dd98398fece01b936:1) state=ConfirmedReceived)
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] UTXO 0 details: TransactionOutput(96890 sats,wpkh(a82d25961b4f6896f28ca23fd888d9a7705e9a59))
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] Initializing DLC from received offer with tempContractId 6740e768fea7e87f4dfa3dee358fe5698acb472dfc3a8bef6ebb734e21d92abf
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] Creating CET Sigs for b11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb
2022-04-19T14:29:03UTC INFO [DLCWallet$DLCWalletImpl] Created DLCAccept for tempContractId 6740e768fea7e87f4dfa3dee358fe5698acb472dfc3a8bef6ebb734e21d92abf with contract Id b11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb
2022-04-19T14:29:05UTC INFO [DLCDataHandler] Received LnMessage DLCSignTLV
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Verifying CET Signatures for contract b11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] CET Signatures are valid for contract b11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Verifying 1 funding sigs for contract b11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] DLC b11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb sigs are verified and stored, ready to broadcast
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] broadcasting ByteVector(32 bytes, 0xb11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb)
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Created funding transaction d65ea08d972fa3d0b65577696785df55b9a07788b5d1c95967b132d6223e6074 for contract b11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Broadcasting funding transaction d65ea08d972fa3d0b65577696785df55b9a07788b5d1c95967b132d6223e6074 for contract b11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Successfully inserted UTXO d65ea08d972fa3d0b65577696785df55b9a07788b5d1c95967b132d6223e6074:1 amt=86257 sats into DB
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Processing received utxos in tx d65ea08d972fa3d0b65577696785df55b9a07788b5d1c95967b132d6223e6074 for 1 DLC(s)
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Finished processing 1 received outputs, it took=118ms
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] 1 txos are now confirmed!
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Finished processing 1 spent outputs, it took=57ms
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Finished processing of transaction=d65ea08d972fa3d0b65577696785df55b9a07788b5d1c95967b132d6223e6074. Relevant incomingTXOs=1, outgoingTXOs=1
2022-04-19T14:29:05UTC INFO [DLCWallet$DLCWalletImpl] Done broadcast tx ByteVector(32 bytes, 0xb11e47e569884baffbaf4a87520a3a3c336b30a549eb42b6090a419803e74acb)
2022-04-19T14:29:14UTC INFO [DLCWallet$DLCWalletImpl] Processing received utxos in tx d65ea08d972fa3d0b65577696785df55b9a07788b5d1c95967b132d6223e6074 for 1 DLC(s)
2022-04-19T14:29:14UTC INFO [DLCWallet$DLCWalletImpl] Finished processing 1 received outputs, it took=55ms
2022-04-19T14:29:14UTC INFO [DLCWallet$DLCWalletImpl] 1 txos are now confirmed!
2022-04-19T14:29:14UTC INFO [DLCWallet$DLCWalletImpl] Finished processing 1 spent outputs, it took=45ms
2022-04-19T14:29:14UTC INFO [DLCWallet$DLCWalletImpl] Finished processing of transaction=d65ea08d972fa3d0b65577696785df55b9a07788b5d1c95967b132d6223e6074. Relevant incomingTXOs=1, outgoingTXOs=1
@user411
Copy link
Contributor

user411 commented Apr 19, 2022

Would appreciate environment specifics (Umbrel or local dev env) and platform with pictures like this.

That picture looks like an error was involved in communicating with the backend (from the "[object..." in the message), but I see green logo which implies the backend was online.

I have yet to see the overlay issue that this picture seems to show, but that is what Roman was reporting when switching to and from a browser tab with the wallet running in it.

@Christewart
Copy link
Contributor Author

Would appreciate environment specifics (Umbrel or local dev env) and platform with pictures like this.

This was on umbrel at commit 19b7272

I have yet to see the overlay issue that this picture seems to show, but that is what Roman was reporting when switching to and from a browser tab with the wallet running in it.

I don't believe I did any tab switching. I believe I had just accepted an offer in my inbox, switched to the contracts tab and was waiting for the UI notification to happen to indicate the tx had been broadcast so i could link my counterparty to that tx on mempool.space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants