Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.15 KB

README.md

File metadata and controls

58 lines (36 loc) · 1.15 KB

kevacoin-cli

CLI tools for KevaCoin

about

documentation

put

export FS object to blockchain

example
php src/put.php processor filename [delay]
arguments
  1. processor - path to kevacoin-cli
  2. filename - path to source file
  3. delay - optional delay in seconds for pieces pool to prevent too-long-mempool-chain reject, default 60

fix

check (validate) existing namespace and fix missed FS pieces in blockchain

example
php src/fix.php processor namespace filename [delay]
arguments
  1. processor - path to kevacoin-cli
  2. namespace - hash of namespace where object was stored
  3. filename - path to source file
  4. delay - optional delay in seconds for pieces pool to prevent too-long-mempool-chain reject, default 60

get

import stored object from blockchain to FS location

example
php src/get.php processor namespace [filename]
arguments
  1. processor - path to kevacoin-cli
  2. namespace - hash of namespace where object was stored
  3. filename - path to the file