Skip to content

Commit c8d072f

Browse files
committed
fix spelling mistakes
1 parent cb83c2f commit c8d072f

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
lines changed

.cspell/custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ rustc
1919
rustflags
2020
rustup
2121
subl
22+
Substitutors
2223
Tauri
2324
Ulhaq
2425
Wahlstrom

.cspell/holochain-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Holo's
88
Holochain
99
Holochain's
1010
Holonix
11+
memproof
1112
sharded
1213
Tryorama
1314
webhapp

.cspell/template-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ newblock
1414
pagefind
1515
rocketship
1616
renderlayoutblock
17+
shellsession
1718
srcset
1819
storysequence
1920
surpress

.cspell/words-that-should-exist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissioned
1414
permissivity
1515
runtimes
1616
sandboxed
17+
signup
1718
spacebar
1819
todo
1920
todos

src/pages/references/enable-holo.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enable Apps for Holo Hosting
33
---
44

55
!!! info Requires Holochain 0.2
6-
The Holo hosting network runs the unstable Holochain 0.2 on all its nodes, so you'll need to make sure that your hApp is compoatible with 0.2. The scaffolding tool commands in this guide will set up the proper dependencies for you. If you're starting with an existing hApp or have used the scaffolding tool commands in the [Get Started guide](/get-started/), you'll need to upgrade your hApp manually.
6+
The Holo hosting network runs the unstable Holochain 0.2 on all its nodes, so you'll need to make sure that your hApp is compatible with 0.2. The scaffolding tool commands in this guide will set up the proper dependencies for you. If you're starting with an existing hApp or have used the scaffolding tool commands in the [Get Started guide](/get-started/), you'll need to upgrade your hApp manually.
77
!!!
88

99
## Intro
@@ -221,7 +221,7 @@ Integrity zome "todo_integrity" scaffolded!
221221

222222
Press <kbd>Y</kbd> again.
223223

224-
You will then see `Coordinator zome "todos" scaffolded!` along with output from the intial downloading and setting up of the Holochain Rust HDK, followed by instructions for adding your first entry type.
224+
You will then see `Coordinator zome "todos" scaffolded!` along with output from the initial downloading and setting up of the Holochain Rust HDK, followed by instructions for adding your first entry type.
225225

226226
Now we get to the really exciting part! In the next steps you will specify your data model, and the scaffolding tool will automatically add both zome and UI code to your hApp.
227227

@@ -645,7 +645,7 @@ Let's add the following scripts to the top of the `"scripts"` object. These will
645645
3. Run the `holochain-playground` at `localhost:4444`, and
646646
4. Start the UI at `localhost:8888`.
647647

648-
Take note of the `"network:holo"` script; it's what passes the `VITE_APP_CHAPERONE_URL` and `VITE_APP_IS_HOLO` environment variables to your UI so that it knows to connect to Holo, and specificially to a local `holo_dev_server`.
648+
Take note of the `"network:holo"` script; it's what passes the `VITE_APP_CHAPERONE_URL` and `VITE_APP_IS_HOLO` environment variables to your UI so that it knows to connect to Holo, and specifically to a local `holo_dev_server`.
649649

650650
```json
651651
"start:holo": "AGENTS=2 npm run network:holo",
@@ -690,7 +690,7 @@ Holo does not support direct programmatic/API access to deployed hApps.
690690

691691
Holochain assumes that agents are in control of their own conductor, meaning:
692692

693-
* Agent keypairs are located on the same machine as their data and hApp instance, which is typically a computer they own.
693+
* Agent key pairs are located on the same machine as their data and hApp instance, which is typically a computer they own.
694694
* Agents can choose which hApps / DNAs are co-located on the same conductor.
695695
* All hApps running on a conductor belong to a single user who may have multiple keys.
696696
* The client and conductor are located on the same machine.
@@ -837,7 +837,7 @@ fn validate_membrane_proof(membrane_proof: &Option<MembraneProof>) -> ExternResu
837837
// Your custom membrane proof validation should go here.
838838
}
839839

840-
/// A helper function to check wheter an op should be allowed. In the sample
840+
/// A helper function to check whether an op should be allowed. In the sample
841841
/// `validate` function, it's used for both entry and link CRUD actions.
842842
fn has_permission_to_write(op: &Op) -> Result<bool, WasmError> {
843843
let action_type = op.action_type();
@@ -871,7 +871,7 @@ fn has_permission_to_write(op: &Op) -> Result<bool, WasmError> {
871871
}
872872
}
873873
// Your app may also want to allow certain CRUD actions for public or
874-
// private app data, such as anonymous pageview counters for blog posts, or
874+
// private app data, such as anonymous page view counters for blog posts, or
875875
// updates/deletes on system actions. Keep in mind the risk of anonymous
876876
// spamming though!
877877

@@ -921,7 +921,7 @@ fn has_permission_to_write(op: &Op) -> Result<bool, WasmError> {
921921
}
922922
(Action::AgentValidationPkg(action_data), _) => {
923923
// No prior CRUD actions were found, excepting possible ones
924-
// done within `init` which we skipped if we're validiating an
924+
// done within `init` which we skipped if we're validating an
925925
// op produced after `init`. Allow all ops produced before
926926
// `init`, and subject all ops produced after `init` to the
927927
// read-only membrane proof check.
@@ -978,7 +978,7 @@ pub fn validate(op: Op) -> ExternResult<ValidateCallbackResult> {
978978
979979
Every function call to a coordinator zome must be signed, and a call will only be successful if there's a [capability grant](/references/glossary/#capability-grant) for it. Capability grants can be unrestricted, or they can be restricted to a particular capability token or public key.
980980
981-
Normally, when a Holo agent is logged in, or the user is running the hApp on their own machine, the keypair used to sign function calls is the same as the keypair used to author data in the cell. This is called the [author grant](/concepts/8_calls_capabilities/#author-grant), and it's automatically privileged to call every function. For an anonymous agent accessing a read-only instance, however, this is not true. For them to be able to make a function call, you need to also create an unrestricted capability grant for that function.
981+
Normally, when a Holo agent is logged in, or the user is running the hApp on their own machine, the key pair used to sign function calls is the same as the key pair used to author data in the cell. This is called the [author grant](/concepts/8_calls_capabilities/#author-grant), and it's automatically privileged to call every function. For an anonymous agent accessing a read-only instance, however, this is not true. For them to be able to make a function call, you need to also create an unrestricted capability grant for that function.
982982
983983
```rust
984984
fn set_read_only_cap_tokens() -> ExternResult<()> {

src/pages/references/glossary.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,10 @@ One of two types of permeable boundaries that allow or disallow access:
595595

596596
A [record](#record) written to an agent's [source chain](#source-chain) that proves they have permission to join a [DHT](#distributed-hash-table-dht), for example, an invite code or signed authorization from an existing member. The [DNA](#dna) for the DHT has a [validation function](#validation-function) that checks the validity of the membrane proof; if agents validating the membrane proof determine that it's invalid, they can refuse to communicate with the new agent. This is the [immune system's](#immune-system) first line of defense against malicious actors.
597597

598+
#### Memproof
599+
600+
See [membrane proof](#membrane-proof).
601+
598602
#### Metadata
599603

600604
Supplementary data attached to a [base](#base) in a [DHT](#distributed-hash-table-dht). Metadata can be one of:

0 commit comments

Comments
 (0)