From 2284a95c13b799b3541884a55b56729e8ebd9d73 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Mon, 24 Feb 2020 23:17:35 +0100 Subject: [PATCH] [DEWIF] add currency code --- rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md b/rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md index d98560b..bb1611b 100644 --- a/rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md +++ b/rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md @@ -36,8 +36,16 @@ This base64 string encodes a sequence of bytes whose structure is defined below. ## 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 -- GitLab