This commit is contained in:
Boris Nagaev 2026-05-06 16:32:05 -05:00
parent 1f00e1a31f
commit 51944b270c
No known key found for this signature in database
3 changed files with 3 additions and 4 deletions

View file

@ -276,7 +276,7 @@ func IsRoutable(na *wire.NetAddressV2) bool {
IsRFC4843(lna) || IsRFC7343(lna) || IsRFC5737(lna) ||
IsRFC6598(lna) || IsLocal(lna) || IsZero(lna) ||
(IsRFC4193(lna) &&
!IsOnionCatTor(lna)))
!IsOnionCatTor(lna)))
}
// GroupKey returns a string representing the network group an address is part

View file

@ -560,8 +560,8 @@ var RegressionNetParams = Params{
DeploymentEnder: NewMedianTimeDeploymentEnder(
time.Time{}, // Never expires.
),
MinActivationHeight: 0,
AlwaysActiveHeight: 1,
MinActivationHeight: 0,
AlwaysActiveHeight: 1,
CustomActivationThreshold: 108, // Only needs 75% hash rate.
},
},

View file

@ -115,4 +115,3 @@ func BenchmarkMsgCFCheckptDecodeEmpty(b *testing.B) {
}
}
}