Skip to content

Commit

Permalink
terminology: kernel -> core
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Mar 8, 2024
1 parent 64cf41b commit 8ac4113
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docs/src/architecture/p2p-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ as they occur.

## Understanding Freenet Peers

A Freenet peer refers to a computer that runs the Freenet kernel software and
A Freenet peer refers to a computer that runs the Freenet core software and
participates in the network. The organization of peers follows a ring structure,
where each position on the ring represents a numerical value ranging from 0.0 to
1.0. This value signifies the peer's location within the network.

## Establishing Neighbor Connections

Each Freenet peer, or kernel, establishes bi-directional connections with a
Each Freenet peer, or core, establishes bi-directional connections with a
group of other peers known as its "neighbors." These connections rely on the
User Datagram Protocol (UDP) and may involve techniques to traverse firewalls
when required.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ language for writing contracts.
#### The `ContractInterface` Trait

Rust contracts implement the `ContractInterface` trait, which defines the
functions that the kernel calls to interact with the contract. This trait is
functions that the core calls to interact with the contract. This trait is
defined in the
[freenet-stdlib](https://github.com/freenet/freenet-core/blob/main/stdlib/rust/src/contract_interface.rs#L424).

Expand Down
4 changes: 2 additions & 2 deletions docs/src/components/delegates.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
In Freenet, Delegates act like advanced representatives, similar to a human
delegate, performing actions on Freenet on your behalf. Think of them as a more
sophisticated version of a web browser's local storage, with similarities to
Unix "Daemons". Operating within the Freenet kernel on your device, Delegates
Unix "Daemons". Operating within the Freenet core on your device, Delegates
are a secure and flexible mechanism for managing private data, such as
cryptographic keys, tokens, and passwords, and executing complex tasks.

Expand All @@ -22,7 +22,7 @@ Delegates utilize a message passing system similar to the [actor
model](https://en.wikipedia.org/wiki/Actor_model) to interact with Contracts,
other Delegates, and Applications.

The Freenet kernel makes sure that for any incoming message, whether it's from
The Freenet core makes sure that for any incoming message, whether it's from
another Delegate, a User Interface, or a Contract update, the receiver knows who
the sender is. This allows delegates to verify the behavior of any component
they interact with, and decide if they can be trusted.
Expand Down
6 changes: 3 additions & 3 deletions docs/src/components/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ the P2P network via contracts.

![Architectural Primitives Diagram](components.svg)

## Freenet Kernel
## Freenet Core

The Freenet Kernel is the software that enables a user's computer to connect to
The Freenet Core is the software that enables a user's computer to connect to
the Freenet network. Its primary functions are:

* Providing a user-friendly interface to access Freenet via a web browser
Expand All @@ -20,6 +20,6 @@ the Freenet network. Its primary functions are:
network
* Manage communication between contracts, delegates, and UI components

Built with Rust, the kernel is designed to be compact (ideally under 5 MB),
Built with Rust, the core is designed to be compact (ideally under 5 MB),
efficient, and capable of running on a variety of devices such as smartphones,
desktop computers, and embedded devices.
2 changes: 1 addition & 1 deletion docs/src/components/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ will download the Gmail user interface which then runs in their browser and conn

On Freenet the user interface is downloaded from a Freenet contract, and it
[interacts](overview.md) with contracts and delegates by sending messages
through the Freenet kernel.
through the Freenet core.

![Delegate, Contrat, and UI Diagram](ui_delegate_contract.svg)

Expand Down
4 changes: 2 additions & 2 deletions docs/src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Freenet is a distributed, decentralized alternative to the centralized World
Wide Web, designed to unleash a new era of innovation and competition, while
protecting freedom of speech and privacy.

At the core of Freenet is the Freenet kernel, which runs on users' computers,
smartphones, or other devices. The kernel is tiny, less than 5 MB, allowing it
At the core of Freenet is the Freenet core, which runs on users' computers,
smartphones, or other devices. The core is tiny, less than 5 MB, allowing it
to be installed in a matter of seconds and is compatible with a wide range of
hardware.

Expand Down

0 comments on commit 8ac4113

Please sign in to comment.