Bitcoin Forum
June 21, 2024, 07:36:12 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ... 136 »
441  Bitcoin / Hardware wallets / Re: Test Sending from Nano Ledger without Actually Sending? on: May 07, 2021, 09:41:51 PM
So is there any concern here?  I'm surprised why it even let me enter any amount up to the maximum btc in my wallet even when I didn't connect my nano ledger yet?  

Ledger Live stores your accounts' master extended public keys, so it obviously knows the balance of your accounts even if your device is not connected. Since it knows your balance, it can tell you how much you can send.

Again if you had an old account in your ledger live that isn't connected to your replacement nano ledger seed which you use now, then what happens?

You would probably be prompted to connect a different device.

But in my previous post... if the nano ledger screen showed output 0.05 btc... show my coinbase btc address in three parts... then accept or reject... is that 100% I own those btc then?
         
Yes, you should now be 100% certain that you can control those coins. In fact, the ability to add the account you are talking about should have been a sufficient proof.                                                                                                                                                                                                                                    
442  Bitcoin / Bitcoin Discussion / Re: Overview of lightning network nodes owned by forum users on: May 07, 2021, 01:46:25 PM
My Lightning node will be down for a couple of days. I decided to move from a Raspberry Pi to a normal server. Unfortunately, LND does not support moving the channel database between different architectures, so I had to close all of my channels. I will reopen them gradually once I have configured my new server.
443  Bitcoin / Bitcoin Technical Support / Re: Incoming connections over Tor on: May 05, 2021, 08:25:25 AM
Is there anyone else here that runs Bitcoin Core as a hidden service? I really would like to contribute to the network by allowing incoming connections over Tor.

Bitcoin Core 0.21 introduced Torv3 addresses and made them default. BIP155 was needed so that other nodes could gossip Torv3 addresses across the network. Unfortunately, since it was introduced in the same release, old nodes won't propagate your address.

I have been experiencing the same problem since I have set up Tor on my node. A few days ago, I decided to manually connect to a bunch of nodes from this Reddit thread and I finally started getting incoming connections. Supposedly, I was not the only person to do that and my address propagated quickly across Torv3 compatible nodes. Use the following command to connect to some node.

bitcoin-cli addnode address onetry

You can replace "onetry" with "add" if you want to add those nodes to your local list. "onetry" worked fine for me. You can also connect to my node: 6gk54wewlpa54psxx2a2jprds7jkdjmwdjvy42qjaybcjbhjdvda66ad.onion

Fortunately, a lot of node operators might decide to update their nodes soon due to the taproot soft fork support which has been introduced in the recent 0.21.1 update.
444  Bitcoin / Hardware wallets / Re: 25th Word in Nano Ledger S on: May 04, 2021, 07:42:17 AM
So that process is very fast to do both delete and readd?

Yes, it is. It takes just a few seconds for the Ledger Live to fetch your balance from their servers.

If so, couldn't someone rescan your ledger live themselves?

Ledger Live can do that only if your device is unlocked. So, if you delete accounts associated with your hidden wallet, someone would have to know your passphrase to be able to add those accounts again in the Ledger Live.
445  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: April 28, 2021, 06:56:02 PM
They might have added it, but since I am doing regular VM replications it's not up there on my list of things to check.

Aren't you worried that your VM backup might not reflect the latest state of some channel? Keep in mind that channels are updated not only when you send/receive transactions but also when you route payments.

By the way, the fee of the latest commitment transaction is periodically updated. I have two channels which have never been used. The first one was updated 19 times and the other one 31 times. I am not sure what would happen if I launched my node with an old backup of my channel database. Would a different fee be enough to trigger an uncooperative channel close?
446  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: April 28, 2021, 07:37:35 AM
The above principles are important if LN is going to be successful. LN wallet software needs to have a good mechanism for not losing the latest channel state, and associated transactions if it will be successful.

I would like to point out a very important thing for node operators. In this post, I talked about what could possibly happen if you lost your channel database and decided to use a Static Channel Backup (SCB). Long story short, you should close channels which are offline for extended periods of time. Otherwise, you might not be able to get your coins back if your node's hardware ever failed.

Not that it matters that much, but all the pre-done ones that I know of are running LND so over time C-lightning could wind up being a much smaller player.
I like the C-lightning plugins idea, but LND seems to be more widely used.

I originally planned to use c-lightning, but I really liked how well LND integrates with Zap. I can easily spend coins from my node and open new channels without using a command line. Spark Wallet supports c-lightning, but it looks less appealing to me. I have used both LND and c-lightning before and I had a very similar (good) experience.
447  Bitcoin / Hardware wallets / Re: 25th Word in Nano Ledger S on: April 28, 2021, 06:03:48 AM
How long ago did ledger had this recovery check app?  I recall when i first got the ledger few years ago, im not sure they had that option yet... if it did... it might been pretty new?  I got it three years ago or so more or less.

It's been available for about 3 years.

Well right now... how much does it cost to send btc from nano ledger s address to a new address?  I know you can configure fees but the lowest fee is like how much now?

The lowest possible fee is 1 sat/vbyte (most nodes reject values lower than that). As for right now, you need to pay about 12 sat/vbyte to get your transaction confirmed in the next block. By the time you decide to send your coins, this value will have changed. The total fee depends on the size of the transaction. The more inputs and outputs you have, the more you are going to pay.

A transaction with 1 native SegWit input and 2 native SegWit outputs weights 141 vbytes. So, if you selected 12 sat/vbyte, you would pay a 0.00001692 BTC fee.

But if you are trying to send all the btc in your main wallet to a hidden wallet... isn't it true that won't work because someone could see that a person moved that much btc to another address so its obvious they still own that btc?

No one can be completely certain if you are sending all those coins to yourself. You can always use a mixing service if you are concerned about your privacy. For example, if you use ChipMixer, you will get a private key to an address with coins which were deposited sometime in the past. However, with your reasoning, it doesn't make sense much sense anyway.
448  Bitcoin / Electrum / Re: Help importing lightning channel from desktop to andriod on: April 26, 2021, 08:30:44 AM
Now when I go to "Channel" in the android wallet I can see my channel there that appears as "FUNDED" and has the according balance displayed. However right above I still have "you can send m0 BTC; you can receive 0 mBTC". So somehow the channel is imported to my android wallet but it is not usable?

You very likely imported some kind of backup which allows you only to close that channel. How did you exactly export your Lightning channel?

By the way, you should be extremely careful when using the same Lightning Network channel on more than one device. In fact, you should never do this. At some point, any of your devices might have an outdated state of the channel which would force the other party to close the channel uncooperatively.
449  Other / Beginners & Help / Re: Lightning bitcoin payment on this forum on: April 26, 2021, 06:47:55 AM
Why is it dangerous to hold a great amount of coins with LN? You're locking your funds on a multi-sig address that you can withdraw the final result cooperatively or uncooperatively whether your node wants it or not. Am I missing anything?

Apart from what pooya87 has already said, there are some edge cases which not many people know about. For example, if you lose your channel database, you need to initiate DLP (data-loss protection) in order to get your funds back. You can do it as long as you have a backup file which was generated after you have opened all of your channels. That file contains all the necessary information you need to reestablish the connection to your peers and ask them to close your channels. Here are the possible scenarios:

1) Everything goes well and all of your peers immediately broadcast the latest commitment transaction of each channel. You will very likely get your funds back after 144 blocks have been mined.
2) Some peer takes the risk and closes the channel with an old commitment transaction. You cannot broadcast a penalty transaction because you lost all of your data.
3) Some peer is offline and cannot respond to your request. Unless they come back online, the funds are locked up in that channel which means that they are lost in a limbo.

Good luck getting 50 payments request from 50 users to be paid before they expire! I'd like to see this happen though, it's better than creating dust inputs.

That's why keysend should be required by the campaign manager. Unfortunately, it looks like it is supported only by LND and c-lightning so the participants would have to run either of these implementations 24/7.

1. The payment is not treaceable just like onchain transactions.
Something to think about for the campaign manager: without on-chain evidence, what will you do when someone claims not to have received his payment?

Each invoice contains a hashed payment preimage. In order to claim the payment (or HTLC to be more precise), the preimage needs to be revealed to the payer. Thus, the campaign manager could prove that the payment has been claimed by revealing both the invoice and the payment preimage.

A CM might even open one super LN channel for (example) ten week's worth of payments.  The Campaign funder can see the balance being used to open a channel and that it's still open week-to-week as the campaign progresses.

Last week, the participants got paid over 0.19 BTC in total. Currently, most nodes reject channels larger than ~0.1677 BTC so CM would have to either open multiple channels or a single channel to a large HUB which supports Wumbo.
450  Bitcoin / Electrum / Re: Failed to Disable 2fa HELP! on: April 19, 2021, 05:02:37 PM
Lastly, you can give me some advice on when to transfer all my funds to a new standard wallet. Where can I see that the fees have down?

