diff --git a/rfc/0010_Duniter_Blockchain_Protocol_V12.md b/rfc/0010_Duniter_Blockchain_Protocol_V12.md index 46f41d040ab2bee22e06a34e88bbfb44d7bd5d8d..f169f41c3fcf07bbe43260988eaa9ac9dbfb6fa6 100644 --- a/rfc/0010_Duniter_Blockchain_Protocol_V12.md +++ b/rfc/0010_Duniter_Blockchain_Protocol_V12.md @@ -2171,8 +2171,14 @@ For each ENTRY in local MINDEX where `op = 'UPDATE', expired_on = 0`: For each ENTRY in local MINDEX where `type == 'JOIN' OR type == 'ACTIVE'`: +If `HEAD.version >= 12` + + ENTRY.enoughCerts = COUNT(UNIQ(CONCAT(PICK(GLOBAL_CINDEX[receiver=ENTRY.pub,expired_on=null], 'issuer'), PICK(LOCAL_CINDEX[receiver=ENTRY.pub,expired_on=null]], 'issuer')))) >= sigQty + +else + ENTRY.enoughCerts = COUNT(GLOBAL_CINDEX[receiver=ENTRY.pub,expired_on=null]) + COUNT(LOCAL_CINDEX[receiver=ENTRY.pub,expired_on=null]) >= sigQty - + > Functionally: any member or newcomer needs `[sigQty]` certifications coming *to* him to be in the WoT For each ENTRY in local MINDEX where `!(type == 'JOIN' OR type == 'ACTIVE')`: