Skip to content

Commit

Permalink
fix: Correct typos, grammar and spelling errors (#654)
Browse files Browse the repository at this point in the history
* clusters.md

* fees.md

* index.md

* transactions.md

* _adjusted_staking_yield.md

* dev.md

* installation.md

* local-setup.md

* solana-test-validator.md

* fix: update Solana CLI installation URL and related formatting

* fix: remove irrelevant changes from PR
  • Loading branch information
intls authored Dec 21, 2024
1 parent d62d4b7 commit 0b7ba37
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions docs/core/clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description:

The Solana blockchain has several different groups of validators, known as
[Clusters](/docs/core/clusters.md). Each serving different purposes within the
overall ecosystem and containing dedicated api nodes to fulfill
overall ecosystem and containing dedicated API nodes to fulfill
[JSON-RPC](/docs/rpc/index.mdx) requests for their respective Cluster.

The individual nodes within a Cluster are owned and operated by third parties,
Expand Down Expand Up @@ -72,7 +72,7 @@ drive, as a user, token holder, app developer, or validator.

### Devnet endpoint

- `https://api.devnet.solana.com` - single Solana Labs hosted api node;
- `https://api.devnet.solana.com` - single Solana Labs hosted API node;
rate-limited

#### Example `solana` command-line configuration
Expand Down Expand Up @@ -106,7 +106,7 @@ stability and validator behavior.

### Testnet endpoint

- `https://api.testnet.solana.com` - single Solana Labs api node; rate-limited
- `https://api.testnet.solana.com` - single Solana Labs API node; rate-limited

#### Example `solana` command-line configuration

Expand Down Expand Up @@ -134,7 +134,7 @@ token holders.

### Mainnet beta endpoint

- `https://api.mainnet-beta.solana.com` - Solana Labs hosted api node cluster,
- `https://api.mainnet-beta.solana.com` - Solana Labs hosted API node cluster,
backed by a load balancer; rate-limited

#### Example `solana` command-line configuration
Expand All @@ -151,7 +151,7 @@ solana config set --url https://api.mainnet-beta.solana.com
- Maximum number of requests per 10 seconds per IP for a single RPC: 40
- Maximum concurrent connections per IP: 40
- Maximum connection rate per 10 seconds per IP: 40
- Maximum amount of data per 30 second: 100 MB
- Maximum amount of data per 30 seconds: 100 MB

> The public RPC endpoints are not intended for production applications. Please
> use dedicated/private RPC servers when you launch your application, drop NFTs,
Expand Down
4 changes: 2 additions & 2 deletions docs/core/fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ syscalls, etc), each may consume a
of compute units.

> A program can log details about its compute usage, including how much remains
> in its alloted compute budget. You can also find more information in this
> in its allotted compute budget. You can also find more information in this
> guide for
> [optimizing your compute usage](/content/guides/advanced/how-to-optimize-compute.md).
Each transaction is alloted a [compute unit limit](#compute-unit-limit), either
Each transaction is allotted a [compute unit limit](#compute-unit-limit), either
with the default limit set by the runtime or by explicitly requesting a higher
limit. After a transaction exceeds its compute unit limit, its processing is
halted resulting in a transaction failure.
Expand Down
4 changes: 2 additions & 2 deletions docs/core/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title: Core Concepts
sidebarSortOrder: 2
description:
Learn essential Solana blockchain concepts including accounts, transactions,
programs, programd derived addresses, cross program invocations, and how
tokens work on Solana.
programs, program derived addresses, cross program invocations, and how tokens
work on Solana.
---

Build a strong understanding of the core concepts that make Solana different
Expand Down
2 changes: 1 addition & 1 deletion docs/core/transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ manually building the instruction.
### Manual SOL Transfer

Here is a [Solana Playground](https://beta.solpg.io/656a102efb53fa325bfd0c3f)
example of how to manually build the a SOL transfer instruction:
example of how to manually build a SOL transfer instruction:

```typescript
// Define the amount to transfer
Expand Down
6 changes: 3 additions & 3 deletions docs/economics/inflation/_adjusted_staking_yield.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ $$
Y_{adj} = \frac{ 1 + I(t)/P_s(t) }{ 1 + I(t) } - 1\\
$$

So we see that the _Adjusted Staked Yield_ a function of the inflation rate and
the percent of staked tokens on the network. We can see this plotted for various
staking fractions here:
So we see that the _Adjusted Staked Yield_ is a function of the inflation rate
and the percent of staked tokens on the network. We can see this plotted for
various staking fractions here:

![Graph of example adjusted staking yields](/assets/docs/economics/example_adjusted_staking_yields.png)

Expand Down

0 comments on commit 0b7ba37

Please sign in to comment.