Hacker News new | ask | show | jobs
by apo 2925 days ago
A blockchain is a digital and distributed ledger of transactions, recorded and replicated in real time across a network of computers or nodes (figure 1). Every transaction must be cryptographically validated via a consensus mechanism executed by the nodes before being permanently added as a new “block” at the end of the “chain.” There is no need for a central authority to approve the transaction, which is why blockchain is sometimes referred to as a peer-to-peer trustless mechanism.

I see this kind of explanation a lot. It's misleading at best. A block chain is most definitely not a ledger, as is claimed by too many sources to count.

A block chain is a tool allowing a group of users to produce a single, unique transaction log.

To this end, transactions are grouped into blocks. A block references two pieces of information: (1) its ordered list of transactions; and (2) its parent block. Two or more blocks may claim the same block as a parent. Therefore, a collection of blocks can be assembled into a tree with one or more children pointing to a parent.

Each user maintains its own copy of the tree. All paths through the tree are followed and scored. The path with the highest score is designated as the active chain.

The active chain is what many people think of when they use the term "Blockchain."

However, the structure of this chain is mostly boring and unremarkable. The most interesting thing about it are transactions. Like blocks, transactions link together. Additionally, transactions run programs that induce global state changes.

The secret sauce of "Blockchain" boils down to incentivizing each user to choose the same active chain in an adversarial environment. The best-tested procedure uses "proof-of-work."

If the relative order of events plays an important part in what you're trying to do, and you operate in an adversarial environment, then a block chain might help.

Otherwise, there's not much a block chain can do for you.

5 comments

I thought a ledger was a transaction log. It was in relation to a ledger I first came by the term transaction (or “trans”).
You might be thinking of a "journal":

Journals and ledgers are where business transactions are recorded in an accounting system. In essence, detail-level information for individual transactions is stored in one of several possible journals, while the information in the journals is then summarized and transferred (or posted) to a ledger. The posting process may take place quite frequently, or could be as infrequent as the end of each reporting period. The information in the ledger is the highest level of information aggregation, from which trial balances and financial statements are produced.

https://www.accountingtools.com/articles/what-is-the-differe...

A ledger can be created from a journal (transaction log), but then again, many other kinds of things can be created from a transaction log (e.g., the "World Computer" idea for Ethereum).

Ah a journal is more like a block. It is transaction with several line items.

This is then transferred into the ledger which is just a list of transactions. Exactly like a blockchain

Why is the distinction between "ledger" and "transaction log" important? Are there technical definitions for the terms in this context that make the terms not interchangeable?
I believe a ledger is the account balances that are computed from a transaction log. So a block on the Bitcoin network is a collection of transactions, whereas a block on the Stellar network is a ledger of the account balances for all "accounts" on the Stellar network.
Each user maintains its own copy of the tree. All paths through the tree are followed and scored. The path with the highest score is designated as the active chain.

The active chain is what many people think of when they use the term "Blockchain."

This is where many people falter when thinking about blockchain. When you tell them that their esoteric blockchain needs to ensure lowest possible latency between peers (nodes), they blank out. They had never heard of the terms fork or the highest amount of work (at least if the chain is secured via PoW).

Well, isn't that what a ledger is, a transaction log?
The "recorded and replicated in real time across a network" thingie really stands out