@@ -26,7 +26,6 @@ public class ApiCliConfig {
26
26
private static final String KEY_SCODE = "cli.scode" ;
27
27
public static final String KEY_TOR = "cli.tor" ;
28
28
private static final String KEY_PROXY = "cli.proxy" ;
29
- public static final String KEY_MIX_CLIENTS = "cli.mix.clients" ;
30
29
private static final String KEY_MIX_CLIENTS_PER_POOL = "cli.mix.clientsPerPool" ;
31
30
private static final String KEY_MIX_CLIENT_DELAY = "cli.mix.clientDelay" ;
32
31
private static final String KEY_MIX_TX0_MAX_OUTPUTS = "cli.mix.tx0MaxOutputs" ;
@@ -124,7 +123,6 @@ public void setMix(ApiMixConfig mix) {
124
123
}
125
124
126
125
public static class ApiMixConfig {
127
- private Integer clients ;
128
126
private Integer clientsPerPool ;
129
127
private Integer clientDelay ;
130
128
private Integer tx0MaxOutputs ;
@@ -134,7 +132,6 @@ public static class ApiMixConfig {
134
132
public ApiMixConfig () {}
135
133
136
134
public ApiMixConfig (CliConfigFile .MixConfig mixConfig ) {
137
- this .clients = mixConfig .getClients ();
138
135
this .clientsPerPool = mixConfig .getClientsPerPool ();
139
136
this .clientDelay = mixConfig .getClientDelay ();
140
137
this .tx0MaxOutputs = mixConfig .getTx0MaxOutputs ();
@@ -143,10 +140,6 @@ public ApiMixConfig(CliConfigFile.MixConfig mixConfig) {
143
140
}
144
141
145
142
public void toProperties (Properties props ) throws NotifiableException {
146
- if (clients != null && clients < 1 ) {
147
- throw new NotifiableException ("mix.clients should be > 0 or null" );
148
- }
149
- props .put (KEY_MIX_CLIENTS , clients != null ? Integer .toString (clients ) : "" );
150
143
if (clientsPerPool != null ) {
151
144
if (clientsPerPool < 1 ) {
152
145
throw new NotifiableException ("mix.clientsPerPool should be > 0" );
@@ -176,14 +169,6 @@ public void toProperties(Properties props) throws NotifiableException {
176
169
}
177
170
}
178
171
179
- public Integer getClients () {
180
- return clients ;
181
- }
182
-
183
- public void setClients (Integer clients ) {
184
- this .clients = clients ;
185
- }
186
-
187
172
public Integer getClientsPerPool () {
188
173
return clientsPerPool ;
189
174
}
0 commit comments