A file set by filename should be create by the BlockFile before it can be used as a DARTFile
Ditto for fingerprint
Loads the branches from the DART at rim_path
Close the DARTFile
Dumps the dart as rim-path
Wrapper function for the modify function.
Create indet string a rim_level
Reads the data at branch key
Loads all the archives in the list of fingerprints
Wrapper function for the modify function.
key[0] | key[1] | key[2] | key[3] | key[4] | ||
---|---|---|---|---|---|---|
rim | 00 | 01 | 02 | 03 | 04 | .... |
20 | A3 | 33 | B1 | 17 | -> archive fingerprint=20_A3_33_B1_17.... | |
** | ** | ** | ** | 42 | -> archive fingerprint=20_A3_33_B1_42.... | |
** | ** | 57 | B1 | 17 | -> archive fingerprint=20_A3_57_B1_17.... | |
** | ** | ** | ** | 42 | -> archive fingerprint=20_A3_57_B1_42.... | |
** | ** | C2 | -> archive fingerprint=20_A3_C3.... | |||
** | ** | CA | 48 | -> archive fingerprint=20_A3_CA_48.... | ||
** | ** | ** | 68 | -> archive fingerprint=20_A3_CA_48.... |
Sector=[key[0],key[1]] <br> ### Note ** means the same value as above The first two rims is set the sector and the following is rims represents the key index into the Branches incices The modifyrecords contains the archives which is going to be added or deleted The type of archive tells which actions are going to be performed by the modifier If the function executes successfully then the DART is updated or else it does not affect the DART The function returns the bullseye of the dart
Creates a recorder factor
Creates a recorder from a document using the RecorderFactory used by the DART
Ditto
A range which traverse the branches below the rim_paths The range build as a Fiber.
Data struct which contains the branches in sub-tree
DART File system Distributed Archive of Random Transaction This class handles the CRUD Database
The archive is hashed and store in structure similar to merkle trees datastruct. Which here is called at sparsed merkle tree the sparse merkle is section in to rims in hierarchy which is where each rim contains a sub-tree called Branches. If a rim Doesn't branches out it contains a Leave which contains a Archive