pub fn record(dir: &Path, claim: &Claim) -> Result<(), String>
A line added to the ledger and flushed to the disk before this returns: the claim exists before Android is asked to send.