Restoring IPFS magic one alakazam at a time…no we’re not talking pokemon.
They grow up so fast 😿 #JS #IPFS 0.31 has been released into the wild with added connectivity magic dust 🧚 and support for raw leaves 🌿 in your DAGs. Just in time for the Decentralized Web Summit 2018! More info in the release issue https://t.co/QfVL7TrSte @IPFSbot #DWebSummit pic.twitter.com/Mv4RPvayA4
— Alan Shaw (@_alanshaw) July 29, 2018
🔦 Highlights
🧚 Connectivity Magic
Recent infrastructure changes to the nodes IPFS runs as gateways meant that they couldn’t be used as bootstrapper nodes. This was bad news bears for js-ipfs
since it doesn’t yet have a DHT to discover content. So not being able to connect to the nodes that have a lot of the content meant the chances of js-ipfs
finding content on the network took a turn for the worse.
Good news though! Brand new dedicated nodes have been provisioned that are connected to the gateway nodes and can be used by js-ipfs
to bootstrap itself as well as, get this, preload content you add to IPFS! That’s right, when you add stuff to your IPFS, the preload nodes are prompted to slerp it up automatically so that it can be shared instantly with other IPFS nodes on the network.
🌿 Raw Leaves
Raw leaves are much healthier for you because they don’t lose their vitamins during the cooking process. Seriously though. They’re great if you want to stream raw data (like video) out of your IPFS without the overhead of unpacking protobufs. They’re also useful when you need to put your data in a data store that only deals with raw data, like a URL.
We have these now! Just pass --raw-leaves=true
when adding content to IPFS and leaves of the DAG(s) you create will contain just the raw data.
🏗 API Changes
- A new configuration property
preload
has been added to the options provided to the IPFS constructor. Content added to IPFS using the following APIs will be automatically preloaded on a set of IPFS nodes. To lean more about how to configure this feature, check the IPFS constructor docs.dag.put
block.put
object.new
object.put
object.patch.*
files.add*
files.write
files.mv
files.cp
- The
--raw-leaves
option has been enabled forfiles.add
🙌🏽 Want to contribute?
Would you like to contribute to the IPFS project and don’t know how? Well, there are a few places you can get started:
- Check the issues with the
help wanted
label at the Ready column in our waffle board – https://waffle.io/ipfs/js-ipfs?label=help%20wanted - Join an IPFS All Hands, introduce yourself and let us know where you would like to contribute – https://github.com/ipfs/pm/#all-hands-call
- Hack with IPFS and show us what you made! The All Hands call is also the perfect venue for demos, join in and show us what you built
- Join the discussion at http://discuss.ipfs.io/ and help users finding their answers.
- Join the ⚡️ⒿⓈ Core Dev Team Weekly Sync 🙌🏽 and be part of the Sprint action!
⁉️ Do you have questions?
The best place to ask your questions about IPFS, how it works and what you can do with it is at discuss.ipfs.io. We are also available at the #ipfs channel on Freenode.
官方原文:https://blog.ipfs.io/42-js-ipfs-0-31
点对点科技简介
点对点科技深耘IPFS与Filecoin技术,坚持区块链技术改变未来的信念。点对点 IPFS 数据中心是目前国内技术领先,性价比高、保障优的投资标的。自建杭州数据中心,合作数据中心分布于上海、宁波、河北、香港、斯德哥尔摩(瑞典)等地。点对点数据中心具有优秀的硬件配置与目前国内优质的网络节点资源。点对点科技力求将IPFS爱好者升级为IPFS领军者与受益者,让IPFS颠覆传统互联网,共同开启 WEB 3.0时代。
想了解更多区块链知识吗?关注我吧!
原创文章,作者:点对点Tech,如若转载,请注明出处:http://ipfsdrop.com/offcial/ipfs/js-ipfs-0-31-0-released/