New answers tagged

0

the command you are looking for is admin@myNode:~ $ lncli getchaninfo --chan_id CHANNELIDVALUE


-1

No, bitcoin is inherently not an investment. There are three distinct concepts, but any one instrument could be more than one of these: Saving, or Store of Value Bitcoin may well be this, at least in the medium term Speculation, or betting on the change in value of something Bitcoin is principally this Investment, or spending money to increase ...


-3

Bitcoin's energy consumption is not a long-term problem. It is a short-term red herring being used by those afraid of Bitcoin's eventual sweeping adoption. There are already plans being developed to make Bitcoin's mining inefficiencies (energy consumption) independent of terrestrial sources of energy.


2

I have read somewhere that every Bitcoin transaction is "equivalent to the power consumption of an average U.S. household over 22.86 days.". Is that true? Isn't that horrible? tl;dr: Most people don't value Bitcoin as a payment mechanism, and even if they were, most payments are not recorded on-chain. So calculating the energy cost of a transaction ...


6

Bitcoin Core 0.21+ support BIP 157, but not necessarily by default. In 0.21, it is default to off. You can enable it by adding peerblockfilters=1 to your bitcoin.conf file.


2

If the transaction cannot resolve before the CLTV value of the HTLC runs out the peers will be refunded (the pending HTLCs cancelled) and the transaction will be cancelled. If C is not there to receive R funds will not move so there is no need for force closures, but the funds will be stuck on the online channels as well for that period of time. The online ...


2

Bob only knows the channel R3--Bob and his other channels. in particular due to the onion routing Bob has no way of knowing who send the payment or say anything about the channels of the sender (as Bob does not know the sender) Routing only know their incoming and outgoing channel. So the only thing that R2 would know is that there was and HTLC offered by R1 ...


0

There is also this repository on Github: https://github.com/lnresearch/topology


4

Yes. Channels are associated with a node_id, which is just the public key of the node. The association of a node_id to an IP address (or Onion address) is dynamic and is broadcast over the P2P gossip network when your node connects to another. It only takes a few minutes after reconnection for your new IP to propagate through the entire network. However, you ...


6

Will Taproot allow me to skip Lightning Network and simply use pure Bitcoin Core? Well, Bitcoin Core doesn't support Lightning for now, and probably won't for the foreseeable future, but there is no reason why that can't change over time. I'm going to assume your question is: Will Taproot allow getting all the benefits the Lightning Network provides with ...


6

With respect to the original wording of the question I believe Taproot will actually make the Lightning Network pointfull instead of pointless. While Taproot allows us to save some space on the bitcoin base layer, it will not make the Lightning Network obsolete. Remember, the main issue with respect to on-chain scaling is that a protocol in which every ...


1

I agree that a future could emerge in which most payments will be handled offchain. Whenever you want to pay someone and it can't be done via lightning you could just open a payment channel for that amount and keep it open. I also assume cheating won't be too much of an issue and people have strong incentives to keep channels open as the bitcoin are much ...


2

Let us start with the direct payment via channel Uab. According to BOLT 02, the payment is conducted by adding an HTLC and settling it. From a protocol perspective, Bob does not know if the payment was originated by Alice. Of course, as there was originally an invoice issued by Bob (and potentially presented out-of-band to Alice), he could deduce that Alice ...


3

From the point of view of an application developer, it is for now much easier to use layer 1 features. This is due to being able to externalize your burden on the network. 1. Hey nodes, will you do my job? Blocks are expensive to produce You don't need to have much DOS concerns in your application if you are only reacting to onchain payments. But what ...


3

The Bitcoin Core wallet and the LND wallet are completely separate wallets. LND relies on Bitcoin Core as a source for the blockchain data, nothing more. The profitability of your node depends on where it is situated in the network's topology. If you want to run Lightning to earn money, you will need to pick reliable nodes as channel partners, but also try ...


3

I think one might need to do a bit more research than looking at a single site before declaring a whole ecosystem a fad. If you widen your search a bit, you will find that even the Lightning Network wikipedia page lists implementations, either "lightning network beginner" or "lightning network getting started" finds a list of articles and ...


3

https://lightning.network/ I've clicked every link. There is no download. Not even some beta CLI thing which requires Bitcoin Core to function, or anything whatsoever. https://docs.lightning.engineering/community-resources/resource-list If this is a thing and people are allegedly making "more money running a channel than I do at my day job", why ...


0

I gave up using the secp256k1 library, but here is a working python solution: Make sure to install the python-ecdsa package, for instance with pip: pip install ecdsa ...and then... import ecdsa k1 = bytes.fromhex('b29fa5994dc9da9906a36f996e6ac4faa2b0e2601ef13b0fab9d4b4287c57e1f') key = bytes.fromhex('...


Top 50 recent answers are included