Commit 810549d0 authored by zeroleak's avatar zeroleak
Browse files

config: liquidityInterval -> confirmInterval

parent bf6c9bbd
......@@ -44,7 +44,7 @@ Standard fee configuration is through *fee-value*.
```
server.register-input.min-confirmations-must-mix: minimum confirmations for mustMix inputs
server.register-input.min-confirmations-liquidity: minimum confirmations for liquidity inputs
server.register-input.liquidity-interval = 10: liquidities are added by batch at this frequency
server.register-input.confirm-interval = 10: inputs are confirmed by batch at this frequency (seconds)
```
### UTXO rules
......
......@@ -157,7 +157,7 @@ public class WhirlpoolServerConfig extends ServerConfig {
private int minConfirmationsLiquidity;
private int maxInputsSameHash;
private int maxInputsSameUserHash;
private long liquidityInterval;
private long confirmInterval;
public int getMinConfirmationsMustMix() {
return minConfirmationsMustMix;
......@@ -191,12 +191,12 @@ public class WhirlpoolServerConfig extends ServerConfig {
this.maxInputsSameUserHash = maxInputsSameUserHash;
}
public long getLiquidityInterval() {
return liquidityInterval;
public long getConfirmInterval() {
return confirmInterval;
}
public void setLiquidityInterval(long liquidityInterval) {
this.liquidityInterval = liquidityInterval;
public void setConfirmInterval(long confirmInterval) {
this.confirmInterval = confirmInterval;
}
}
......@@ -639,8 +639,7 @@ public class WhirlpoolServerConfig extends ServerConfig {
+ registerInput.minConfirmationsLiquidity
+ ", mustMix="
+ registerInput.minConfirmationsMustMix);
configInfo.put(
"registerInput.liquidityInterval", String.valueOf(registerInput.liquidityInterval));
configInfo.put("registerInput.confirmInterval", String.valueOf(registerInput.confirmInterval));
String timeoutInfo =
"registerOutput="
......
......@@ -35,7 +35,7 @@ server.register-input.min-confirmations-must-mix = 0
server.register-input.min-confirmations-liquidity = 0
server.register-input.max-inputs-same-hash = 1
server.register-input.max-inputs-same-user-hash = 1
server.register-input.liquidity-interval = 10
server.register-input.confirm-interval = 10
server.register-output.timeout = 120
server.signing.timeout = 40
......
......@@ -18,7 +18,7 @@ server.miner-fees.miner-fee-cap = 8000
server.miner-fees.miner-fee-max = 10000
server.miner-fees.min-relay-fee = 510
server.register-input.liquidity-interval = 10
server.register-input.confirm-interval = 10
server.test-mode = false
server.export.directory = /tmp
......
......@@ -24,7 +24,7 @@ server.miner-fees.miner-fee-cap = 8000
server.miner-fees.miner-fee-max = 10000
server.miner-fees.min-relay-fee = 510
server.register-input.liquidity-interval = 2
server.register-input.confirm-interval = 2
server.test-mode = false
server.export.directory = /tmp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment