|
|
|
@ -8,20 +8,20 @@ CLI for large objects in small blocks
@@ -8,20 +8,20 @@ CLI for large objects in small blocks
|
|
|
|
|
|
|
|
|
|
### put |
|
|
|
|
|
|
|
|
|
export FS object to blockchain namespace |
|
|
|
|
export FS object to blockchain |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
php kevacoin/put.php processor filename [length] [delay] |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
* `processor` - path to `kevacoin-cli` |
|
|
|
|
* `filename` - local file path to store in blockchain |
|
|
|
|
* `filename` - local file path to store |
|
|
|
|
* `length` - optional split size, `3072` bytes [max](https://kevacoin.org/faq.html) |
|
|
|
|
* `delay` - optional seconds of parts sending delay to prevent `too-long-mempool-chain` reject, default `60` |
|
|
|
|
|
|
|
|
|
### get |
|
|
|
|
|
|
|
|
|
import namespace to FS location |
|
|
|
|
import from blockchain to FS location |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
php kevacoin/get.php processor namespace [destination] |
|
|
|
@ -29,4 +29,4 @@ php kevacoin/get.php processor namespace [destination]
@@ -29,4 +29,4 @@ php kevacoin/get.php processor namespace [destination]
|
|
|
|
|
|
|
|
|
|
* `processor` - path to `kevacoin-cli` |
|
|
|
|
* `namespace` - hash received from the `put` command |
|
|
|
|
* `destination` - optional file system location, `data/import` by default |
|
|
|
|
* `destination` - optional FS location, `data/import` by default |