CLI tools for KevaCoin blockchain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
829 B

10 months ago
# clitor
10 months ago
CLI util to operate with large objects in small blocks size
## drivers
* [x] [kevacoin](https://github.com/kevacoin-project/kevacoin)
### put
export FS object to blockchain namespace
```
php kevacoin/put.php processor filename [length] [delay]
10 months ago
```
10 months ago
* `processor` - path to `kevacoin-cli`
10 months ago
* `filename` - file path to store in blockchain
10 months ago
* `length` - optional split size, `3072` bytes [max](https://kevacoin.org/faq.html)
10 months ago
* `delay` - optional seconds of parts sending delay to prevent `too-long-mempool-chain` reject, default `60`
10 months ago
### get
import namespace to FS location
```
10 months ago
php kevacoin/get.php processor namespace [destination]
10 months ago
```
10 months ago
* `processor` - path to `kevacoin-cli`
10 months ago
* `namespace` - hash received from the `put` command
* `destination` - optional file system location, `data/import` by default