This website should give you a rough idea what's currently going on with the mempool. As for how you can use it:

There is a great guide on how to understand and interpret the graphs on 1miau's post here: https://bitcointalk.org/index.php?topic=5182906.0 (scroll down to item 5).

Note that both Electrum and that website use "sat/vbyte" now even though Electrum displays "sat/byte".
451  Bitcoin / Electrum / Re: Failed to Disable 2fa HELP! on: April 19, 2021, 04:44:00 PM
I want to convert my 2fa wallet to standard. Is there a way to do it?

No, you need to create a new wallet. Keep in mind that transactions sent from your current (multi-signature) wallet will be more expensive than as if you were using a standard wallet. You should move your funds once the transaction fees go down to a reasonable level.
452  Other / Meta / Re: Don't you guys think it's time for LN to have it's own (sub)section now? on: April 14, 2021, 10:24:01 AM
BTW, which discord channel can you recommend for LN-related discussions?

I am not aware of any Discord servers, but I have been in this Telegram channel for quite some time now. It is surprisingly active, but not on-topic all the time.

I don't know about discord group you joined, but since this forum moderate spam more seriously, it's not weird to see few reply on certain topic. People no longer post if all they say is "It's great", "'I don't know" or other non-helpful answer which usually will be removed anyway.

I think that you might have missed his point. I missed some LN threads, which I could have answered, because I mostly browse "Development & Technical Discussion" and "Bitcoin Technical Support" boards. If there was a dedicated section then there might be a higher chance of getting accurate answers just like you could get them on some LN related Discord/Telegram channel.
453  Local / Polski / Re: Przewodnik do sieci Electrum Lightning on: April 13, 2021, 09:21:43 AM
Dwa tygodnie temu pojawiła się nowa aktualizacja Electrum, która wprowadziła parę usprawnień do implementacji Lightning Network. Wprowadzono "multi-part payments", które umożliwiają podzielenie płatności na mniejsze części i wysłanie ich przez różne kanały, co zwiększa szanse na powodzenie płatności.

Zmienił się też trochę domyślny mechanizm otwierania kanałów. Nie trzeba już czekać aż nasz portfel pobierze informacje o wszystkich dostępnych węzłach i kanałach. Przy domyślnych ustawieniach, Electrum pozwala na otwarcie kanału tylko z trzema specjalnymi węzłami, które oprócz przekazywania płatności dalej, zajmują się znalezieniem odpowiedniej ścieżki dla płatności. O ile pobranie całej mapy sieci Lightning trwa teraz kilkanaście/kilkadziesiąt sekund, tak w przyszłości może trwać to znacznie dłużej.

Aby móc otworzyć kanał z dowolnym węzłem, należy pobrać mapę sieci poprzez zmianę odpowiedniej opcji w ustawieniach. Zaktualizowane instrukcje możecie znaleźć w oryginalnym wątku.
454  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: April 11, 2021, 10:22:52 PM
do you mind sharing the link to the other person with this issue?

Sure. I will send you a private message in a moment.

the only reason i came to lightning is to save on fees and now i will have to pay a much higher amount than on any on-chain transaction
first and last time i'm using lightning.

Electrum might not have been the best choice for the first time, but you simply got extremely unlucky with the suggested peer. If you had opened a channel to a different node, I am quite sure that you would have had a much better experience. I would suggest you using either BlueWallet or Phoenix Wallet next time. I have been running an LND node for quite some time now and I haven't run into any major problems, but it's quite a bit more complicated than using Electrum.

If you decide to close the channel, I would appreciate if you could let us know here how much you ended up paying. I hope that the cooperative close will result in significantly lower fees.
455  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: April 11, 2021, 10:06:52 PM
Does this mean if i close the channel i will have to pay a ridiculous fee for the transaction? that would be about 42€ as of now.

That's very likely. As far as I remember, even if you select "Close channel" instead of "Force-close channel", you won't be able to specify your own transaction fee. I believe that a cooperative close (the first option) should use a much lower fee, but I am not that familiar with Electrum implementation of the Lightning Network so don't take my words for granted

I have just found a similar case to yours on the Internet. It looks like some other people had the same problem with this particular node.
456  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: April 11, 2021, 08:59:04 PM
It took me a while to figure out what could possibly be wrong.

