Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Whirlpool
whirlpool-client-cli
Commits
ef4a0a16
Commit
ef4a0a16
authored
Jan 28, 2021
by
zeroleak
Browse files
add pool.tx0MaxOutputs
parent
147a6c1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
doc/API.md
doc/API.md
+1
-0
pom.xml
pom.xml
+2
-2
src/main/java/com/samourai/whirlpool/cli/api/protocol/beans/ApiPool.java
...om/samourai/whirlpool/cli/api/protocol/beans/ApiPool.java
+6
-0
No files found.
doc/API.md
View file @
ef4a0a16
...
...
@@ -29,6 +29,7 @@ Response:
"mustMixBalanceMin":10000102,
"mustMixBalanceMax":10010000,
"minAnonymitySet":5,
"tx0MaxOutputs":70,
"nbRegistered":0,
"mixAnonymitySet":5,
"mixStatus":"CONFIRM_INPUT",
...
...
pom.xml
View file @
ef4a0a16
...
...
@@ -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>
...
...
src/main/java/com/samourai/whirlpool/cli/api/protocol/beans/ApiPool.java
View file @
ef4a0a16
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment