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
f8d252c8
Commit
f8d252c8
authored
5 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[DEWIF] add currency code
parent
0a3300fb
Branches
dewif
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
+10
-2
10 additions, 2 deletions
rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
with
10 additions
and
2 deletions
rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
+
10
−
2
View file @
f8d252c8
...
@@ -36,8 +36,16 @@ This base64 string encodes a sequence of bytes whose structure is defined below.
...
@@ -36,8 +36,16 @@ This base64 string encodes a sequence of bytes whose structure is defined below.
## dewif bytes structure
## dewif bytes structure
| version (4 bytes) | encrypted datas (any bytes) |
| version (4 bytes) | currency code (4 bytes) | encrypted datas (any bytes) |
|:-----------------:|:---------------------------:|
|:-----------------:|:-----------------------:|:---------------------------:|
## Currencies code
| Currency | code |
|:---------|:-----------|
| None | 0x00000000 |
| Ğ1 | 0x00000001 |
| Ğ1-Test | 0x01000001 |
## encrypted datas
## encrypted datas
...
...
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