Fonta1n3 / FullyNoded

Self sovereign, secure, powerful, easy to use wallet that utilizes your own node as a backend. Powered by PSBT's and descriptors. Acts as an offline signer using your node as a watch-only wallet. C-Lightning compatible for instant, unfairly cheap payments.
https://fullynoded.app
Other
192 stars 37 forks source link

Stuck on "processing psbt..." screen #206

Open deepy420 opened 2 years ago

deepy420 commented 2 years ago

Describe the bug

A psbt file from a wallet with many inputs just gets stuck on the "processing psbt..." screen. I waited for about 30 minutes on that screen with no luck.

A test psbt file from a different wallet without the many inputs succeeds without any issue.

To Reproduce

Press the + icon and choose a psbt file with many inputs to be signed.

If it's safe enough, I can provide the psbt file that I'm using.

Expected behavior

It should allow the transaction to be signed.

Screenshots If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

Latest iOS and iPhone XS.

deepy420 commented 2 years ago

I've tried the PSBT file generated by both Sparrow and Electrum wallets.

Fonta1n3 commented 2 years ago

If you could supply me with the psbt so I could see what's going on that would make it much easier to fix.

deepy420 commented 2 years ago

Is there a way for me to send you the psbt file privately since it contains privacy sensitive information? Does the app have a log file that I can access and send you to help you debug the issue?

Fonta1n3 commented 2 years ago

Is there a way for me to send you the psbt file privately since it contains privacy sensitive information? Does the app have a log file that I can access and send you to help you debug the issue?

Of course, you can email it to me dentondevelopment@protonmail.com

deepy420 commented 2 years ago

Sent!

deepy420 commented 2 years ago

Any thoughts on this? Thanks!

Fonta1n3 commented 2 years ago

Any thoughts on this?

The file itself could be in a weird/incorrect format. Will find out.

Fonta1n3 commented 2 years ago

@deepy420 have you tried exporting this more than once? Something really weird is going on... Basically the file should be raw data which can be converted to base64 text encoding directly. When the data from the file is getting converted to base64 something is going very wrong. If you have not yet tried please try and export the file again.

deepy420 commented 2 years ago

I've just tried it again with a newly exported psbt and the same thing is happening again. I have emailed you the psbt file. I'm using Sparrow Wallet. Other psbt files generated by Sparrow Wallet for other wallets have worked with Fully Noded for me in the past, so I'm not sure what's going wrong with this specific wallet or psbt file.

deepy420 commented 2 years ago

The issue is occurring with PSBT files generated by both Electrum and Sparrow. The transaction has many inputs, so maybe it's related to that. I've even tried a base64 version of the PSBT file generated by Sparrow. It seems like an issue in the Fully Noded ios app since it's occurring with the PSBT files generated by both of those two different wallet softwares.

Fonta1n3 commented 2 years ago

Yea 4mb is a huge psbt, how many inputs/outputs are there approximately?

deepy420 commented 2 years ago

39 inputs and 2 outputs. Based on Sparrow wallet's suggestion I tried to export the PSBT without xpubs to reduce the file size and it's still 6.7MB in base64 and 5.1MB in binary. The original with the xpubs is 5.1MB, so it doesn't make any difference.

deepy420 commented 2 years ago

I also just tried this without signing it with the other wallet first (it's a 2 of 2 multisig). It didn't work. So even the fresh psbt without any signatures on it already doesn't work.

Fonta1n3 commented 2 years ago

39 inputs and 2 outputs. Based on Sparrow wallet's suggestion I tried to export the PSBT without xpubs to reduce the file size and it's still 6.7MB in base64 and 5.1MB in binary. The original with the xpubs is 5.1MB, so it doesn't make any difference.

Can you email me the psbt file without xpubs (5.1mb)? It may help.