Giter VIP home page Giter VIP logo

Comments (5)

jbenet avatar jbenet commented on May 27, 2024

Yep! Individual ledgers are described in IPFS today are not meant to be transferred at all, or be secure accounts of value exchanged. This is why no ledgers are exchanged, you only generate them locally, and they're meant for rough estimates of mutually profitable peering agreements. (as you said, you can trust yourself)

Think of BitSwap for now as generalized BitTorrent. Sybills that extract a little bit of traffic are similar to legitimate new users or leeching users. (i.e. want to avoid supporting them, but need a way to still provide good service to new users). As hinted at in the paper (mention of currencies), the plan is to support complex bitswap strategies, including cryptocurrency exchanges for data, and more secure ledgers (potentially using distributed consensus systems). Note that BitSwap nodes are free to set their own strategy, whatever that may be. The one offered is simply a good base. It needs lots of work though, I'd like to have something as optimal as PropShare.

I do not want to require any distributed consensus for BitSwap ledgers, because a critical point of IPFS is to be able to work in entirely p2p environments, including nodes that are temporarily (or permanently) disconnected from the majority of the internet. BitSwap sets up simple rules for exchange of data, upon which you can layer more sophisticated trade strategies, like the use of currencies.

In general, BitSwap is the part of IPFS that could be improved the most. There's lots of room in the design space. :)

from ipfs.

jbenet avatar jbenet commented on May 27, 2024

Oh and, safer NodeID generation is potentially a good way to handle lots of this. S/Kad PoW isn't really sybil-safe (just heightens the bar). Other DHTs have proposed the use of social nets (Whanau, etc). Stake based currencies are also interesting.

from ipfs.

mappum avatar mappum commented on May 27, 2024

Has this been changed since you wrote the IPFS paper then, or am I just misunderstanding? From the paper: "When activating a connection, BitSwap nodes exchange their ledger information."

Thanks for clearing this up. :)

from ipfs.

jbenet avatar jbenet commented on May 27, 2024

Oh, they exchange it to verify they match (this could just be sending a
hash to each other, there was another reason before but that was removed a
long time ago)

On Mon, Aug 25, 2014 at 3:08 PM, Matt Bell [email protected] wrote:

Has this been changed since you wrote the IPFS paper then, or am I just
misunderstanding? From the paper: "When activating a connection, BitSwap
nodes exchange their ledger information."

Thanks for clearing this up. :)


Reply to this email directly or view it on GitHub
#26 (comment).

from ipfs.

mappum avatar mappum commented on May 27, 2024

Ah, then I interpreted that incorrectly. Thanks :)

from ipfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.