DUNITER V2 in english

Machine translation with deepl.

Communication plan

When will you be informed of the project's progress?

  1. October : Why change?

  2. November - December : what will change

  3. January : what won't change
    and how it will happen

  4. February : satellite software : discovering, testing and using


Why change?

1/ Disadvantages of V1

The initial disadvantages are most obvious to developers:

  • The main reason motivating this migration: Difficulties in maintaining Duniter V1 (fixing bugs and making improvements).

  • Security issues,

    • Duniter can easily be blocked (network saturation attack).
    • All member accounts are potentially forgerons1, yet some are easily hackable, which would allow an attacker to potentially compromise the entire blockchain.
  • Requirement for blacksmiths to manually resynchronise to keep things running.

  • Risk of fork* if the blacksmiths do not update Duniter quickly in the event of a bug fix.

*Click here to find out : What is a fork

A fork is when two nodes calculate the same block at the same time, resulting in 2 versions of the same block, and therefore 2 versions of the blockchain to follow.
A fork can resolve itself, without any loss of data (this is normal when the nodes are up to date),
It can be resolved with a loss of data, which is quite common in V1 (when there are problems with synchronisation or updating nodes).
It may not resolve automatically, resulting in a split in the blockchain (some users do not see the same thing as others).
If the fork is not resolved (automatically or manually) this can lead to a split in the community.
More details in French by following these links:
https://journalducoin.com/lexique/fork/\
https://www.coinbase.com/fr/learn/crypto-basics/what-is-a-fork\
https://fr.cryptonews.com/exclusives/c-est-quoi-un-fork-5803.htm

All users have already noted other disadvantages:

* Slow execution.
  • Long time to display transactions

  • Between 5 and 10 min for a transaction to be processed, 30 minutes for it to be validated

  • Pool synchronisation problems1: Different views from one node to another, as no node has a global view of the pools.

  • Transactions or certifications that do not go through.

  • Certifications that disappear.

  • Difficulty getting new certifiers in (synchronisation problems between certifiers to have 5 certifiers available at the same time)2.

2/ Advantages of v2

  • Easy maintenance and updates for developers

  • Automatic updates without a fork for blacksmiths
    (the possibility of refusing an update will still exist, but it will be voluntary and no longer due to forgetfulness).

  • One block every 6 seconds

    • Transaction validated in 30 seconds
    • Significantly improved response time
  • Faster and more reliable node synchronisation

  • Certifications validated immediately (no pools)

  • Easier entry for new certifiers (no need for synchronisation between the first 5 certifiers)

3/ Evolution of software, not money

The software is constantly evolving, and to date we are on version 1.8.7 of Duniter, and 1.7.13 of Cesium.
These upgrades have been made in such a way as to remain compatible with previous versions, and have always passed without a problem.

Version 2 is still open source software, and is a new blockchain that will start with all the data from the Ğ1 V1 blockchain at the time of the switchover (accounts, transactions, certifications, etc.).
All your Ğ1s, certifications and transactions will still be there .

*Cesium+ data (profiles, messaging, notifications, etc.) is currently being processed, and may not be available from the start-up date!*

A new blockchain requires new software (Césium 2, Gecko, Tikka, G1nkgo 2, ....).

It will not be possible to trade between two different blockchains, so after the switchover date you will need to have installed the new version of the software to continue trading ğ1 with the rest of the community.

To make sure you don't miss out on this changeover, stay tuned to this site, the forum and the social networks!

Double-sided flyer to share

Click on the image to enlarge


translated by @jooam

translated by @jooam

Developments (what will change for users)

1/ New software

In order to be able to continue exchanging with the other junists, it is essential that they all change version as soon as they connect for the first time after the V2 blockchain is launched.
  • Cesium The most widely used software will offer its V2 version. There are no plans to switch to Duniter V2 before this software is ready.
  • Gecko for smartphone payments is ready, with a few adjustments.
  • Tikka, a computer-based accounting software for professionals, is currently under development.
  • Ğ1nko a wallet to facilitate transactions in G-markets. Version 2 may be ready for migration.
  • Ğ1superbot will also have a version for Duniter V2.
  • Duniter-Connect, a browser extension enabling transfers to be made from any site, is evolving as Duniter develops.
  • Ğcli The command-line client (for technicians), similar to Silkaj, is also evolving as Duniter develops.
  • ...

