vault backup: 2023-11-10 11:55:55

This commit is contained in:
Alice 2023-11-10 11:55:55 +00:00
parent b511d7f8a7
commit b3a6cdf38c
2 changed files with 5 additions and 2 deletions

View file

@ -39,6 +39,9 @@ sig Hash {}
pred insert[n : Node] {
always n in ( Bucket.head + Bucket.head.prox)
always n in Bucket.head or n in Node.prox
//if hash empty -> node to head of bucket
n.key.hash not in Hash implies
(