Skip to content
Snippets Groups Projects
Commit 77abf3af authored by nanocryk's avatar nanocryk
Browse files

Block content

parent dfb771d9
No related branches found
No related tags found
1 merge request!6WIP: RFC 5 : New Scalable Blockchain Protocol
...@@ -29,6 +29,7 @@ and will allow to directly use it as documentation if changes are accepted and i ...@@ -29,6 +29,7 @@ and will allow to directly use it as documentation if changes are accepted and i
1. [Token proofs of existence](#4-token-proofs-of-existence) 1. [Token proofs of existence](#4-token-proofs-of-existence)
1. [Scripting language](#5-scripting-language) 1. [Scripting language](#5-scripting-language)
1. [Applications](#6-applications) 1. [Applications](#6-applications)
1. [Block content](#7-block-content)
## 1. Introduction ## 1. Introduction
...@@ -730,3 +731,20 @@ the Merkle root in the blockchain and the complete set of tokens on their websit ...@@ -730,3 +731,20 @@ the Merkle root in the blockchain and the complete set of tokens on their websit
use theses tokens and their proof (to the Merkle proof token provided in the transaction) in their use theses tokens and their proof (to the Merkle proof token provided in the transaction) in their
own script conditions without bloating the blockchains with thousands of individual tokens which may own script conditions without bloating the blockchains with thousands of individual tokens which may
never be used. never be used.
## 7. Block content
A block contains :
- The list of transactions
- The list of tokens read, consumed and created in these transactions
- The aggregated proof of all read and consumed tokens (the first root being this blockchain
previous block Merkle root, follow by additionnal trees related to *Merkle root tokens*)
- The list of tokens classes
- The list of class and instances scripts (and subscripts)
- The Merkle root of the new state.
> Nodes could communicate to tell each other what they already know, allowing to prune some data
> from the block like token classes, scripts, token or their proofs. Some scripts known as
> part of a "standard library" could never be included in blocks to limit their size, and could
> be fetched by new nodes, or directly included alongside the software.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment