Using prefixes of the base32 of external hashes instead of full internal hashes

pmeunier
Jul 4, 2021, 6:54 PM
VPENMXMZHLOUBEGORNOWABULOWC3AOOEWTL4RB25735CJL7MI36QC

Dependencies

  • [2] YN63NUZO Sanakirja 1.0
  • [3] H23LO7U7 a few more clippy lints addressed
  • [4] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [5] NLGQAH4H Credit and reset relative to current directory instead of the root
  • [6] GHO6DWPI Refactoring iterators
  • [7] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [8] I52XSRUH Massive cleanup, and simplification

Change contents

  • replacement in pijul/src/commands/credit.rs at line 78
    [3.180581][3.180581:180613]()
    changes: HashSet<ChangeId>,
    [3.180581]
    [3.180613]
    changes: HashSet<Hash>,
  • replacement in pijul/src/commands/credit.rs at line 120
    [3.18546][2.13694:13750]()
    self.changes.insert(e.introduced_by());
    [3.18546]
    [3.181626]
    if let Ok(Some(intro)) = self.txn.get_external(&e.introduced_by()) {
    self.changes.insert(intro.into());
    }
  • edit in pijul/src/commands/credit.rs at line 130
    [3.181806]
    [3.181806]
    let c = c.to_base32();
  • replacement in pijul/src/commands/credit.rs at line 135
    [3.181940][3.181940:181974]()
    c.to_base32()
    [3.181940]
    [3.181974]
    c.split_at(12).0,