mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Add dev values for lock time and proposal phase
This commit is contained in:
parent
d92e0dd5bd
commit
bdbcc5e7fd
@ -23,6 +23,8 @@ import lombok.Getter;
|
||||
|
||||
// Data here must not be changed as it would break backward compatibility! In case we need to change we need to add a new
|
||||
// entry and maintain the old one. Once all the role holders of an old deprecated role have revoked the role might get removed.
|
||||
|
||||
// Add entry to translation file "dao.bond.bondedRoleType...."
|
||||
public enum BondedRoleType {
|
||||
// admins
|
||||
GITHUB_ADMIN(50_000, 60, "https://github.com/bisq-network/roles/issues/16", true),
|
||||
@ -70,7 +72,8 @@ public enum BondedRoleType {
|
||||
*/
|
||||
BondedRoleType(long requiredBondInBsq, int unlockTimeInDays, String link, boolean allowMultipleHolders) {
|
||||
this.requiredBond = requiredBondInBsq * 100;
|
||||
this.unlockTimeInBlocks = unlockTimeInDays * 144;
|
||||
this.unlockTimeInBlocks = 5; // TODO for dev testing
|
||||
//this.unlockTimeInBlocks = unlockTimeInDays * 144;
|
||||
this.link = link;
|
||||
this.allowMultipleHolders = allowMultipleHolders;
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ public enum Param {
|
||||
// TODO for dev testing we use short periods...
|
||||
// Period phase ("11 blocks atm)
|
||||
PHASE_UNDEFINED("0", ParamType.BLOCK),
|
||||
PHASE_PROPOSAL("2", ParamType.BLOCK, 3, 3),
|
||||
PHASE_PROPOSAL("4", ParamType.BLOCK, 3, 3),
|
||||
PHASE_BREAK1("1", ParamType.BLOCK, 3, 3),
|
||||
PHASE_BLIND_VOTE("2", ParamType.BLOCK, 3, 3),
|
||||
PHASE_BREAK2("1", ParamType.BLOCK, 3, 23),
|
||||
|
Loading…
Reference in New Issue
Block a user