User Tools

Site Tools


examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
examples [2019/06/21 13:36]
xor
examples [2019/06/21 14:56] (current)
xor [Share an existing file]
Line 11: Line 11:
   - Advertise your new block with [[commands#​ba_blocksaction|blocks action command]] ''​ba a''​.   - Advertise your new block with [[commands#​ba_blocksaction|blocks action command]] ''​ba a''​.
   - [[commands#​lf_listfiles|List your local blockchain]] ''​lf l''​.   - [[commands#​lf_listfiles|List your local blockchain]] ''​lf l''​.
 +
 +===== Download a file =====
 +
 +  * [[commands#​lf_listfiles|List]] available files with ''​lf r''​.
 +<​code>​
 +Root pubkeyhash: 114b48af17746fba6e2f996f97c0d72656eacf72300788d41fd5cf529b0ffd74
 + ​| ​                                                        ​Filecode |        Size | Dec | Fin | Filename | 
 + | 234bb63c83f40c00052c3eb5a5dbb818a221d91fc01fa94a0877bb2f724d13bd |      1024kB |  No |  No |  |
 + | e8d690d9ebf229740d2bebab36c47d36538402d307750de51fff8506a4acbc42 |      1024kB |  No |  No |  |
 +
 +</​code>​
 +  * Create new [[commands#​ja_jobadd|job]] with ''​ja filehash''​.
 +<​code>​
 +ja e8d690d9ebf229740d2bebab36c47d36538402d307750de51fff8506a4acbc42
 +</​code>​
 +  * Show current [[commands#​js_jobshow|jobs]] with ''​js''​.
 +<​code>​
 +| File | Size | Chunks | Counter| Decryptable |
 +| e8d690d9ebf229740d2bebab36c47d36538402d307750de51fff8506a4acbc42 |       ​1024kB |     3 | 0/0/0/3 | No |
 +</​code>​
 +  * If you posses a private key necessary to decrypt a downloaded file, [[commands#​jf_jobfinalize|finalize]] it with ''​jf filehash''​. If finalized successfully,​ file is stored to [[config#​finalized_directory|directory]].
 +<​code>​
 +jf e8d690d9ebf229740d2bebab36c47d36538402d307750de51fff8506a4acbc42
 +</​code>​
  
 ===== Share an existing file ===== ===== Share an existing file =====
 +
 +  - Once you download a file, you can [[commands#​ts_tshare|share it by creating a transaction]] despite your inability to decrypt it with as ''​ts filehash''​.
 +  - When all transactions are added, start [[commands#​bm_bmine|mining a block]] with ''​bm''​ command. This appends block to your local blockchain.
 +  - Advertise your new block with [[commands#​ba_blocksaction|blocks action command]] ''​ba a''​.
  
examples.1561117019.txt.gz ยท Last modified: 2019/06/21 13:36 by xor