Skip to content

Commit

Permalink
Update mpool.md
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
pranavkonde authored Feb 19, 2025
1 parent 04a5f33 commit c6f4454
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/en/architecture/mpool.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Use `MpoolPushMessage` instead.
### MpoolSub

Returns a channel to receive notifications about updates to the message pool.
Note that the context *must* be cancelled when the caller is done with the subscription.
Note that the context *must* be canceled when the caller is done with the subscription.

### MpoolGetConfig

Expand Down Expand Up @@ -115,7 +115,7 @@ If the `--local` flag is passed, then local messages are also cleared; otherwise

## Configuration

The mpool a few parameters that can be configured by the user, either through the API
The mpool has a few parameters that can be configured by the user, either through the API
or the command line interface.

The config struct is defined as follows:
Expand All @@ -139,7 +139,7 @@ The meaning of these fields is as follows:
Default is empty.
- `SizeLimitHigh` -- this is the maximum number of pending messages before triggering a
prune in the message pool. Note that messages from priority addresses are never pruned.
Defafult is 30000.
Default is 30000.
- `SizeLimitLow` -- this is the number of pending messages that should be kept after a prune.
Default is 20000.
- `ReplaceByFeeRatio` -- this is the gas fee ratio for replacing messages in the mpool.
Expand Down

0 comments on commit c6f4454

Please sign in to comment.