Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
radicle: fault tolerant thresholds
Merged fintohaps opened 2 years ago

There are two areas where we can be more tolerant of delegate namespaces being missing or not validating:

  1. Calculating the canonical HEAD
  2. Fetching from a remote

In 1. the protocol is tolerant in that if the local node does not have the default branch for a delegate, it will still attempt to use any of the delegates it does have to reach the threshold.

This is made safe by ensuring that if the threshold is being updated then the node performing the update must have a threshold of delegates locally in their storage. It also made safe by 2.

In 2. the protocol is tolerant by allowing delegates to be missing from the serving side, as long as they can still meet a threshold of delegates. This is further tolerant, when validating the received data, a threshold of delegates are valid to consider the fetch successful – otherwise it will fail.

fintohaps opened with revision 323fd006 on base 081af033 +501 -136 2 years ago

There are two areas where we can be more tolerant of delegate namespaces being missing or not validating:

  1. Calculating the canonical HEAD
  2. Fetching from a remote

In 1. the protocol is tolerant in that if the local node does not have the default branch for a delegate, it will still attempt to use any of the delegates it does have to reach the threshold.

This is made safe by ensuring that if the threshold is being updated then the node performing the update must have a threshold of delegates locally in their storage. It also made safe by 2.

In 2. the protocol is tolerant by allowing delegates to be missing from the serving side, as long as they can still meet a threshold of delegates. This is further tolerant, when validating the received data, a threshold of delegates are valid to consider the fetch successful – otherwise it will fail.

fintohaps pushed revision 2 a1d605a0 on base 2b9a0142 +512 -164 2 years ago

Changes:

  • rebased on latest
  • fix documentation
  • fix error naming and display message
  • rename warnings/failures to validations
did:key:z6MksFqX...wzpT pushed revision 3 a396a941 on base 7e13e075 +512 -164 2 years ago

Rebase.

did:key:z6MksFqX...wzpT merged revision a396a941 at cd9b46fe 2 years ago