Skip to content

lnd wants up to 2016 to_self_delay: should we allow > 3 days? #1110

@rustyrussell

Description

@rustyrussell

From IRC:

user@machine:/lightning$ lncli fundchannel 02565b3920e81816040bf477c135cdbfc2c931a11fc41593bd3217b1eb5a399c6f 10000000
(20:22:37) p3tr: { "code" : -1, "message" : "sent ERROR to_self_delay 1201 larger than 432" }
(20:22:40) p3tr: user@machine:/lightning$ lncli fundchannel 02565b3920e81816040bf477c135cdbfc2c931a11fc41593bd3217b1eb5a399c6f 5000000
(20:22:43) p3tr: { "code" : -1, "message" : "sent ERROR to_self_delay 600 larger than 432" }
(20:22:46) p3tr: user@machine:/lightning$ lncli fundchannel 02565b3920e81816040bf477c135cdbfc2c931a11fc41593bd3217b1eb5a399c6f 7500000
(20:22:48) p3tr: { "code" : -1, "message" : "sent ERROR to_self_delay 901 larger than 432" }
(20:22:50) p3tr: { "tx" : "0200000000010125744673...", "txid" : "ac97847d5a070..." }

Looking at the lnd source, it ranges up to 2 weeks depending on the amount in the channel. We don't allow more than 3 days, should we change default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions