|
|
|
|
|
by jacques_chester
3082 days ago
|
|
As I understand it, bitcoin is a ledger scheme. There no "coins" per se. Which means it's very much like how banking works in practice: everyone keeps their own books and leaves the credits and debits on them. Real funds don't change hands all that often, it's easier just to keep the running tally if you trust your counterparty. Of course, trusting your counterparty requires you to know who they are, have stable addresses and so on. |
|
The simplest case is a unidirectional channel. To pay you a series of micropayments, I send a series of transactions with each one slightly larger, so each is the sum of all my payments. You can only submit one such transaction to the blockchain. I lock my funds so you don't have to worry they won't be available.
Bidirectional channels and networking are elaborations on this idea. In bidirectional channels the main risk is that your counterparty will submit an obsolete state; there has to be a delay and you have to monitor the chain so you can submit a more recent state if that happens. You don't have to know who the counterparty is.
(Your analogy to a ledger with account balances is precisely correct for Ethereum, but Bitcoin actually has a somewhat different model.)