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.

56 lines
1.1 KiB

# kevacoin-cli
10 months ago
4 months ago
CLI tools for KevaCoin
10 months ago
4 months ago
### docs
10 months ago
4 months ago
* [protocol specification](https://clitor-is-protocol.github.io)
10 months ago
4 months ago
### put
4 months ago
4 months ago
export FS object to blockchain
4 months ago
#### example
10 months ago
```
4 months ago
php src/put.php processor filename [delay]
10 months ago
```
4 months ago
#### arguments
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`
10 months ago
### fix
4 months ago
check (validate) existing namespace and fix missed FS pieces in blockchain
4 months ago
#### example
```
4 months ago
php src/fix.php processor namespace filename [delay]
```
4 months ago
#### arguments
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`
10 months ago
### get
4 months ago
import stored object from blockchain to FS location
#### example
10 months ago
```
4 months ago
php src/get.php processor namespace [filename]
10 months ago
```
4 months ago
#### arguments
1. `processor` - path to `kevacoin-cli`
2. `namespace` - hash of namespace where object was stored
3. `filename` - path to the file