From 7164f10355fcdc45d3be58bfcee2939937e01623 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 31 Jul 2018 22:46:21 -0700 Subject: backup more old notes --- notes/new_apis.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 notes/new_apis.md (limited to 'notes') diff --git a/notes/new_apis.md b/notes/new_apis.md new file mode 100644 index 0000000..9a683ee --- /dev/null +++ b/notes/new_apis.md @@ -0,0 +1,17 @@ + +## HOWTO: clone drive from scratch + +- create empty metadata register (on disk) from key (to ensure we can?) +- do discovery to find peers +- from first peer, discover data key +- create data register +- create drive from empty registers +- create synchronizer from all the above +- ... off it goes + +## HOWTO: sync existing drive + +- open the drive (on disk) +- create synchronizer from drive +- synchronizer does discovery of peers using metadata key (based on config) +- ... off it goes -- cgit v1.2.3