Since I don't have any open channels in Electrum at the moment, I experimented a bit with my LND node. I have recently spent 0.00591658 BTC on a channel opening transaction. Right now, I can spend 578 053 satoshi through that channel and its reserve is 5916 satoshi. 578 053 + 5916 = 583 969 satoshi, so it turned out that I was also missing some coins. I found an additional parameter called "Commit Fee". This value tells how much money you are going to pay for the closing transaction fee if either you or the other party broadcasts the current commitment transaction (a transaction which records balances in the channel). In my case, it was equal to 13 605 satoshi. 578 053 + 13 605 = 591 658 satoshi. Great!

So, it looks like both you and the other party signed a commitment transaction with an unnecessarily high fee. I am not sure why that happened - transaction fees are extremely low at the moment. Theoretically, the commitment transaction fee should be updated once you send an off-chain payment, but I am afraid that the node you are connected to might still force you to sign another commitment transaction with a huge fee.

I don't remember if you can specify the closing fee manually if you close the channel cooperatively in Electrum. In my opinion, this would be the best option for now. I can help you choose a better node next time.
457  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: April 11, 2021, 06:08:02 PM
Since i'm new to Lightning, does this mean the 42% is not usable in this state or does it change once i make a transaction?

It should show the correct value from the beginning. I don't think anything is going to change once you have sent a transaction. As you can see on my screenshot, I also opened a 0.002 BTC channel and I was able to send about 90% of the funds.

I suspect that this might be because of the node you are connected to. It sounds as if the required channel reserve was extraordinarily large. Would you mind sharing the id of your peer either here or via a private message? No one will be able to find your channel because Electrum creates private channels which are not advertised across the network.
458  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: April 11, 2021, 05:31:13 PM
Does anyone know why the amount of "Can send" is only 58% of the Capacity of the channel?
Whats up with the other 42%? Can i not use them at all?

That sounds weird. Can you share more details? What node did you connect to? How big is your channel? You can also share a screenshot of your channel details with blurred funding outpoint and channel id if you want to.
459  Bitcoin / Electrum / Re: Can Send but Can't Receive on: April 11, 2021, 10:08:45 AM
  • Alice opens a channel to node Bob.
  • Charlie opens a channel to node Bob.
  • They both deposit 10 mBTC and they wait for the required confirmations.

In the first channel, Alice has 10 mBTC and Bob 0 mBTC. In the other channel, Charlie has 10 mBTC and Bob 0 mBTC. Bob is an intermediary between Alice and Charlie, so theoretically both of them should be able to send payments between each other through Bob. However, it's not going to work in this case.

So now Alice and Charlie can both send ~10 mBTC to each other by none of them can receive. In order to do that they'll have to increase their receiving capacity. Can you continue this sentence further?

The only way to do that is to pay Bob for something. Let's say Bob has a coffee shop. Alice and Bob went there together. Alice bought a coffee for 3 mBTC and Charlie bought a cake for 2 mBTC. Now, the balance sheet looks like this: Alice (7 mBTC) -> Bob (3 mBTC). Charlie (8 mBTC) -> Bob (2 mBTC). Now, let's say Alice owed Charlie 1 mBTC. She doesn't have a direct channel with Charlie, but she can route her payment through Bob. Alice sends her transaction and the balances change again. Alice (6 mBTC) -> Bob (4 mBTC). Charlie (9 mBTC) -> Bob (1 mBTC).

If Alice owed Charlie 3 mBTC, she wouldn't be able to send him that much because Bob has only 2 mBTC in the channel opened by Charlie.

15 mBTC to Alice and 5 mBTC to Charlie. So now the current, signed from both sides, transaction can be broadcasted to the blockchain. Charlie has signed that he'll transfer 5 mBTC from his multi-sig address to Alice's.

You need to make sure that all payments are enforceable on the blockchain in an efficient way. Neither is achieved here. Let's say Charlie transacted this way with a couple more people. The final transaction would have the same amount of outputs as the number of people Charlie transacted with. Also, why would he need to transfer his funds to a multi-signature address since you didn't even mention Bob? How would Alice be sure if Charlie was not going to cheat?

The trick is that Alice updates the balance of the channel with Bob and Bob updates his channel with Charlie the moment he routes the payment. This way, Alice needs only to be sure that Bob is not cheating. She doesn't have to think about Charlie anymore.
460  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: April 11, 2021, 09:31:53 AM
I have just updated the guide to reflect the changes made in the recent update. The biggest change is support for trampoline nodes which are now used by default. While it doesn't take much time to download the network graph right now, it is a significant improvement which will be more useful in the future. I also added a short FAQ section. If any questions come to your mind, don't hesitate to ask them and I will put them there.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ... 136 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!