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.

58 lines
1.1 KiB

# kevacoin-cli
12 months ago
5 months ago
CLI tools for KevaCoin
12 months ago
5 months ago
### about
12 months ago
5 months ago
* [protocol specification](https://clitor-is-protocol.github.io)
12 months ago
5 months ago
### documentation
#### put
5 months ago
5 months ago
export FS object to blockchain
5 months ago
5 months ago
##### example
5 months ago
12 months ago
```
5 months ago
php src/put.php processor filename [delay]
12 months ago
```
5 months ago
##### arguments
5 months ago
1. `processor` - path to `kevacoin-cli`
2. `filename` - path to source file
3. `delay` - _optional_ delay in seconds for pieces pool to prevent `too-long-mempool-chain` reject, default `60`
12 months ago
5 months ago
#### fix
11 months ago
5 months ago
check (validate) existing namespace and fix missed FS pieces in blockchain
5 months ago
5 months ago
##### example
11 months ago
```
5 months ago
php src/fix.php processor namespace filename [delay]
11 months ago
```
5 months ago
##### arguments
5 months ago
1. `processor` - path to `kevacoin-cli`
2. `namespace` - hash of namespace where object was stored
3. `filename` - path to source file
4. `delay` - _optional_ delay in seconds for pieces pool to prevent `too-long-mempool-chain` reject, default `60`
11 months ago
5 months ago
#### get
12 months ago
5 months ago
import stored object from blockchain to FS location
5 months ago
##### example
12 months ago
```
5 months ago
php src/get.php processor namespace [filename]
12 months ago
```
5 months ago
##### arguments
5 months ago
1. `processor` - path to `kevacoin-cli`
2. `namespace` - hash of namespace where object was stored
3. `filename` - path to the file