Skip to main content
6 votes
Accepted

How do route hints affect pathfinding?

Generally speaking there are two use-cases that can be facilitated by route hints: Tell the sender about channels that they might not know about. Specifically, if the recipient doesn't announce it's ...
cdecker's user avatar
  • 9,508
6 votes

Why is the default LN channel limit set to 16777215 sats?

The goal was to limit the amount any individual adopter would lose due to bugs in the software. As explained by LN developer Rusty Russell in #bitcoin-lightning FAQ: Why the 0.042 bitcoin limit?: I ...
Vojtěch Strnad's user avatar
4 votes
Accepted

How do I run a Core Lightning Node on top of Bitcoin Knots?

Yes, the two implementations are perfectly interchangeable, as long as bitcoin-cli can talk to either Bitcoin core or Bitcoin knots it should just work as expected. CLN internally actually calls out ...
cdecker's user avatar
  • 9,508
3 votes
Accepted

What is a payment basepoint?

Basepoints are simply public keys from which all other public keys for a certain category (payments, revocation, htlcs, ..) are derived. They are used in order to deterministically generate fresh keys ...
Antoine Poinsot's user avatar
3 votes
Accepted

How does Bitcoin core knows whether CPFP carve out rule is already used?

You can only use the carve-out rule once since it creates a 26th descendant. The CPFP carve out rule can only be used when a transaction has 25 descendants (including itself), not more. That's the ...
Antoine Poinsot's user avatar
3 votes
Accepted

Open Anchor Output channels on CoreLightning

You can set the experimental-anchors option on lightningd to enable experimental support for anchor output channels on Core Lightning.
Antoine Poinsot's user avatar
2 votes
Accepted

Is a channel's 'max_htlc_msat' setting only for outbound HTLCs, or for both sides?

Channel parameters (in some implementations called channel policies) are usually set for the outgoing channels. This may change to some degree with the way how some implementations try to push for ...
Rene Pickhardt's user avatar
2 votes

Bitcoin smart contract for wallet income distribution based on specific conditions?

I think this question is based on a false premise. The lightning network is not a platform for building novel smart contracts. It is a payment network built on top of the smart contract functionality ...
Pieter Wuille's user avatar
2 votes

What is the correct Bitcoin.org wallet download?

What is the correct Bitcoin.org wallet download? Bitcoin.org is not an official Bitcoin website, no website is. It long ago ceased to be run by the original developers and was taken over by others. ...
RedGrittyBrick's user avatar
2 votes

Would it be feasible to time channel rebalancing by watching miner fees?

