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.

40 lines
995 B

# kevacoin-cli
10 months ago
CLI tools for KevaCoin blockchain
10 months ago
### put
10 months ago
export FS object to blockchain
10 months ago
```
php cli/put.php processor filename [length] [delay]
10 months ago
```
10 months ago
* `processor` - path to `kevacoin-cli`
10 months ago
* `filename` - local file path to store
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
### fix
check and fix FS object in blockchain
```
php cli/fix.php processor filename [delay]
```
* `processor` - path to `kevacoin-cli`
* `filename` - local file path to store
* `delay` - optional seconds of parts sending delay to prevent `too-long-mempool-chain` reject, default `60`
10 months ago
### get
10 months ago
import from blockchain to FS location
10 months ago
```
php cli/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
10 months ago
* `destination` - optional FS location, `data/import` by default