Skip to content

Commit

Permalink
[PIE-1617] Added tx-pool-retention-hours CLI option (PegaSysEng#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadelineMurray authored May 22, 2019
1 parent 88de5d6 commit a137742
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/Reference/Pantheon-CLI-Syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,22 @@ tx-pool-max-size="2000"

Maximum number of transactions kept in the transaction pool. Default is 4096.

### tx-pool-retention-hours

```bash tab="Syntax"
--tx-pool-retention-hours=<INTEGER>
```

```bash tab="Example Command Line"
--tx-pool-retention-hours=5
```

```bash tab="Example Configuration File"
tx-pool-retention-hours="5"
```

Maximum period in hours to retain pending transactions in the transaction pool. Default is 13.

### help

```bash tab="Syntax"
Expand Down
3 changes: 3 additions & 0 deletions docs/Using-Pantheon/Transactions/Transaction-Pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ transactions in the node transaction pool
* [`--tx-pool-max-size`](../../Reference/Pantheon-CLI-Syntax.md#tx-pool-max-size) command line option to specify the maximum number
of transactions in the node transaction pool

* [`tx-pool-retention-hours`](../../Reference/Pantheon-CLI-Syntax.md#tx-pool-retention-hours) command line option to specify
the maximum number of hours to retain pending transactions in the transaction pool

* [`newPendingTransactions`](../../Pantheon-API/RPC-PubSub.md#pending-transactions) and [`droppedPendingTransactions`](../../Pantheon-API/RPC-PubSub.md#dropped-transactions)
RPC subscriptions to notify of transactions added to and dropped from the node transaction pool

Expand Down

0 comments on commit a137742

Please sign in to comment.