Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtDoublePirServer.BuildHint

procedure BuildHint;
Recomputes both levels of hint from the current tables, bumps the version and clears the written mark. There is no smaller unit of rebuilding: see the note on the hint having no row a server can push.

IT ALSO TAKES THE DIGEST, here and not on first read, for the reason SimplePIR's BuildHint gives at length: a digest taken on first read is over the hint as it stands at that moment, so a write through the Hint property made before anyone read it lands in both the hint a client downloads and the stamp it is checked against, where it cancels. Taking it here fixes which hint it is over. This unit has no UpdateHintRow, so here it is the ONLY moment the digest can change and reading HintDigest never computes anything. 'the stamp a BuildHint leaves is the stamp of the hint it BUILT, although nothing had read it when the hint was written through'.