Skip to content

Commit

Permalink
Fix wrong TARGET_SPACING
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikski committed Aug 6, 2015
1 parent 6c737ee commit 80c414c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/bitcoinj/core/CoinDefinition.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ enum CoinHash {
public static boolean checkpointFileSupport = true;
public static int checkpointDaysBack = 21;

public static final int TARGET_TIMESPAN = (int)(128 * 60); // ~ 1 day per difficulty cycle, on average.
public static final int TARGET_TIMESPAN = (int)(128 * 10 * 60); // ~ 1 day per difficulty cycle, on average.
public static final int TARGET_SPACING = (int)(10 * 60); // 10 minutes per block.
public static final int INTERVAL = TARGET_TIMESPAN / TARGET_SPACING; //

Expand Down

0 comments on commit 80c414c

Please sign in to comment.