Author

Topic: UNABLE TO MANAGE LND WALLET ON RASPIBLITZ (Read 199 times)

copper member
Activity: 33
Merit: 27
March 12, 2023, 08:33:42 PM
#14
Quote
Closing inactive channels

The last two points are Breez-specific, "Breez"

Yes you're right, the pruning and conditions are centralized features and are related to Breeze LN.

I downloaded THE BREEZ WALLET and tried their application to continue the project, while I continue looking for a final solution to my Raspiblitz problem. The Breez wallet has some impressive functionality that really serves the project, because one of these functionalities permits users to buy Carrefour gift card with their Bitcoin. The Carrefour gift cards can be used for full or partial payment at any Carrefour hypermarket or Carrefour Market stores. Remaining balance will be stored on the card and can be used on future purchases with 1 year expiry from the activation date.

At the absence of a truly endogenous ecosystem in the crypto world, this type of cash out could be good as transitory phase to a complete endogenous ecosystem.

This week, we will be doing a test run with BREEZ, as the team has won their first prize in bitcoin, they did the 3 straight win with clean sheets to claim the prize.

Stay tune  to read the post about the test run...
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
Quote
Closing inactive channels
Pruning a tree helps it to devote its resources to the fruit instead of to unproductive outgrowths, improving the quantity and quality of the harvest. Intelligent pruning actually fosters growth...

Please, can someone help explain this point about the 3 conditions of force closing inactive channels? I am lost at that point.
Thanks

The last two points are Breez-specific, the network is decentralized so there's no authority that can manage channels aside from the channel owners themselves.
I'm not using "Breez" so I can't add further info aside from it's all about how they manage their or their client's channels.
You're not using their service nor connected to their node so it couldn't be the cause.

The first point which is the fee when closing channel is applicable to any channel but it's not related to the issue.
copper member
Activity: 33
Merit: 27
In my research for the solution to my LND problem, I was motivated to learn more about the Ligthning network. I found this article:
Quote
very interesting, written about 2 years ago.

This aspect about closing inactive channels is very interesting and may be root of my network problem. But my doubt is whether Roy in this article was talking about the BREEZ rule for closing inactive channels, or about the general rules in the LN ecosystem. The 45 days inactive equal to pruning execution...

Quote
Closing inactive channels
Pruning a tree helps it to devote its resources to the fruit instead of to unproductive outgrowths, improving the quantity and quality of the harvest. Intelligent pruning actually fosters growth...

Please, can someone help explain this point about the 3 conditions of force closing inactive channels? I am lost at that point.
Thanks
copper member
Activity: 33
Merit: 27
Quote

'Close all' should've have worked if there's no issue with your node.
You can try post it as a new issue in GitHub and see if the developers can help: https://github.com/rootzoll/raspiblitz/issues

BTW, I checked your node in 1ML site and your channels seem to be active still (excluding onion): 1ml.com/node/03443d4d2248e25ed0bc726aaba3a9a858561f452f62e3c3baa36abe5d99e74d65



I have tried various options to closed the channels but they remain active on Iml.com but on the RTL they all appear inactive:
Ride The Lightning - jokscryptos
Active  0 ;   Pending 0;  Inactive 7: Closing 0

I tried to make the back up and do a restore with the backup file to force all closed and release the funnds, it does not work either.

I will try to raise the issue at the GitHub as you have rightly suggested, they can help out...
Thanks for your contribution.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
What are the possible way forward to put fund online and be able to send micro funds to the paper wallets ?
'Close all' should've have worked if there's no issue with your node.
You can try post it as a new issue in GitHub and see if the developers can help: https://github.com/rootzoll/raspiblitz/issues

BTW, I checked your node in 1ML site and your channels seem to be active still (excluding onion): 1ml.com/node/03443d4d2248e25ed0bc726aaba3a9a858561f452f62e3c3baa36abe5d99e74d65