2/ New form of Public Keys

With the new Duniter V2 blockchain, what we call public keys will change their encoding. So your public key will no longer look like the one you know. You'll probably have to reprint your QR-code for those who printed it.

We'll be talking about addresses rather than keys, they'll all start with ‘g1...’, so use the end of the address rather than the beginning, to recognise your account.

In Duniter v2, we will be encouraging the use of an address rather than a simple public key. Using an address avoids mistakes such as copying and using a key on the wrong network.

To assist you, for accounts created before the update, Cesium2 will display the old ‘public key’ as a reminder. The same applies to G1nkgo, which will display this old key.


3/ Existential deposit

In blockchain v1, accounts with less than 1 Ğ1 disappear without the user being notified (currency destruction).
In blockchain v2, it will be impossible to go below 1 Ğ1 without explicitly requesting that the account be closed.


4/ Disappearance of waiting times at pools

  • Certifications will be taken into account immediately, whether the certified person is waiting for other certifications or not.
  • The 5-day period between two certifications must be respected because DuniterV2 only allows one certification every 5 days.
  • Some clients (such as Césium) may offer to add your certification intentions to an ‘address book’ (not yet developed).

5/ Membership process (to become a co-creator of currency)

  • New accounts will be simple portfolio accounts only.
  • You must have a few Ğ1 to start the certification process. It will therefore be impossible to certify an account with zero ğ1
  • The first certification constitutes an invitation to become a member (no need to apply for membership).
  • Acceptance of the invitation requires the new member to choose a nickname within 48 hours (this period is subject to change).
  • Once the nickname has been registered, the following certifications are possible.
  • When the account has 5 certifications that comply with the distance rule, it becomes a co-creator of currency.
  • No need to synchronise for certifications (you won't be able to certify if you're not available).
  • The two-month deadline for obtaining the first five certifications meeting the distance rule will still apply. (The length of the deadline may change)
  • If the deadlines are exceeded, the certifier will recover his certification from his stock of certifications to be issued.

6/ New, more secure accounts

Authentication by secret identifier and password is not sufficiently secure for a currency (your banks now require double authentication).

  1. The old accounts, with secret login and password, will still be usable with Césium, as before the V2 switchover.
  2. New accounts will be created using a 12-word mnemonic. These 12 words should be kept carefully out of sight, as they will enable you to retrieve your accounts on other devices or other portfolio management software (Cesium, Gecko, Tikka, etc.).
  3. Several accounts can be created using the same mnemonic (this is known as a ‘trunk’). A trunk can contain several accounts or just one.
  4. Once the trunk has been created, a code of 4 or 5 letters or numbers will suffice to access all the accounts in the trunk as long as you use the same device.
  5. An account created with a mnemonic will be usable on Cesium, Gecko Tikka, Gcli and probably other software.

6 bis / Migration to a more secure account

Only for those who want it .

  1. Gecko is designed to work only with accounts created by mnemonic, for security reasons. For other software, nothing definitive yet.
  2. Gecko offers to ‘migrate’ your old accounts (id/mdp) to a new account that you have created with a mnemonic.
  3. This can allow you to group all your accounts in a single safe deposit box, which is easier to use.
  4. Migration of a member account means transferring your identity with nickname, certifications, whether or not you are a member, and ğ1.
  5. Migration of a single wallet account, is simply a transfer of all ğ1.
  6. Once migrated, the new account (with mnemonic) will be usable for all your transactions whatever the portfolio management software (Césium, Gecko, Tikka, Gcli) and the old account will only be an empty portfolio.
  7. The old account can still be used like any other portfolio. But this would defeat the purpose of having migrated it.

7/ Fees and quotas

The capacity of a blockchain is not infinite.

A blockchain needs computing power and storage space. Although both are substantial, they are not unlimited. One possible attack is to saturate the computing power by sending billions of transactions per second.
Other blockchains charge a fee for each action to discourage this saturation of computing and storage space.

But Ğ1 is not like the others.

