Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
common
doc
Commits
338eb7f1
Commit
338eb7f1
authored
7 years ago
by
nanocryk
Browse files
Options
Downloads
Patches
Plain Diff
typo
parent
51eff74d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!6
WIP: RFC 5 : New Scalable Blockchain Protocol
This commit is part of merge request
!6
. Comments created here will be created in the context of that merge request.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rfc/0005 Duniter Protocol Rework.md
+6
-6
6 additions, 6 deletions
rfc/0005 Duniter Protocol Rework.md
with
6 additions
and
6 deletions
rfc/0005 Duniter Protocol Rework.md
+
6
−
6
Edit
View file @
338eb7f1
...
@@ -42,15 +42,15 @@ They are stored as raw bytes arrays and should be displayed in hexadecimal forma
...
@@ -42,15 +42,15 @@ They are stored as raw bytes arrays and should be displayed in hexadecimal forma
### 1.3. Bases
### 1.3. Bases
Some specific data is stored or displayed using
specific
bases :
Some specific data is stored or displayed using
these
bases :
-
Base58 (
D
isplay) : Mainly used for
public
keys, it avoids using close looking
-
Base58 (
for d
isplay) : Mainly used for keys, it avoids using close looking
characters and allow whole content selection with double-clicking.
characters and allow whole content selection with double-clicking.
The alphabet is
`123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz`
.
The alphabet is
`123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz`
.
-
Base64 (
D
isplay) : Data format used for non
error-prone
data such as signatures.
-
Base64 (
for d
isplay) : Data format used for non
user-friendly
data such as signatures.
The alphabet is
`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`
.
The alphabet is
`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`
.
-
Name64 (
S
torage) : Allow to store names in a more compact way that raw ASCII/UTF-8 text.
-
Name64 (
for s
torage) : Allow to store names in a more compact way that raw ASCII/UTF-8 text.
Each character is stored on 6bits, and remove any invalid
or non displayable
characters.
Each character is stored on 6bits, and remove any invalid characters.
The alphabet is
`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-`
.
The alphabet is
`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-`
.
### 1.4. Bytes alignments
### 1.4. Bytes alignments
...
@@ -61,7 +61,7 @@ blocks and padding be used if alignement is not directly possible.
...
@@ -61,7 +61,7 @@ blocks and padding be used if alignement is not directly possible.
### 1.5. Block identifiers
### 1.5. Block identifiers
Each block is indexed b
u
its
**block ID**
stored as a
*4 bytes unsigned integer*
.
Each block is indexed b
y
its
**block ID**
stored as a
*4 bytes unsigned integer*
.
The
***genesis block***
*ID*
is
`0`
, and each following block have a
*block ID*
incremented by
`1`
.
The
***genesis block***
*ID*
is
`0`
, and each following block have a
*block ID*
incremented by
`1`
.
To refeer a
*block*
, we use it's
**blockstamp**
made of its
*block ID*
and its
*hash*
. The
*blockstamp*
To refeer a
*block*
, we use it's
**blockstamp**
made of its
*block ID*
and its
*hash*
. The
*blockstamp*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment