Skip to content

Commit

Permalink
jsonrpc: Fix some grammar in api.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock committed Oct 14, 2024
1 parent 4adf892 commit 8b3ff15
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions rpc/documentation/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ ___

#### `RescanPoint`

The `RescanPoint` returns the block hash at which a rescan should begin
The `RescanPoint` method returns the block hash at which a rescan should begin
(inclusive), or null when no rescan is necessary. A non-null rescan point
indicates that blocks currently in the main chain must be checked for address
usage and relevant transactions.
Expand Down Expand Up @@ -1186,6 +1186,7 @@ as an output or in a P2SH input.
___

#### `ImportVotingAccountFromSeed`

The `ImportVotingAccountFromSeed` method imports bytes that become the master
seed for a hierarchical deterministic private key that is imported into the
wallet with the supplied name and locked with the supplied password. Addresses
Expand Down Expand Up @@ -2557,7 +2558,7 @@ ___

#### `LockWallet`

The `LockWallet` request locks the wallet, preventing use of any keys protected
The `LockWallet` method locks the wallet, preventing use of any keys protected
by the private passphrase. This does not affect accounts which are encrypted
with a separate passphrase.

Expand Down Expand Up @@ -2594,7 +2595,7 @@ ___

#### `LockAccount`

The `LockAccount` request locks an account, preventing use of any keys protected
The `LockAccount` method locks an account, preventing use of any keys protected
by the private passphrase. This does not affect any other accounts.

**Request:** `LockAccountRequest`
Expand All @@ -2611,7 +2612,7 @@ by the private passphrase. This does not affect any other accounts.

#### `GetTrackedVSPTickets`

The `GetTrackedVSPTickets` request returns the list of tickets currently tracked
The `GetTrackedVSPTickets` method returns the list of tickets currently tracked
by the VSP client inside dcrwallet. This only applies to tickets purchased
following the new vspd mode.

Expand Down Expand Up @@ -2737,8 +2738,8 @@ always running.

#### `GenerateRandomSeed`

The `GenerateRandomSeed` generates a secure random seed, returning it as binary,
hexadecimal, and in a mnemonic word list format.
The `GenerateRandomSeed` method generates a secure random seed, returning it as
binary, hexadecimal, and in a mnemonic word list format.

**Request:** `GenerateRandomSeedRequest`

Expand All @@ -2761,7 +2762,7 @@ ___

#### `DecodeSeed`

The `DecodeSeed` decodes a human-readable form of the seed back into binary.
The `DecodeSeed` method decodes a human-readable form of the seed back into binary.
The user input can be either a hexadecimal string or a mnemonic word list.

**Request:** `DecodeSeedRequest`
Expand Down Expand Up @@ -2789,7 +2790,7 @@ launch the ticket buyer.

#### `RunTicketBuyer`

The `RunTicketBuyer` starts a new ticket buyer for the specified account.
The `RunTicketBuyer` method starts a new ticket buyer for the specified account.
The users may specify a balance to maintain.

**Request:** `RunTicketBuyerRequest`
Expand Down Expand Up @@ -2825,7 +2826,7 @@ launch the ticket buyer.

#### `RunAccountMixer`

The `RunAccountMixer` starts a new account mixer for the specified account (and branch).
The `RunAccountMixer` method starts a new account mixer for the specified account (and branch).

**Request:** `RunAccountMixerRequest`

Expand Down

0 comments on commit 8b3ff15

Please sign in to comment.