fairDataSociety / fds.js

Ethereum Web3 Stack SDK Prototype
GNU Lesser General Public License v3.0
19 stars 13 forks source link

OPEN concept, too much for one issue #26

Open tfius opened 5 years ago

tfius commented 5 years ago

we have to change concept how we retrieve data what we have for example messages

  1. get senders count, get senders by index
  2. retrieve messages by sender
  3. make feeds as swarmblockchain(tm) first x (100) available, (previous) old at hash location of previous message
  4. get messages newer than timestamp but less than blocksize time

basically what we need to do, is make a data feel like a node in graph, now we have data as object(file) what we need to do is change perspective from start, it's a node that contains whatever

link to parents and children if we talk trees, or if we talk graphs, we need a dictionary of edges

since dateModified get changed each time data is requested, we need to add dateCreated to manifest

as dateModified is changed each time file is requested, we can use this once we do ringSignatures or we do simple check when consent expired