Alternatively, try to find if there's a "Force Close" option or after getting the developers' opinions.
Take note that force closing channels will lock the funds for a few days before you can spend them.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
The Electrum wallet I installed, by default created 30 adresses and each adresses has unique public key and private keys. There is also this  Derivation Path "Rutas de Derivación" that starts as : m/0/0  for 1st  adress  and run up to  : m/0/29 for the the last one.
I thought that the wallet has one public key and many (30 ) adresses to keep the privacy of the owner. I just hope to clear this so that 30 adresses  will not end up been to same wallet and adress after giving it out to various users...
Is it normal that the adress assigned to each public key to be one to one?
All addresses in your Electrum wallet are derived from your seed phrase. Those (12?) words are enough to recover everything. I think you confuse the master public key for public keys: with the master public key it's possible to create a watch-only wallet for all addresses inside your wallet. You don't need that, what you need for your case is just the individual private keys an addresses.
copper member
Activity: 33
Merit: 27
Quote
You can manually put something together, starting for instance with the addresses and private keys exported from a new Electrum wallet. I sometimes use command line qrencode. If you use it offline and air-gapped and verify the QR-codes, you should be safe. But doing that 20 times is painstaking and it's easy to make a mistake.

But as I was checking the detail of each adress I generated through Electrum, I saw that type of script is on "p2pkh" and not p2wpkh which is the Bech32.

I tried the tools of the Electrum wallet and I was able to activate the Ligthning functonality in the Electrum wallet and now the wallets script are now in " p2wph" the Bech32...

I tested a micro transaction. The fees are small and the confirmation very fast.

Many thanks for the recommendation.
copper member
Activity: 33
Merit: 27
Quote
You can manually put something together, starting for instance with the addresses and private keys exported from a new Electrum wallet. I sometimes use command line qrencode. If you use it offline and air-gapped and verify the QR-codes, you should be safe. But doing that 20 times is painstaking and it's easy to make a mistake.

Your suggestion is a great option and the best way to put the security consciousness into the practise from the start. So, I get the Electrum wallet installed and start preparing the 20 wallets manually. I downloaded the Electron to my desktop to have the wallet on my local network.

But as I was checking the detail of each adress I generated through Electrum, I saw that type of script is on "p2pkh" and not p2wpkh which is the Bech32. And on the aspect of the interaction to Ligthning network it stated that - Not available for this wallet, "No disponible para esta monedero."
How do I adjust the setting to permit payment from LN and to interact with my LND Wallet?

Side question to broaden my understanding:
The Electrum wallet I installed, by default created 30 adresses and each adresses has unique public key and private keys. There is also this  Derivation Path "Rutas de Derivación" that starts as : m/0/0  for 1st  adress  and run up to  : m/0/29 for the the last one.
I thought that the wallet has one public key and many (30 ) adresses to keep the privacy of the owner. I just hope to clear this so that 30 adresses  will not end up been to same wallet and adress after giving it out to various users...
Is it normal that the adress assigned to each public key to be one to one?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I used bitaddress to generate the bitcoin addresses.
As far as I know, Bitaddress.org is legit. But watch out for many fake sites out there.

Quote
I noted that segwitaddress generate the public key without the QR.
I've seen segwitaddress.org before, but I don't know if it can be trusted.

Quote
How can I generate the private key alongside with the public key alongside with their QRs as well?
Is there a way to do that ?
I don't know if it exists.
You can manually put something together, starting for instance with the addresses and private keys exported from a new Electrum wallet. I sometimes use command line qrencode. If you use it offline and air-gapped and verify the QR-codes, you should be safe. But doing that 20 times is painstaking and it's easy to make a mistake.
copper member
Activity: 33
Merit: 27
I want so send small satoshis to 20 btc address that a paper wallets
Side question: how did you create those paper wallets? Several "paper wallet" websites produce compromised paper wallets and shouldn't be trusted. And especially if you're funding them with small amounts, using Bech32 addresses will save on fees when they use the funds.


Thank you LoyceV for your message.
I used bitaddress to generate the bitcoin addresses. I created them offline. Your suggestion about Bech32 addresses (Native Segregated Witness - SegWit) is nice and I'm trying to work on it right now.

I noted that segwitaddress generate the public key without the QR. How can I generate the private key alongside with the public key alongside with their QRs as well?
Is there a way to do that ?

 Below is the format of the paper wallet I am giving  to the tenagers
See image here:

copper member
Activity: 33
Merit: 27
I want so send small satoshis to 20 btc address that a paper wallets, the values are small and the security is not of prime issue. This is for educational purpose.

What do I need to do to be able to send fund out satoshi from the LND wallets to my 20 receivers?
You can't send funds from your channel to bitcoin addresses.
Since you only have 1 channel open, "close all" will do: https://github.com/rootzoll/raspiblitz#close-all-closing-all-open-channels

