Skip to content
Snippets Groups Projects
Closed CINDEX revert removes certifications
  • View options
  • CINDEX revert removes certifications

  • View options
  • Closed Issue created by Cédric Moreau

    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

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first