-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1261 from ACStoneCL/feat-1.5.0
Rebasing `feat-1.5.0` from `dev`
- Loading branch information
Showing
93 changed files
with
6,897 additions
and
7,455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 7 additions & 6 deletions
13
source/docs/casper/about.md → source/docs/casper/concepts/about.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
--- | ||
id: welcome | ||
title: Welcome | ||
title: What is Casper? | ||
slug: / | ||
--- | ||
|
||
## What is Casper? {#what-is-casper} | ||
|
||
Casper is a new [Turing-complete](./concepts/glossary/T.md#turing-complete-blockchain) smart-contracting platform, backed by a Proof-of-Stake (PoS) consensus algorithm and WebAssembly (Wasm). The network is a [permissionless](./concepts/glossary/P.md#permissionless), decentralized, public blockchain. | ||
Casper is a new [Turing-complete](../concepts/glossary/T.md#turing-complete-blockchain) smart-contracting platform, backed by a Proof-of-Stake (PoS) consensus algorithm and WebAssembly (Wasm). The network is a [permissionless](../concepts/glossary/P.md#permissionless), decentralized, public blockchain. | ||
|
||
The network's consensus protocol is called [Highway](https://arxiv.org/pdf/2101.02159.pdf), and it has several benefits over classic Byzantine Fault Tolerant (BFT) consensus protocols. First, Highway allows networks to reach higher thresholds of _finality_, meaning that more blocks are finalized, and validators agree to add them to the blockchain. Second, the protocol achieves flexibility by expressing block finality in ways not possible in BFT models. This protocol is built on the [correct-by-construction (CBC) Casper](https://github.com/cbc-casper/cbc-casper-paper) research. | ||
|
||
Additionally, the Casper Network is optimized for enterprise and developer adoption. While leveraging blockchain technology, the network seeks to accelerate business operations via unique features like predictable network fees, upgradeable contracts, on-chain governance, privacy flexibility, and developer-friendly languages. Casper's [core features and strengths](./resources/build-on-casper.md) enable developers and enterprises to reap the benefits of blockchain technology. | ||
Additionally, the Casper Network is optimized for enterprise and developer adoption. While leveraging blockchain technology, the network seeks to accelerate business operations via unique features like predictable network fees, upgradeable contracts, on-chain governance, privacy flexibility, and developer-friendly languages. Casper's [core features and strengths](../resources/build-on-casper.md) enable developers and enterprises to reap the benefits of blockchain technology. | ||
|
||
Casper also solves the scalability trilemma. Notably, the network is optimized for security, decentralization, and high throughput. All this is achieved while evolving to provide leading solutions for open-source projects and enterprises. | ||
|
||
## How does Casper work? {#how-does-casper-work} | ||
|
||
Casper relies on a group of validators to verify transactions and uphold the network. Unlike Proof-of-Work networks, which need to centralize validators for economies of scale, Casper allows for the geographical decentralization of validators. Casper validators verify transactions based on staked tokens and receive CSPR rewards for participating in the PoS consensus mechanism. CSPR is the native token on the Casper Network. | ||
|
||
To understand the design further, read [this article](../concepts/design/casper-design.md). | ||
|
||
## Other Sections | ||
## Disclaimer | ||
|
||
- [Disclaimer](./disclaimer.md): Legal Disclaimer | ||
Read the [Legal Disclaimer](../disclaimer.md) regarding this CasperLabs Tech Spec (this "Whitepaper"). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: Deploys and the Deploy Lifecycle | ||
title: Deploy Lifecycle | ||
slug: /deploy-and-deploy-lifecycle | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Highway Consensus | ||
--- | ||
|
||
# The Highway Consensus Protocol | ||
|
||
## What is Consensus? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,11 @@ | ||
--- | ||
title: Introduction | ||
title: Overview | ||
slug: /design | ||
--- | ||
|
||
# Design | ||
|
||
- [Network Communication](./p2p.md) | ||
- [Identity](./p2p.md#identity) | ||
- [Inter-node connections](./p2p.md#inter-node-connections) | ||
- [Network](./p2p.md#network) | ||
- [Gossiping](./p2p.md#communications-gossiping) | ||
- [Requesting missing data](./p2p.md#requesting-missing-data) | ||
- [Node Discovery](./p2p.md#node-discovery) | ||
- [Execution Semantics](./casper-design.md#execution-semantics-head) | ||
- [Measuring computational work](./casper-design.md#execution-semantics-gas) | ||
- [Deploys](./casper-design.md#execution-semantics-deploys) | ||
- [The Casper Network runtime](./casper-design.md#execution-semantics-runtime) | ||
- [Accounts](./casper-design.md#accounts-head) | ||
- [Creating an account](./casper-design.md#accounts-creating) | ||
- [Permissions model](./casper-design.md#accounts-permissions) | ||
- [The account context](./casper-design.md#accounts-context) | ||
- [Unforgeable Reference (URef)](./casper-design.md##uref-head) | ||
- [Permissions for URefs](./casper-design.md#uref-permissions) | ||
- [Block Structure](./casper-design.md#block-structure-data) | ||
- [Data fields](./casper-design.md#block-structure-data) | ||
- [Tokens](./casper-design.md#tokens-head) | ||
- [Token Generation and Distribution](./casper-design.md#token-generation-and-distribution) | ||
- [Divisibility of Tokens](./casper-design.md#tokens-divisibility) | ||
- [Purses and Accounts](./casper-design.md#tokens-purses-and-accounts) | ||
- [Serialization Standard](../serialization-standard.md) | ||
- [Block](../serialization-standard.md#serialization-standard-block) | ||
- [Deploy](../serialization-standard.md#serialization-standard-deploy) | ||
- [Values](../serialization-standard.md#serialization-standard-values) | ||
- [Keys](../serialization-standard.md#serialization-standard-state-keys) | ||
- [Permissions](../serialization-standard.md#serialization-standard-permissions) | ||
| Topic | Description | | ||
| ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | ||
| [Network Design](./casper-design.md) | Overview of execution semantics, account permissions, URefs, block structure, tokens, and more | | ||
| [Network Communication](./p2p.md) | Peer-to-peer communication for Casper nodes | | ||
| [Highway Consensus](./highway.md) | Brief overview of the Highway Consensus mechanism used in Casper networks | | ||
| [Reading and Writing Data to Global State](./reading-and-writing-to-the-blockchain.md) | Storing and reading data from the blockchain | |
6 changes: 5 additions & 1 deletion
6
source/docs/casper/concepts/design/reading-and-writing-to-the-blockchain.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: Runtime Economics | ||
title: Runtime | ||
slug: /runtime | ||
--- | ||
|
||
|
4 changes: 4 additions & 0 deletions
4
...ocs/casper/concepts/economics/concepts.md → ...er/concepts/economics/staking/concepts.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.