Skip to content

Commit

Permalink
Sip3 enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fireduck64 committed Oct 10, 2018
1 parent 1c65a48 commit 62590ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions client/src/WalletUtil.java
Expand Up @@ -34,7 +34,6 @@ public class WalletUtil

public static final String MODE_STANDARD = "standard";
public static final String MODE_QHARD = "qhard";
public static final String MODE_TLS = "tls";

private static final Logger logger = Logger.getLogger("snowblossom.client");

Expand Down Expand Up @@ -94,13 +93,6 @@ else if (key_mode.equals(MODE_QHARD))
wallet_builder.addAddresses(claim);

}
else if (key_mode.equals(MODE_TLS))
{
WalletKeyPair wkp = KeyUtil.generateWalletRSAKey(4096);
wallet_builder.addKeys(wkp);
claim = AddressUtil.getSimpleSpecForKey(wkp);
wallet_builder.addAddresses(claim);
}
else
{
throw new RuntimeException("Unknown key_mode: " + key_mode);
Expand Down
4 changes: 4 additions & 0 deletions lib/src/NetworkParamsProd.java
Expand Up @@ -57,4 +57,8 @@ public List<String> getSeedNodes()
// Fill in hash of bitcoin block 523850 when it occurs, in hex replacing the zeros to start mainnet
@Override
public ByteString getBlockZeroRemark() { return ByteString.copyFrom(new String("00000000000000000019d1562bd02674302db7ddd6ccdb77be3e6daaa8eb8a51").getBytes()); }

// SIP3
public int getActivationHeightTxOutRequirements() { return 35000; }
public int getActivationHeightTxOutExtras() { return 35000; }
}

0 comments on commit 62590ad

Please sign in to comment.