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
835 B

1 year ago
# clitor
1 year 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]
1 year ago
```
* `processor` - path to `kevacoin-cli`
1 year ago
* `filename` - local file path to store in blockchain
1 year ago
* `length` - optional split size, `3072` bytes [max](https://kevacoin.org/faq.html)
1 year ago
* `delay` - optional seconds of parts sending delay to prevent `too-long-mempool-chain` reject, default `60`
1 year ago
### get
import namespace to FS location
```
php kevacoin/get.php processor namespace [destination]
1 year ago
```
* `processor` - path to `kevacoin-cli`
1 year ago
* `namespace` - hash received from the `put` command
* `destination` - optional file system location, `data/import` by default