-
Notifications
You must be signed in to change notification settings - Fork 1.2k
cli block get accidently mutates binary data #897
Comments
Did you manage it is on block get or block put? You should be able to cat the block after block put directly from the repo. |
pulling over bitswap |
block is stored in parity's db, so |
yup
|
compare to
|
We probably shouldn't be writing that That is why you see a difference between console.log and process.stdout.write, the first always writes a new line char |
ah interesting, not what i was expecting
|
if we like the newline, we could always check if the process isTTY or not, and only append the newline if it is |
Let's continue to track this at #900. |
BREAKING CHANGE: the `ipfs-api` library has been renamed to `ipfs-http-client`. Now install via `npm install ipfs-http-client`. Note that in the browser build the object attached to `window` is now `window.IpfsHttpClient`. License: MIT Signed-off-by: Alan Shaw <[email protected]>
seems
ipfs block get
is mutating the data a bit https://gist.github.com./kumavis/e454a7ea2e9b9520e66bc5ef3e739744notice the last two bytes
The text was updated successfully, but these errors were encountered: