mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-06 13:34:38 -04:00
Move expiries to config
So they can be different for mainnet and regtest
This commit is contained in:
parent
ef6e8fc723
commit
c0478d7191
3 changed files with 30 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue