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

1 year ago
# clitor
1 year ago
1 year ago
Keep large objects in small blocks
1 year ago
## drivers
* [x] [kevacoin](https://github.com/kevacoin-project/kevacoin)
### put
1 year ago
export FS object to blockchain
1 year ago
```
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
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
1 year ago
import from blockchain to FS location
1 year ago
```
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
1 year ago
* `destination` - optional FS location, `data/import` by default