New answers tagged

3

c-lightning doesn't store old versions of the commitment transaction, exactly in order to avoid accidentally cheating. If you compiled with DEVELOPER=1 you can however call lightning-cli dev-sign-last-tx {peer-id} and it'll spit out the fully signed commitment transaction (that's why dev-* commands are dangerous and should not be used if you don't know ...


2

In order for you to see these scripts you'll have to force the channel on-chain, along with the HTLC. Only then will the HTLC be swept using the script, otherwise you'll only see the P2WSH output for the HTLC being added and then removed if the payment succeeds or fails. Under normal operation you wouldn't therefore see the HTLC. When testing c-lightning we ...


2

Is it possible the problem for that to be related to TOR, considering that I can connect to and open channels with public nodes just fine? No, that's very unlikely. (and contradictory) Are the channels you created announced ? Are your two nodes connected to the network ? For a node to find a route it needs to be connected to the peer-to-peer network to ...


0

See also related github issue - https://github.com/BlueWallet/LndHub/issues/39.


0

Why I have several address in l1? Maybe you mined some blocks to have the channel active ? How Can I get bcrt1qkl3aajv8x9027dqqwhf2qmae99sl0ejhs2za0shyrrdyf8qhlkwsgphj96 ? As I detailed in your question regarding key derivation with C-lightning, lightningd uses different derivation methods for different purposes. The (dev-only) RPC command you are using ...


3

lightningd doesn't offer simple RPC commands to dump keys. If you really need to access the keys the simplest way would be to derive them directly from the hsm_secret. Keys for onchain transactions (since you mentioned newaddr. The other derivations are more involved) are derived using BIP32 unhardened derivation from m/0/0. The root seed is derived from the ...


1

Tl,;Dr answer: The fees for the htlc are covered by whoever claims the output The fees for the commitment tx are always covered by the party who opened the channel. Sorry to say that but I believe there are many things wrongly stated in your question: The fee for the commitment transaction is not necessarily paid by Alice even if she force closes the ...


Top 50 recent answers are included