Many thanks nc50lc!

I have 7 channels opened and I had tried the "close all open channels" option, but I think the funds had been locked-up after using that option. I only have part of the fund on chain now , 60000 satochi and the rest are locked.
the ballance looks like this. Yet, I could not send the on-chain fund, because of the locked funds.

ON-CHAIN CONFIRMED                60000 sats
ON-CHAIN UNCONFIRMED                  0 sats
ON-CHAIN FEES                    -17048 sats
---------------------------------------------
LN LOCAL BALANCE                 760147 sats
LN LOCKED IN COMMIT FEES          18025 sats

Meanwhile, the channels are still listed on my opened channels but they are printed in red...
see image attached


What are the possible way forward to put fund online and be able to send micro funds to the paper wallets ?

Thanks

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I want so send small satoshis to 20 btc address that a paper wallets
Side question: how did you create those paper wallets? Several "paper wallet" websites produce compromised paper wallets and shouldn't be trusted. And especially if you're funding them with small amounts, using Bech32 addresses will save on fees when they use the funds.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
I want so send small satoshis to 20 btc address that a paper wallets, the values are small and the security is not of prime issue. This is for educational purpose.

What do I need to do to be able to send fund out satoshi from the LND wallets to my 20 receivers?
You can't send funds from your channel to bitcoin addresses.
The funds has to be on-chain first to be able to send to paper wallets.

For that, you'll have to close the channel and proceed to create an on-chain transaction with multiple outputs (if Raspiblitz doesn't support 'pay-to-many', use a wallet that can do so).
Since you only have 1 channel open, "close all" will do: https://github.com/rootzoll/raspiblitz#close-all-closing-all-open-channels
copper member
Activity: 33
Merit: 27
I started a Ligthning network 9 months ago, for educational purpose with teenagers. I was able to fund the LND Wallet and open channels. The problem started after an update and a prolonged synchronizing of the LN. The withdrawal of funds becomes impossible. I am not a techie and don't know how to go about the issue. I want so send small satoshis to 20 btc address that a paper wallets, the values are small and the security is not of prime issue. This is for educational purpose.

What do I need to do to be able to send fund out satoshi from the LND wallets to my 20 receivers?

Need help on how  to send satoshi from the LN out again. 

My node's URI is
Quote
03443d4d2248e25ed0bc726aaba3a9a858561f452f62e3c3baa36abe5d99e74d65@hth3b3nfasox6r5qhj6ih53yixbag53yl2jxreeeccplfn4jl7fqhcyd.onion:9735


My SATOSHI BALANCE LOOKS LIKE THIS  I attached the image and the Satoshi acount details.


Quote
*** YOUR SATOSHI BALANCES ***LN BALANCE
LOCAL             REMOTE            TOTAL
----------------  ----------------  ----------------
     760147 sats            0 sats       760147 sats
 0.00760147 BTC    0.00000000 BTC    0.00760147 BTC
        100 %               0 %             100 %
ON-CHAIN BALANCE
CONFIRMED         UNCONFIRMED       TOTAL
----------------  ----------------  ----------------
      60000 sats            0 sats        60000 sats
 0.00060000 BTC    0.00000000 BTC    0.00060000 BTC
        100 %               0 %             100 %
OWNED BALANCE [LN + ON-CHAIN]
     820147 sats
 0.00820147 BTC
AUDIT*
---------------------------------------------
ON-CHAIN CONFIRMED                60000 sats
ON-CHAIN UNCONFIRMED                  0 sats
ON-CHAIN FEES                    -17048 sats
---------------------------------------------
LN LOCAL BALANCE                 760147 sats
LN LOCKED IN COMMIT FEES          18025 sats
LN INVOICES (RECEIVED)                  sats
LN PAYMENTS (PAID)                    - sats
LN PAYMENTS FEES                      - sats
LN EARNED (FORWARD) FEES              0 sats
---------------------------------------------
PROFIT AND LOSS                  -17048 sats
---------------------------------------------
CONTROL SUM**                    855220 sats
LN SPEND                              0 sats
 * Pending channels are ignored.
** CONTROL SUM is supposed to match amount
   of funds that had been put onto this node
   (can be off few sats due rounding).
Jump to: