Skip to content

immutable or mutable? #3

Closed
Closed
@jbenet

Description

@jbenet

@travisperson (without looking at the code on #2 yet)

  • is this a blob store where i can do put(k, v) and v = get(k) (that is backed by a merkledag), or one where i do obj = get(ipfsPath)?

  • One thing i'd be looking for is a read only blob store to the ipfs dag. (maybe thats why the test suite doesn't pass? mutability?)

  • Maybe a mutable version can use an ipns key? something like:

    var ipnsBlobStore = require('ipns-blob-store')
    var pivateKey = getMyPrivateKey(...)
    
    var ibs = ipnsBlobStore(privateKey) // instance based on name at hash(publicKey)
    ibs.put(k, v)
    v = ibs.get(k)
  • I wonder if the immutable ipfs only blob store is enough for pulling things out for reginabox? cc @bengl

/me takes a look at #2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions