]> git.bitcoin.ninja Git - rust-lightning/commit
Move BREAKDOWN_TIMEOUT/MAX_LOCAL_BREAKDOWN_TIMEOUT in ChannelManager
authorAntoine Riard <ariard@student.42.fr>
Fri, 19 Jul 2019 23:36:23 +0000 (19:36 -0400)
committerAntoine Riard <ariard@student.42.fr>
Wed, 24 Jul 2019 21:53:04 +0000 (17:53 -0400)
commit3b09db80eaff12af791e28eddb03f3b44957ab5f
treed650dd5572487944d9f8656f9d3562b30e4bbeeb
parent3f409a8903d4da42a44ffddadf40c92ec5939d10
Move BREAKDOWN_TIMEOUT/MAX_LOCAL_BREAKDOWN_TIMEOUT in ChannelManager

Let these values being used as default ones in UserConfig.

Also, reduce them to something more reasonable, for BREAKDOWN_TIMEOUT
from 1 week to 1 day, for MAX_LOCAL_BREAKDOWN_TIMEOUT from 2 weeks
to 1.
src/ln/channel.rs
src/ln/channelmanager.rs
src/ln/functional_tests.rs