Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
smatthewenglish committed Apr 25, 2019
1 parent b1f4640 commit de9376e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ private void handleConnect(final EthPeer peer) {
}
}

public void setMaximumPendingTransactionsRetentionPeriod(String value) {
System.out.println("value: " + value + " <-- 999");
}

public List<Transaction> getLocalTransactions() {
return pendingTransactions.getLocalTransactions();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ public Runner build() {
networkRunner.getNetwork(), getSelfEnode(), bootnodesAsEnodeURLs)));

final TransactionPool transactionPool = pantheonController.getTransactionPool();
transactionPool.setMaximumPendingTransactionsRetentionPeriod(pendingTransactionRetentionPeriod);

final MiningCoordinator miningCoordinator = pantheonController.getMiningCoordinator();
final Optional<AccountWhitelistController> accountWhitelistController =
localPermissioningConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ public void errorIsRaisedIfStaticNodesAreNotWhitelisted() throws IOException {
// retention-period-pending-tx

@Test
public void specifyMaximumPendingTransactionsTimePeriod() {
public void specifyMaximumPendingTransactionsRetentionPeriod() {

parseCommand("--pending-tx-retention-period", "0h0m0s");

Expand Down

0 comments on commit de9376e

Please sign in to comment.