Running Bitcoin on IPFS #15907

issue tsujp opened this issue on April 27, 2019
  1. tsujp commented at 7:03 AM on April 27, 2019: none

    Has anyone tried this? What is the performance like compared to a local SSD filesystem formatted in ext4 or XFS? What is the performance like compared to a NFS solution like LizardFS?

  2. terorie commented at 12:41 AM on April 28, 2019: none

    What exactly are you trying to achieve and why?

    IPFS is not a file system despite the name. It's "a peer-to-peer hypermedia protocol" for accessing files over the network. It's useless and inevitably slower for just storing the data (blocks and chainstate) locally.

    It's an interesting technology for accessing blockchain data over the network, though. The naive approach, sharing Bitcoin's LevelDB files on IPFS UnixFS (e.g. "uploading" the Bitcoin folder in the WebUI), isn't very useful.

    By using IPLD however, one could directly traverse the Bitcoin blockchain over IPFS in its binary format even using the same hashes as on Bitcoin (albeit with prefixes) to address content. It's a nice technology that could be used to (partially) replace the inv mechanism used to share Bitcoin data peer-to-peer.

    Here's an example of an Ethereum block accessed over IPFS. It seems like Bitcoin bindings also exist. https://github.com/ipld/js-ipld-bitcoin <img width="942" alt="Ethereum/IPFS" src="https://user-images.githubusercontent.com/21371810/56856592-43fce400-695e-11e9-92d3-171c5a11b9a6.png">

    Read more at https://github.com/ipfs/ipfs/issues/263

  3. MarcoFalke commented at 1:29 PM on April 28, 2019: member

    Usually the issue tracker is used to track technical issues related to the Bitcoin Core code base. Keep in mind that general bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange.

  4. MarcoFalke closed this on Apr 28, 2019

  5. MarcoFalke locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-03 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me