Commit ef4a0a16 authored by zeroleak's avatar zeroleak
Browse files

add pool.tx0MaxOutputs

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