Skip to content
LearnBitcoin

ResearchBitcoin Dev Archive lightning-dev list

Committing to dust

2 messages, Nov 27, 2015. Started by Nicolas Dorier.

Nicolas Dorier, Jorge Timón

Permalink First message in the Wayback Machine

Nicolas Dorier permalink original

As I documented on https://github.com/ElementsProject/lightning/issues/14 the problem is not easily solved because the dust amount is not constant. It depends on minTxRelayFee which itself depends on the mempool state of each node.

A way to decouple mintxrelayfee from dust is needed. I proposed to tie the dust definition to transaction's fee. But had problem during implementation because of some circular dependency.

Jorge Timón in reply to Nicolas Dorier permalink original

On Nov 27, 2015 8:13 AM, "Nicolas Dorier" <nicolas.dorier at gmail.com> wrote:

Quoted text (5 lines, sent without quote marks)
>
> As I documented on https://github.com/ElementsProject/lightning/issues/14 the
problem is not easily solved because the dust amount is not constant. It
depends on minTxRelayFee which itself depends on the mempool state of each
node.

I don think this is the case, IsDust depends on the minTxRelayFee global from main, but it's not dynamic like the one used in the mempool. If the global minTxRelayFee has been made dynamic without me noticing, it should be easy to separate a dynamic and static one though.

Quoted text (9 lines)
> A way to decouple mintxrelayfee from dust is needed. I proposed to tie
the dust definition to transaction's fee. But had problem during
implementation because of some circular dependency.
>
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://www.learnbitcoin.com/archive/lists/lightning-dev
>