Giter Club home page Giter Club logo

aviondb-specs's Issues

Deterministic database syncing among the peers using single hash

As discussed with @vaultec81, we have the following issue with OrbitDB, which leaves peers out of sync, even if they think they are in sync.

If a node that hasn't synced all the data or cannot connect to the network will view a different database state. If that same node is hooked into a blockchain where any Dapp operations require the data to be the same across all nodes.

Here is a related issue discussion, but not totally aligned with this issue.

We are expecting a PR related to this issue in the upcoming release of OrbitDB (possibly 0.24.1).

This is an on going discussion. Feedback is welcomed.

Refine access control support

IpfsDB uses OrbitDB at its core, which uses AccessController class by default, for access control. It also allows you to extend the AccessController class, allowing you access control using anything ranging from authenticating with Metmask, DIDs, etc., to calling any APIs to validate access.

Currently, we have following in our mind:

  • IpfsDB will have 1 default access control, which will be extended from the AccessController class. The design goal for this default access control is to provide interoperability across multiple contexts.
    For that, we're thinking to introduce access control using multiple DIDs by default, but it's still an ongoing discussion.

  • Apart from a default access control, IpfsDB also provides several pre-implemented access control models that suit specific use-cases. We're open to discussing possible use-cases and access control models.

  • Also, at last, we will also expose the OrbitDB's access controller implementation, so that you can still extend it, in cases that are not covered with the provided access controller options.

So, the aim here is to keep and extend the OrbitDB AC model, provide some interoperable ACs out-of-the-box, and also expose the same OrbitDB AC implementation, so that you don't lose the flexibility.

Feel free to add your suggestions, concerns, etc. Go crazy!

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.