IPFS 分布式文件系统 IPFS

xuanbao2015-01-27 16:00:00 • 12727 次点击    
这是一个分享于 2015-01-27 16:00:00 的项目,其中的信息可能已经有所发展或是发生改变。

IPFS 是分布式文件系统,寻求连接所有计算机设备的相同文件系统。在某些方面,这很类似于原始的 Web 目标,但是 IPFS 最终会更像单个比特流群交换的 git 对象。

IPFS = InterPlanetary File System

IPFS 云成为一个新的,重要的网络子系统,如果构建得当,那么可以完善或者替换 HTTP,或者说可以完善或者替代更多,听起来很疯狂,但是确实很疯狂!

IPFS 结合了 Git,BitTorrent,Kademlia,SFS 和 Web 的优势,提供跟 HTTP web 一样简单的接口。

IPFS 分为 3 个代码库:

* github.com/ipfs/ipfs - IPFS 规范

* github.com/ipfs/go-ipfs - Go 实现

* github.com/protocol/ipfs-webui - Web 工作台

使用:

USAGE:

    ipfs - global p2p merkle-dag filesystem

    ipfs [<flags>] <command> [<arg>] ...

    BASIC COMMANDS

        init          Initialize ipfs local configuration
        add <path>    Add an object to ipfs
        cat <ref>     Show ipfs object data
        get <ref>     Download ipfs objects
        ls <ref>      List links from an object
        refs <ref>    List hashes of links from an object

    DATA STRUCTURE COMMANDS

        block         Interact with raw blocks in the datastore
        object        Interact with raw dag nodes
        file          Interact with Unix filesystem objects

    ADVANCED COMMANDS

        daemon        Start a long-running daemon process
        mount         Mount an ipfs read-only mountpoint
        resolve       Resolve any type of name
        name          Publish or resolve IPNS names
        dns           Resolve DNS links
        pin           Pin objects to local storage
        repo gc       Garbage collect unpinned objects

    NETWORK COMMANDS

        id            Show info about ipfs peers
        bootstrap     Add or remove bootstrap peers
        swarm         Manage connections to the p2p network
        dht           Query the dht for values or peers
        ping          Measure the latency of a connection
        diag          Print diagnostics

    TOOL COMMANDS

        config        Manage configuration
        version       Show ipfs version information
        update        Download and apply go-ipfs updates
        commands      List all available commands

    Use 'ipfs <command> --help' to learn more about each command.
Latest commit to the undefined branch on unknown
Download as zip
授权协议:
MIT
开发语言:
Google Go 查看源码»
操作系统:
跨平台
12727 次点击  
加入收藏 微博
2 回复  |  直到
wfgfa
wfgfa · #1 · 7年之前

谁知道这个怎么挖矿?之前我看比特币和以太坊是拼算力,这个我们作为一般小白级别的拼不过呀,IPFS这个比较适合平民级别的?有没有类似成品矿机购买?我看网上最近星际比特蜂鸟H1预售呢,比较便宜,1999,另外,星际节点、玛雅矿机也都预售了,。星际节点4500,我看性价比也不高,懂的谁来讲讲怎么买矿机。。。

hubwiz
hubwiz · #2 · 7年之前

用区块链、星际文件系统(IPFS)、Node.js和MongoDB来构建以太坊DApp电商平台: http://xc.hubwiz.com/course/5abbb7acc02e6b6a59171dd6/?affid=20180427studygolang

添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传