Skip to content

CINDEX revert removes certifications

Here: https://git.duniter.org/nodes/typescript/duniter/blob/master/app/lib/dal/indexDAL/leveldb/LevelDBCindex.ts#L148-155

When a block containing certifications gets reverted, we always remove the link "issuer -> receiver" to say "this receiver is no more certified by issue".

However, this is not true when certifications are renewals of valid certifications (renewal before the 2 years validity). In such cas, Duniter acts like if the certification never existed for certifications counting.

Affects:

  • BR_G27: certifications counting when a membership IN is received A member with enough certs (5) may be rejected because some renewed certifications have been popped by a fork resolution
  • BR_G95: exclude members by default of certifications A member with enough certs (5) may be excluded because a fork resolution has popped renewed certifications
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information