mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Change time dependent trade limits
This is in accordance with https://github.com/bisq-network/proposals/issues/264 Any account type that doesn't need signing can now trade the full amount immediately, same goes for signed type accounts that are selling. Signed type accounts that are buying now has minimum limit (0.01 BTC) up until 30 days after getting signed, then the limit is increased to 0.5 times the max limit (0.125 BTC) and after 60 days they get the full limits (0.25 BTC).
This commit is contained in:
parent
17745e3bee
commit
0f0b75c2ac
@ -408,17 +408,7 @@ public class AccountAgeWitnessService {
|
||||
}
|
||||
|
||||
private double normalFactor(AccountAge accountAgeCategory) {
|
||||
switch (accountAgeCategory) {
|
||||
case TWO_MONTHS_OR_MORE:
|
||||
return 1;
|
||||
case ONE_TO_TWO_MONTHS:
|
||||
return 0.5;
|
||||
case LESS_ONE_MONTH:
|
||||
case UNVERIFIED:
|
||||
return 0.25;
|
||||
default:
|
||||
}
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user