Unanswered Questions
563 questions with no upvoted or accepted answers
9
votes
0
answers
222
views
What are the advantages to attackers of different styles of replacement cycle attacks?
In Antoine Riard's
original description of replacement cycle attacks against HTLCs, a replacement cycle looks like this:
Bob broadcasts an HTLC-timeout (input A, input B for fees, output X)
Mallory ...
5
votes
1
answer
270
views
How to compute the expected number of sats to arrive in a probabilistic payment flow?
Look at the following network example:
Assume S wants to send 3 sats to R. You can further assume that S has enough liquidity in each of its local channels to send up to 3 sats. Also assume the ...
5
votes
2
answers
970
views
bitcond and bitcoin-Qt system configuration and bandwidth requirements
What is the best operating system configuration for a computer to run (bitcoind or bitcoin-Qt) and (BFGminer or CGMiner) under Linux, assuming that it will be connected to a 3 Terrahash mining rig on ...
4
votes
0
answers
40
views
How do I negotiate the opening of a larger than 16777215 sats channel on a Core Lightning node?
Core Lightning's describes a maximum amount that can be given as a parameter to lightning-cli fundchannel:
The value cannot be less than the dust
limit, currently set to 546, nor more than 16777215 ...
4
votes
0
answers
67
views
How to calculate the hashes in Lightning
I was wondering how I calculate the hashes regarding BOLT03 Specification:
The Revocation Pubkey is calculated like this:
revocationpubkey = revocation_basepoint * SHA256(revocation_basepoint || ...
4
votes
0
answers
186
views
Sign lightning channel creation PSBT with Golang
I'm trying to open a channel on regtest with LND v0.13.0-beta.rc3 using their PSBT workflow to allow for remote signing.
I've done the following steps:
I create a regtest wallet using the BIP39 ...
4
votes
0
answers
374
views
Is it safe to skip the initial block verification at startup?
The longest step in bitcoin core initialization is "Verifying last 6 blocks at level 3". The number of blocks checked at startup went down from 288 in 2014 to 6 now. Therefore, in order to speedup ...
4
votes
0
answers
222
views
libwallycore error installing LND on Ubuntu 18.04
I'm setting up an LND node on Ubuntu 18.04. I've installed python3, and cloned the repo. I ran configure, and get this error on the make command:
checking byteswap.h, usability... no
checking ...
4
votes
0
answers
675
views
Bitcoinj: How to fix error "You should use Context.propagate() or a ContextPropagatingThreadFactory"
I'm using bitcoinj from a Scala application... and when I start it, I always get the following errors:
[error] o.b.c.Context - Performing thread fixup: you are accessing bitcoinj via a thread that ...
3
votes
0
answers
96
views
How to force close a channel at the original state, for a good cause
A few months ago I created a payment channel from my desktop node, on LND, to my mobile node, on Blixt. Then I tested a few payments between the nodes, and the final balance on the mobile phone is now ...
3
votes
0
answers
548
views
Lightning Network Nodes do not report Bolt9 Features
Looking at the output of the describeGraph command of my node (LND), I have seen that my node detects approximately 19,000 nodes. Of those 19 thousand, 6 thousand do not report any bolt9 feature.
lnd@...
3
votes
0
answers
61
views
Stuck low-feerate transaction after forced closed channel
Someone cooperatively closed a channel with me, then forced closed it later. It has not confirmed. In fact, it is not even showing up in mempool, which says "waiting for transaction". I'm ...
3
votes
0
answers
154
views
bitcoind still running after 'bitcoin-cli stop'
I'm running Debian 11, all updates installed. 12gb RAM, massive internal SSD for storage.
$ /usr/local/bin/bitcoin-25.0/bin/bitcoin-cli stop has worked well shutting down bitcoind on my computer until ...
3
votes
1
answer
95
views
How to make sure the user receives lightning payment?
I am working on a side project to allow users to receive some payments from it. When a user clicks a button to withdraw to a lightning address, my webapp makes a request to the host of that lightning ...
3
votes
1
answer
275
views
How to avoid a force closure of a channel in the future
On May 14th our channel with LNBIG-42 was force closed and has only returned to the wallet minus some fees a few days ago.
https://mempool.space/tx/...