TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

105 点作者 syncopate将近 8 年前

12 条评论

egypturnash将近 8 年前
Everything abut this feels like the most terrible idea ever, but in such a <i>fascinating</i> way. It&#x27;s beautiful.
评论 #14551535 未加载
runeks将近 8 年前
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 未加载
cl0rkster将近 8 年前
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 未加载
oever将近 8 年前
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?
oelmekki将近 8 年前
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 未加载
b34r将近 8 年前
I feel like people are actively trying to mash up technologies just because. No real benefit, just toy projects.
评论 #14552517 未加载
kej将近 8 年前
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 未加载
oelmekki将近 8 年前
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 未加载
misterdata将近 8 年前
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.
rakoo将近 8 年前
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.
spookyactor将近 8 年前
If a blockchain is a public ledger, what is a private blockchain?
评论 #14551071 未加载
评论 #14551572 未加载
mirekrusin将近 8 年前
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 未加载