TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Daisy: A private blockchain where blocks are SQLite databases, in Go

105 pointsby syncopatealmost 8 years ago

12 comments

egypturnashalmost 8 years ago
Everything abut this feels like the most terrible idea ever, but in such a <i>fascinating</i> way. It&#x27;s beautiful.
评论 #14551535 未加载
runeksalmost 8 years ago
What&#x27;s the point of using a blockchain in this way?<p>Bitcoin&#x27;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&#x27;s also valid). So it needs to be a sequential list of blocks, where each new block references the previous one.<p>But I can&#x27;t see why this is useful when a) proof-of-work isn&#x27;t used and b) blocks are separate databases. Why not just have one, big database and accept commits into this if they&#x27;re signed with the expected private keys?
评论 #14552432 未加载
评论 #14552742 未加载
cl0rksteralmost 8 years ago
From what I read, any holder of a private key that is accepted as authoritative can add data to the chain at will and without restriction. The consensus algorithm would then allow that user to rewrite the entirety of the blockchain at will from the point their key was trusted forward by simply creating a longer chain at no cost. What am I missing?
评论 #14553255 未加载
oeveralmost 8 years ago
Government employ working on publishing government documents here. This looks very interesting. What if a private key is leaked (by accident or on purpose)? It would be good to have multiple branches of government sign the published documents.<p>Is there a small tutorial on how to quickly set this up for demo and evaluation?
oelmekkialmost 8 years ago
There is something I don&#x27;t get about the databases distributed : they are read&#x2F;write, and their data is not part of what is distributed in p2p, is that right? It seems to be what means &quot;Block payloads are SQLite database files. Except for special metadata tables, their content is not enforced&quot;.<p>If that&#x27;s so, what is the purpose of distributing blank sqlite databases (with exception of blockchain keys metadata)? Also, how is it p2p distributed if several users may have the sqlite databases in different state (and thus, different sqlite files)?
评论 #14551813 未加载
评论 #14551105 未加载
b34ralmost 8 years ago
I feel like people are actively trying to mash up technologies just because. No real benefit, just toy projects.
评论 #14552517 未加载
kejalmost 8 years ago
This looks interesting, but I feel like it&#x27;s conflating two equally interesting ideas, &quot;what if only certain nodes could make new blocks&quot; and &quot;what if the blocks had some kind of structured data&quot;.<p>I think moving those into two separate but compatible projects might help both of them take off.
评论 #14550008 未加载
oelmekkialmost 8 years ago
Thinking twice about it, there is something exciting here about the concept.<p>Of all databases, sqlite has this special interest : it&#x27;s the perfect tool to be embedded as local database in clients.<p>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.<p>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.<p>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.
评论 #14555550 未加载
misterdataalmost 8 years ago
Why store a database file in each block when you could also store transactions? This is what Catena does: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14548174" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14548174</a>. Also allows for some interesting things you can do with privileges, for instance.
rakooalmost 8 years ago
I don&#x27;t understand. The added value of a blockchain compared to a simple distributed store is that peers who don&#x27;t want to trust each other need to get to an agreement. All the examples look like they can be solved with a standard distributed store like a set of couchDB instances where no deletion can happen.
spookyactoralmost 8 years ago
If a blockchain is a public ledger, what is a private blockchain?
评论 #14551071 未加载
评论 #14551572 未加载
mirekrusinalmost 8 years ago
What&#x27;s the difference&#x2F;benefits from, for example, having a feed to stream pgp signed data where signature is for the current and previous message for example?
评论 #14552436 未加载