mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +00:00
Update Bitcoin confirmations from 3 to 6
While Bitcoin practically doesn't have long re-orgs, it is possible for a single miner to build a long chain. Recently, a miner found 5 blocks in a row, which would be enough to re-org a transaction Serai considered finalized.
This commit is contained in:
@@ -288,7 +288,7 @@ impl Coin for Bitcoin {
|
||||
|
||||
const NETWORK: NetworkId = BITCOIN_NET_ID;
|
||||
const ID: &'static str = "Bitcoin";
|
||||
const CONFIRMATIONS: usize = 3;
|
||||
const CONFIRMATIONS: usize = 6;
|
||||
|
||||
// 0.0001 BTC, 10,000 satoshis
|
||||
#[allow(clippy::inconsistent_digit_grouping)]
|
||||
|
||||
Reference in New Issue
Block a user