2

The transaction does have a fee and that is negotiated prior to the channel being opened. The participants will determine the feerate to set on the commitment transactions before the transactions are created. Thus every commitment transaction contains a transaction fee and could be sent to the network. This is required in the case of a unilateral close. A ...


2

I am not sure if it is possible to give a satisfying / definite answer to your question. As far as I can tell lightning developers have been very cautious in the early days (and still are) with everything that might make people loose funds. Negative fees are an obvious possibility to loose money as people would route along that channel and you would have to ...


1

The error message is about trying to update the onchain fees in the case of a force close. The onchain fees are renegotiated with your peer from time to time, so that you are safe in case your partner becomes unresponsive. From your log file, it looks like your channel has most of its balance on the remote side and thus you could not afford the higher ...


1

I am thinking of running my own lightning node in testnet. Going through the tutorials it seems the lightning node needs to be connected to bitcoin node inorder to get connected to bitcoin network. But running a full bitcoin node like bitcoind seems out of my scope as I don't want invest and maintain it. A Bitcoin testnet node block chain occupies less than ...


1

Of course you would have to write custom code. But other than that I don't see any reason why this should not be possible. Actually there come quite some architectures and technologies in my mind that would nicely enable such functionality.


1

The routing fees are charged with successful forwardings. Let's say you received 11 sats on one channel and forward 10 on another you have earned 1 Satoshi. This satoshi increases the total balance of your node and is technically added to the incoming channel. You could of course account the fee to the outgoing channel as that one defines the fee your node ...


1

I have observed the same behavior and I think a "send all" function should be possible to build but is just not implemented. It is a little bit tricky as the actual routing fees depend on the path / route and might change a bit with every attempt and are not known before the payment settles. But of course a custodial service could work with a fee ...


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