Is there a small tutorial on how to quickly set this up for demo and evaluation?
Daisy: A private blockchain where blocks are SQLite databases, in Go
11–20 of 31 posts
Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#12Of all databases, sqlite has this special interest : it's the perfect tool to be embedded as local database in clients.
Now, if we consider that blockchain is a new p2p effort to build decentralized softwares, putting sqlite on a blockchain makes a lot of sense : this is a mean to distribute data for decentralized apps.
It also makes sense in an era where data mining becomes a thing on its own, and not just as part of a software stack.
Now, this is clearly not a drop in for our usual database on our server (where latency and concurrent writing is the topmost concern, two points which are blockchains weak points - and sqlite weakpoints), but there is certainly something to explore there.
Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#13Everything abut this feels like the most terrible idea ever, but in such a fascinating way. It's beautiful.
Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#14If a blockchain is a public ledger, what is a private blockchain?
All in all, it in many ways mitigates the need for trust between the systems participants, just like what is the purpose of the block chain in the case of for example bitcoins.
Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#15Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#16There is something I don't get about the databases distributed : they are read/write, and their data is not part of what is distributed in p2p, is that right? It seems to be what means "Block payloads are SQLite database files. Except for special metadata tables, their content is not enforced". If that's so, what is the purpose of distributing blank sqlite databases (with exception of blockchain keys metadata)? Also,…
I'm guessing that SQL databases were chosen to enable easy queries of structured data...
Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#17Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#18Bitcoin's blockchain is necessary because newer blocks need to inherit the proof-of-work done on previous blocks, since the correct chain will be the one with the most cumulative work in it (presuming it's also valid). So it needs to be a sequential list of blocks, where each new block references the previous one.
But I can't see why this is useful when a) proof-of-work isn't used and b) blocks are separate databases. Why not just have one, big database and accept commits into this if they're signed with the expected private keys?
Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#19Re: Daisy: A private blockchain where blocks are SQLite databases, in Go
#20What's the point of using a blockchain in this way? Bitcoin's blockchain is necessary because newer blocks need to inherit the proof-of-work done on previous blocks, since the correct chain will be the one with the most cumulative work in it (presuming it's also valid). So it needs to be a sequential list of blocks, where each new block references the previous one. But I can't see why this is useful when a) proof-of-…
I'd like to see a decentralised database that doesn't require downloading the entire dataset. It should be possible to implement index-only queries that don't need to do a full table scan and therefore could run entirely in a browser. The only problem is that having an index for every possible query means the indices require more data than the dataset itself.