nitowa 1 місяць тому
джерело
коміт
3f03d14f80
1 змінених файлів з 2 додано та 2 видалено
  1. 2
    2
      README.md

+ 2
- 2
README.md Переглянути файл

@@ -2,13 +2,13 @@
2 2
 
3 3
 The story of this project begins with the appearance of [indImm](https://ndm-inf.github.io/ndm/main) in 2019. This tool allows users to upload files to the Ripple blockchain and then to view or download them via a web interface. The project stirred quite some [controversy](https://cryptocoindaddy.com/indimm-lets-you-upload-any-file-to-ripple-blockchain/) and was subsequently abandoned soon after.
4 4
 
5
-indImm fascinated me with its creative use of the blockchain, but disappointed with its slow speed, making it effectively useless as file storage. For illustration compare the time it takes to download a [2.5KB file](https://ndm-inf.github.io/ndm/viewFile/5C997A591A335A20CE7FCC5228946DA6364CFADFF86EB0A2AAA6A93DEB58B809-49108230) vs a [1MB file](https://ndm-inf.github.io/ndm/viewFile/1C3C9071FB02DAF7563A887BDBB6938B269913975362BB2A75AE853093923A16-49105849). Also compare how quickly it loads with this library [1MB file](https://caisar.github.io/cat/)
5
+indImm fascinated me with its creative use of the blockchain, but disappointed with its slow speed, making it effectively useless as file storage. For illustration compare the time it takes to download a [2.5KB file](https://ndm-inf.github.io/ndm/viewFile/5C997A591A335A20CE7FCC5228946DA6364CFADFF86EB0A2AAA6A93DEB58B809-49108230) vs a [1MB file](https://ndm-inf.github.io/ndm/viewFile/1C3C9071FB02DAF7563A887BDBB6938B269913975362BB2A75AE853093923A16-49105849). 
6 6
 
7 7
 ## xrpIO and making things fast
8 8
 
9 9
 Mostly out of curiosity I set out to replicate and improve what indImm started. The corresponding library, [xrpIO](https://www.npmjs.com/package/xrpio), is today available as [open source](https://gitea.nitowa.xyz/npm-packages/xrpio) project under the MIT license.
10 10
 
11
-The watercooler pitch for xrpIO is quite simple: Since XRP transactions allow for up to 1kB of arbitrary data to be attached via a memo field, I can effectively write 1kB chunks of data to the Ripple blockchain by sending myself minimum-denominated payments. While the downloads in indImm evidently showed linear speed (hinting at a list-like implementation), xrpIO stores the hash-pointers as tree, increasing the speed by several magnitues.
11
+The watercooler pitch for xrpIO is quite simple: Since XRP transactions allow for up to 1kB of arbitrary data to be attached via a memo field, I can effectively write 1kB chunks of data to the Ripple blockchain by sending myself minimum-denominated payments. While the downloads in indImm evidently showed linear speed (hinting at a list-like implementation), xrpIO stores the hash-pointers as tree, increasing the speed by several magnitues. Compare how quickly the same [1MB file from before](https://caisar.github.io/cat/) loads when using this library. (Please be aware that the download may randomly get stuck or fail if the public Ripple node is overloaded. Running a local node is trivial, **greatly** increases speed and completely avoids this issue but does not yield comparable results with IndImm)
12 12
 
13 13
 ![xrpIO treewrite](https://i.imgur.com/G2HofSE.gif)
14 14
 

Завантаження…
Відмінити
Зберегти