Questions tagged [preimage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
46 views

What determines how long a HOLD invoice will be held before it times out and is forced on chain?

How long can a HOLD invoice be held before it times out and is forced on chain? Is there a way for the receiver to define a minimum timeout requirement in the invoice in order for it to be ...
user1748155's user avatar
2 votes
2 answers
60 views

What if someone locks some bitcoin with a script which only requires a user to know a preimage, but it matches the p2sh template? [duplicate]

The basic script for a lightning network HTLC output has a conditional branch which requires a user to know a preimage of a hash. It also requires the user to give a valid signature, but it got me ...
yonson's user avatar
  • 43
2 votes
0 answers
29 views

Do payment trial and error attempts in LND use valid preimages?

In mastering the lightning network, the following paragraph describes a facet of pathfinding The pathfinding mechanism implemented in Lightning nodes is to first create a list of candidate paths, ...
arshbot's user avatar
  • 1,778