From 98ec818eb685d442aeaab77ac8a6f220720de2a8 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 4 Jun 2024 13:03:52 +0300 Subject: [PATCH] update readme --- README.md | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 08d9a95..0dff0a8 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,13 @@ CLI tools for KevaCoin -### put +### docs -export FS object to blockchain +* [protocol specification](https://clitor-is-protocol.github.io) -#### logic +### put -* create separated namespace with file basename as `_KEVA_NS_` -* append protocol version as `_CLITOR_IS_` -* encode file content to base64 string -* split encoded string to `3072` byte pieces -* save pieces as indexed record values +export FS object to blockchain #### example @@ -30,10 +26,6 @@ php src/put.php processor filename [delay] check (validate) existing namespace and fix missed FS pieces in blockchain -#### logic - -similar to the [put](#put) logic but using namespace provided as the additional argument - #### example ``` @@ -51,12 +43,6 @@ php src/fix.php processor namespace filename [delay] import stored object from blockchain to FS location -#### logic - -* check namespace for `_CLITOR_IS_` record -* merge indexed records to base64 string -* decode merged string to original file and save to FS - #### example ```