lightninglabs / docs.lightning.engineering

Building lapps, running lnd, and more
51 stars 65 forks source link

Sweeping docs #544

Open bitcoin-coder-bob opened 1 year ago

bitcoin-coder-bob commented 1 year ago

Awesome to see sweeping related documentation. Referring to: https://github.com/lightninglabs/docs.lightning.engineering/blob/master/the-lightning-network/payment-channels/understanding-sweeping.md

When an anchor channel is force-closed, two anchors of 330 satoshis each are created.

Is this always true? For example: https://mempool.space/tx/a45d5f9b86414a3066a4417e017ed6a8829ffb5222b2acc083421af3d02b1aec

Not to come off as the "well ackshully" guy, but I personally was so confused by sweeper behavior, especially with anchors, that the more verbose the docs the better.

guggero commented 1 year ago

I guess the more detailed and correct phrasing would need to be: When an anchor channel is force-closed, for each channel party that has a non-dust balance an anchor of 330 satoshis is created.

bitcoin-coder-bob commented 1 year ago

love it

guggero commented 1 year ago

cc @Liongrass

Liongrass commented 1 year ago

You're right bitcoin-coder-bob! Will get that corrected!