Commit ef4a0a16 authored by zeroleak's avatar zeroleak
Browse files

add pool.tx0MaxOutputs

parent 147a6c1c
...@@ -29,6 +29,7 @@ Response: ...@@ -29,6 +29,7 @@ Response:
"mustMixBalanceMin":10000102, "mustMixBalanceMin":10000102,
"mustMixBalanceMax":10010000, "mustMixBalanceMax":10010000,
"minAnonymitySet":5, "minAnonymitySet":5,
"tx0MaxOutputs":70,
"nbRegistered":0, "nbRegistered":0,
"mixAnonymitySet":5, "mixAnonymitySet":5,
"mixStatus":"CONFIRM_INPUT", "mixStatus":"CONFIRM_INPUT",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.samourai.code.whirlpool</groupId> <groupId>io.samourai.code.whirlpool</groupId>
<artifactId>whirlpool-client-cli</artifactId> <artifactId>whirlpool-client-cli</artifactId>
<version>develop-SNAPSHOT</version> <version>0.10.10-SNAPSHOT</version>
<name>whirlpool-client-cli</name> <name>whirlpool-client-cli</name>
<properties> <properties>
<spring-boot.version>2.1.6.RELEASE</spring-boot.version> <spring-boot.version>2.1.6.RELEASE</spring-boot.version>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<dependency> <dependency>
<groupId>io.samourai.code.whirlpool</groupId> <groupId>io.samourai.code.whirlpool</groupId>
<artifactId>whirlpool-client</artifactId> <artifactId>whirlpool-client</artifactId>
<version>develop-SNAPSHOT</version> <version>0.23.26-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -11,6 +11,7 @@ public class ApiPool { ...@@ -11,6 +11,7 @@ public class ApiPool {
private long mustMixBalanceCap; private long mustMixBalanceCap;
private long mustMixBalanceMax; private long mustMixBalanceMax;
private int minAnonymitySet; private int minAnonymitySet;
private int tx0MaxOutputs;
private int nbRegistered; private int nbRegistered;
private int mixAnonymitySet; private int mixAnonymitySet;
private MixStatus mixStatus; private MixStatus mixStatus;
...@@ -28,6 +29,7 @@ public class ApiPool { ...@@ -28,6 +29,7 @@ public class ApiPool {
this.mustMixBalanceCap = pool.getMustMixBalanceCap(); this.mustMixBalanceCap = pool.getMustMixBalanceCap();
this.mustMixBalanceMax = pool.getMustMixBalanceMax(); this.mustMixBalanceMax = pool.getMustMixBalanceMax();
this.minAnonymitySet = pool.getMinAnonymitySet(); this.minAnonymitySet = pool.getMinAnonymitySet();
this.tx0MaxOutputs = pool.getTx0MaxOutputs();
this.nbRegistered = pool.getNbRegistered(); this.nbRegistered = pool.getNbRegistered();
this.mixAnonymitySet = pool.getMixAnonymitySet(); this.mixAnonymitySet = pool.getMixAnonymitySet();
this.mixStatus = pool.getMixStatus(); this.mixStatus = pool.getMixStatus();
...@@ -64,6 +66,10 @@ public class ApiPool { ...@@ -64,6 +66,10 @@ public class ApiPool {
return minAnonymitySet; return minAnonymitySet;
} }
public int getTx0MaxOutputs() {
return tx0MaxOutputs;
}
public int getNbRegistered() { public int getNbRegistered() {
return nbRegistered; return nbRegistered;
} }
......
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