Yes. If you run a Lightning node you also have a Bitcoin node which has a history of all transactions. From those one can compute the mining fees of each block (or just look them up in the respective ...
Rene Pickhardt's user avatar
2 votes

How can I see the on-chain evidence of a lighting channel?

Transactions that create funding outputs have no special characteristics. The funding output is merely some type of segwit-output that can facilitate 2-of-2, i.e. P2SH-P2WSH or P2WSH, with P2TR to ...
Murch's user avatar
  • 75.9k
2 votes
Accepted

Sats stuck in "pending" after lightning channel force closure

This seems to be the same issue as described here. Publishing the tx from my umbrel node with the below fixed it: ./umbrel/scripts/app compose lightning exec lnd lncli wallet publishtx <TX>
j5s's user avatar
  • 31
2 votes

How does Bitcoin core knows whether CPFP carve out rule is already used?

Nodes generally will only permit a new transaction into their mempool if it does not increase an existing transaction’s descendant set count past 25 and doesn’t make a descendant set exceed 100'000 vB ...
Murch's user avatar
  • 75.9k
2 votes
Accepted

bech32 serialized lightning invoice from lnd rest endpoint /v1/invoices

Yes, the payment_request is a BOLT11 invoice, which uses Bech32 encoding.
Pieter Wuille's user avatar
2 votes
Accepted

to_remote output 0 during unilateral closing of lightning channel

Can B now unilaterally close the channel given that to_remote output of A is 0 (this amount is below the dust limit) and to_local output is c or will this lead to failing of channel closure? It can. ...
sr_gi's user avatar
  • 3,220
2 votes
Accepted

How do I send the change output from an input to fundchannel to a taproot address instead of to a SegWit v.0 address?

The documentation of the fundchannel command does not appear to make any references to parameters for setting the addresstype for the change output of a funding transaction. However, according to the ...
Murch's user avatar
  • 75.9k
2 votes
Accepted

Does a pruned node have the same chainstate/ as the unpruned one? Does not seeing historical data impact transacting?

Only the UTXO set is required to determine whether the inputs for a transaction are available for spending or the funding output for a channel remains unspent. Just like any other full nodes, pruned ...
Murch's user avatar
  • 75.9k
2 votes

What are the default timelocks in Lightning implementations today? How are they negotiated on channel opening?

For eclair, those values are set in your eclair.conf, and you can set the maximum values you expect from your peers: https://github.com/ACINQ/eclair/blob/5b1c69cc8483626564b03805c2d92b11d0930e93/...
t-bast's user avatar
  • 21
2 votes
Accepted

What effect on Lightning Network would be of setting dustrelayfee to 0.003 by all nodes?

The dustrelayfee is used to calculate dust thresholds. The change you propose would increase all dust thresholds by a factor of one hundred. This would make transactions with recipient or change ...
Murch's user avatar
  • 75.9k
2 votes

Closing address of a Lightning channel

Yes, it is possible! In BOLT 2 you have a shutdown message that looks like this type: 38 (shutdown) data: [channel_id:channel_id] [u16:len] [len*byte:scriptpubkey] The scriptpubkey does the trick. ...
vincenzopalazzo's user avatar
1 vote
Accepted

Increase the fees in regtest

Essentially your goal is to increase the mempool's minimum fee rate to be higher than 1 sat/vb. The way to do this is to shrink the mempool and fill it with large high fee transactions. First, you can ...
Ava Chow's user avatar
  • 70.9k
1 vote
Accepted

Lightning Network channel reserve

These are two separate things: The funder is in charge of setting aside sufficient funds to get an eventual close to confirm. That either means they have to set the fee of commitment transactions ...
cdecker's user avatar
  • 9,508
1 vote

Advantages of running a lightning clearnet node compared to one behind a TOR proxy?

Running a clearnet node, or even better, a clearnet node that also has TOR connections, has several advantages. It is reachable without using TOR. Clearnet connections are more direct and thus have ...
stefanwouldgo's user avatar
1 vote
Accepted

For running a lightning node and getting maximum exposure, should I forward port 8333 also (for bitcoin)? Or only 9735 (lightning)?

Maybe some lightning implementations scan for bitcoin nodes and then look for lightning capability on top? I'm not aware of any Lightning implementations that do this. The Lightning P2P network is a ...
Michael Folkson's user avatar
1 vote

How can I send a RGB token via Lightning Network?

Is it possible to forward the RGB assets through multiple channels that do not recognize any RGB assets? I am not 100% comfortable with the RGB protocol, so what I am saying is my understanding of it....
vincenzopalazzo's user avatar
1 vote

How to move sats from a lightning wallet back to BTC wallet?

I had the same question. My lightning wallet would not accept an address from my on-chain wallet. Apparently, what you need to do is use a service that does atomic swaps. I was able to use: https://...
Brian Davis's user avatar
1 vote

Why might my db be locked on starting bitcoin-qt after a clean shutdown and reboot?

Use Microsoft's Handle tool to see what files are open, and add the details to your question (You can limit the output to a specific folder or keyword such as 'bitcoin' by running the tool like this: ...
Hannah Vernon's user avatar
  • 1,561
1 vote

Sending onion messages with c-lightning

Currently, this is a little bit complicated, I think you can write a plugin to simplify this procedure by looking at the code of fetchinvoice. We have an open issue https://github.com/ElementsProject/...
vincenzopalazzo's user avatar
1 vote

Is there a way to pay multiple lightning addresses from a single invoice

Is there a way to facilitate this with lightning so I avoid becoming an intermediary proxying funds and instead a single invoice translates to 2 (or more) peer-to-peer payments? yes and no, yes with ...
vincenzopalazzo's user avatar
1 vote

Destination is not reachable directly and all routehints were unusable - how might I remedy that?

Okay the following features are regarding the dual funding protocol 2023-07-20T06:54:46.533Z UNUSUAL --connectd: Feature 28 requires feature 20 2023-07-20T06:59:47.735Z UNUSUAL --connectd: Feature 28 ...
vincenzopalazzo's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible