WIP: WS2P v2
Compare changes
- Éloïs authored
+ 61
− 61
@@ -18,6 +18,12 @@ We are also taking advantage of these changes to address minor issues :
@@ -44,12 +50,56 @@ We are also taking advantage of these changes to address minor issues :
Historically, this process was managed by the BMA crawler, but since the arrival of WS2P v1 the BMA crawler is no longer in service, and we keep its code only for `sync` command. So for maintainability reasons, it is necessary to migrate this process outside the BMA crawler, then delete the BMA crawler code.
Finally, shared peer cards have a big drawback: a peer cannot prune obsolete endpoints of other peer sharing the same key because it cannot easily evaluate if these other endpoints are obsolete. In absolute terms, it is possible to bypass problems but it is simpler to directly delete shared peer records, and as we no longer need them: Occam's razor.
@@ -210,7 +260,7 @@ The interpretation of this field depends on the API because it represents API-sp
@@ -258,6 +308,8 @@ Same endpoint in binary format :
@@ -315,8 +367,6 @@ Initially, Duniter is totally endpoint agnostic and don't know any node.
@@ -379,7 +429,7 @@ flags_queries := See "WS2PFlags type definition" below.
@@ -419,7 +469,7 @@ challenge_sig := Signature of the challenge given by the other node.
@@ -699,53 +749,3 @@ All WS2Pv2 documents are necessarily in RBF (Rust Binary Format). When document
Historically, this process was managed by the BMA crawler, but since the arrival of WS2P v1 the BMA crawler is no longer in service, and we keep its code only for `sync` command. So for maintainability reasons, it is necessary to migrate this process outside the BMA crawler, then delete the BMA crawler code.
Finally, shared peer cards have a big drawback: a peer cannot prune obsolete endpoints of other peer sharing the same key because it cannot easily evaluate if these other endpoints are obsolete. In absolute terms, it is possible to bypass problems but it is simpler to directly delete shared peer records, and as we no longer need them: Occam's razor.