Skip to content

Commit

Permalink
Use fee estimate for load test
Browse files Browse the repository at this point in the history
  • Loading branch information
fireduck64 committed Oct 29, 2018
1 parent 6d1b21f commit dc7afa3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/src/SnowBlossomClient.java
Expand Up @@ -668,7 +668,7 @@ private void runLoadTestInner()
while(true)
{
int output_count = 1;
long fee = 50;
long fee = 7500;
while (rnd.nextDouble() < 0.5) output_count++;
//Collections.shuffle(spendable);

Expand Down Expand Up @@ -709,8 +709,9 @@ private void runLoadTestInner()
tx_config.addAllOutputs(out_list);
tx_config.setChangeRandomFromWallet(true);
tx_config.setInputSpecificList(true);
tx_config.setFeeUseEstimate(false);
tx_config.setFeeFlat(fee);
tx_config.setFeeUseEstimate(true);
//tx_config.setFeeUseEstimate(false);
//tx_config.setFeeFlat(fee);
tx_config.setSplitChangeOver(25000000L);
tx_config.addAllInputs(input_list);

Expand Down

0 comments on commit dc7afa3

Please sign in to comment.