mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 22:46:56 +01:00
Undo a couple of changes to NetworkParameters to fix the bitcoind comparison tool
This commit is contained in:
parent
2a33065e31
commit
bfd9d81b21
1 changed files with 6 additions and 2 deletions
|
@ -113,12 +113,12 @@ public class NetworkParameters implements Serializable {
|
|||
/**
|
||||
* Returns the number of blocks between subsidy decreases
|
||||
*/
|
||||
private final int subsidyDecreaseBlockCount;
|
||||
private /*final*/ int subsidyDecreaseBlockCount;
|
||||
|
||||
/**
|
||||
* If we are running in testnet-in-a-box mode, we allow connections to nodes with 0 non-genesis blocks
|
||||
*/
|
||||
final boolean allowEmptyPeerChains;
|
||||
boolean allowEmptyPeerChains;
|
||||
|
||||
/**
|
||||
* The version codes that prefix addresses which are acceptable on this network. Although Satoshi intended these to
|
||||
|
@ -382,6 +382,10 @@ public class NetworkParameters implements Serializable {
|
|||
return subsidyDecreaseBlockCount;
|
||||
}
|
||||
|
||||
public void setSubsidyDecreaseBlockCount(int value) {
|
||||
subsidyDecreaseBlockCount = value;
|
||||
}
|
||||
|
||||
/** Returns DNS names that when resolved, give IP addresses of active peers. */
|
||||
public String[] getDnsSeeds() {
|
||||
return dnsSeeds;
|
||||
|
|
Loading…
Add table
Reference in a new issue