1- Fees will only be charged if the blockchain is overloaded.

  • A total number of actions (transactions, certifications, membership, etc.) per block has been assessed as the limit for ‘normal ’ operation. Beyond this limit the blockchain is considered to be saturated**.
  • It is only if the number of shares in a block exceeds this limit that fees are levied. Fees estimated at approximately 0.015 DUĞ1, or 17 Ğ1 per 100 transactions.

2- In addition, the fees will be reimbursed to all members of the web of trust (this is the strength of our Blockchain)

  • A quota of actions per member and per block is defined (still allowing many transactions)
  • Non-member accounts may be linked to a member account and also be reimbursed for their fees, up to the limit of the quota per member.
  • A member can make a single transaction, but if, at the same time, someone initiates 1 million transactions on 1 million accounts, the blockchain will be saturated, so that member will be charged fees.
  • Then it will be refunded because it does not exceed the quota per member.
  • If it is a member and their linked accounts that initiate hundreds of transactions resulting in saturation, that member will only be reimbursed on their first transactions, subsequent ones being above the quota.
  • If a member initiates hundreds of transactions even beyond the quota per member but is alone in making transactions at that time, it can pass without saturating the blockchain, so no fees.
  • However, there is no refund possible in the event of account closure!
  • There will be no refunds for anonymous accounts.

It is unlikely that such an attack would be launched, as it would lead to the attacker's ruin, for a temporary blockage. These costs are therefore a deterrent.

More information in French on the technical forum


8/ Blacksmiths sub-web

Today, any member can install a node and forge blocks, which leads to some update and synchronisation faults as well as security problems, as some users are unaware of the security flaws in their installation and ‘forget’ to update.

With Duniter V2, only members of the blacksmiths subnet will be able to forge blocks.
Anyone can still run a mirror node that doesn't write blocks but responds to client requests.
As the forger nodes focus on calculating and writing blocks, they will no longer respond to client requests.
All the nodes communicate with each other almost instantaneously.

Blacksmith certifications will have to comply with a blacksmith licence which ensures a good level of security, among other things having already been running a mirror node correctly for some time, being able to keep your server open 24/7 and having a good internet connection.
Members of this sub-net do not necessarily need to know each other or see each other physically, as they must first be members of the Co-Creators' Web of Trust.

To be part of this forger sub-web from the start, you need to run a node before switching to gdev or gtest (the currencies used to test version 2 before starting up).

A documentation explaining how to install a node and become a Blacksmith in V2 is currently being written and will be communicated as soon as it is completed.

Current smiths are invited, if interested, to try installing Duniter V2, to see how it works, detect any installation problems and help write the ‘becoming a blacksmith’ documentation.

It is/will be possible to use Yunohost or Docker images.

More information in French on the technical forum


9/ Future features

New features may be implemented after the launch of Duniter V2, if developers are available to work on them.

  • Automatic transfers
  • Delegate authority over an account
  • Multiple signature accounts
  • Identity-linked portfolio accounts
  • Right to be forgotten (deleting comments?)
  • Possibility of setting up votes!
  • And more, depending on your imagination...
Author

Maaltir by Collectif MàJ-V2, validated by hugotrentesaux, bgallois, Moul, Tuxmain

Double-sided flyer to share

Click on the image to enlarge


translated by @Jooam

translated by @Jooam

What's not going to change


  1. a blacksmith is a member of the TDC (Trusted Web) who has downloaded the Duniter software onto his device (computer or other), which becomes a server (or node) to run the June.
  2. Knowing that member certifications come before those of applicants, a future member will have to wait until the others have passed before being certified.

À propos

La monnaie libre est portée par un collectif d’êtres humains, elle ne dépend d’aucune organisation "officielle".
De nombreux collectifs et autres sites sur la monnaie libre existent pour en parler…
Bien que francophone, ce site se veut compréhensible et utile pour le plus grand nombre.
Il est possible de rencontrer les contributeurs de ce site lors des événements monnaie libre et discuter avec eux sur les 2 forums historiques afin de contribuer vous aussi.

Encouragez les développeurs

Participez au financement en Ğ1 !
DUĞ1
Montant collecté en 3 mois
0
Donneurs