Move expiries to config

So they can be different for mainnet and regtest
This commit is contained in:
Franck Royer 2020-12-10 14:43:17 +11:00
parent ef6e8fc723
commit c0478d7191
No known key found for this signature in database
GPG key ID: A82ED75A8DFC50A4
3 changed files with 30 additions and 9 deletions

View file

@ -14,9 +14,6 @@ pub mod state;
pub mod storage;
pub mod tor;
pub const REFUND_TIMELOCK: u32 = 50; // Relative timelock, this is number of blocks. TODO: What should it be?
pub const PUNISH_TIMELOCK: u32 = 50; // FIXME: What should this be?
pub type Never = std::convert::Infallible;
/// Commands sent from Bob to the main task.