Currently we keep a CID log, meaning, for every change we make, we store the root CID in an append-only local array. Based on this log we determine if the file system is ahead or behind. Now that we have versioning we can replace this with a better system. See https://whitepaper.fission.codes/file-system/file-system-basics/head-synchronization
Currently we keep a CID log, meaning, for every change we make, we store the root CID in an append-only local array. Based on this log we determine if the file system is ahead or behind. Now that we have versioning we can replace this with a better system. See https://whitepaper.fission.codes/file-system/file-system-basics/head-synchronization