Browse Source

update locations

main
ghost 12 months ago
parent
commit
8b545b65e3
  1. 8
      README.md
  2. 2
      kevacoin/get.php
  3. 0
      kevacoin/put.php

8
README.md

@ -11,10 +11,10 @@ CLI util to operate with large objects in small blocks size
export FS object to blockchain namespace export FS object to blockchain namespace
``` ```
php driver/put.php processor filename [length] php kevacoin/put.php processor filename [length]
``` ```
* `processor` - path to kevacoin-cli * `processor` - path to `kevacoin-cli`
* `filename` - file path to store in blockchain * `filename` - file path to store in blockchain
* `length` - optional split size, 3072 bytes [max](https://kevacoin.org/faq.html) * `length` - optional split size, 3072 bytes [max](https://kevacoin.org/faq.html)
@ -23,9 +23,9 @@ php driver/put.php processor filename [length]
import namespace to FS location import namespace to FS location
``` ```
php driver/get.php processor namespace [destination] php kevacoin/get.php processor namespace [destination]
``` ```
* `processor` - path to kevacoin-cli * `processor` - path to `kevacoin-cli`
* `namespace` - hash received from the `put` command * `namespace` - hash received from the `put` command
* `destination` - optional file system location, `data/import` by default * `destination` - optional file system location, `data/import` by default

2
drivers/kevacoin/get.php → kevacoin/get.php

@ -68,7 +68,7 @@ ksort($data);
// Save merged data to destination // Save merged data to destination
$filename = isset($argv[3]) ? $argv[3] : sprintf( $filename = isset($argv[3]) ? $argv[3] : sprintf(
'%s/../../data/import/kevacoin.%s.%s', '%s/../data/import/kevacoin.%s.%s',
__DIR__, __DIR__,
$argv[2], $argv[2],
$names[array_key_first($names)] $names[array_key_first($names)]

0
drivers/kevacoin/put.php → kevacoin/put.php

Loading…
Cancel
Save