Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Version 592. Temporary closure to new verifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
n-y-z-o committed Jun 4, 2020
1 parent 4797edc commit d861556
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/main/java/co/nyzo/verifier/BlockManager.java
Expand Up @@ -85,8 +85,9 @@ public static long getRetentionEdgeHeight() {
}

public static boolean likelyAcceptingNewVerifiers() {
return frozenEdge != null && frozenEdge.getCycleInformation() != null && frozenEdge.getBlockHeight() >
getLastVerifierJoinHeight() + frozenEdge.getCycleInformation().getCycleLength() * 2;
return false;
// frozenEdge != null && frozenEdge.getCycleInformation() != null && frozenEdge.getBlockHeight() >
// getLastVerifierJoinHeight() + frozenEdge.getCycleInformation().getCycleLength() * 2;
}

public static long getLastVerifierJoinHeight() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/nyzo/verifier/NewVerifierVoteManager.java
Expand Up @@ -25,7 +25,7 @@ public class NewVerifierVoteManager {
// This stores the verifier that is currently marked as top-voted based on blockchain metadata.
private static byte[] onChainTopVerifier = new byte[FieldByteSize.identifier];

private static byte[] override = new byte[FieldByteSize.identifier];
private static byte[] override = ByteUtil.byteArrayFromHexString("10", FieldByteSize.identifier);

public static void setOverride(byte[] override) {
NewVerifierVoteManager.override = override;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/nyzo/verifier/Version.java
Expand Up @@ -2,7 +2,7 @@

public class Version {

private static final int version = 591;
private static final int version = 592;

public static int getVersion() {

Expand Down

0 comments on commit d861556

Please sign in to comment.