Skip to content

Commit 1b13701

Browse files
committed
FAB-16573 World state is a db, not cache
Signed-off-by: Paritosh Ranjan <paranjan@in.ibm.com> Change-Id: I24aa3ec062c79a39c77ab410e17ee0343ab5c957
1 parent c127ce9 commit 1b13701

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/source/ledger/ledger.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,12 @@ In Hyperledger Fabric, a ledger consists of two distinct, though related, parts
6666
-- a world state and a blockchain. Each of these represents a set of facts about
6767
a set of business objects.
6868

69-
Firstly, there's a **world state** -- a database that holds a cache of the
70-
**current values** of a set of ledger states. The world state makes it easy for
71-
a program to directly access the current value of a state rather than having to
72-
calculate it by traversing the entire transaction log. Ledger states are, by
73-
default, expressed as **key-value** pairs, and we'll see later how Hyperledger
74-
Fabric provides flexibility in this regard. The world state can change
75-
frequently, as states can be created, updated and deleted.
69+
Firstly, there's a **world state** -- a database that holds **current values**
70+
of a set of ledger states. The world state makes it easy for a program to directly
71+
access the current value of a state rather than having to calculate it by traversing
72+
the entire transaction log. Ledger states are, by default, expressed as **key-value** pairs,
73+
and we'll see later how Hyperledger Fabric provides flexibility in this regard.
74+
The world state can change frequently, as states can be created, updated and deleted.
7675

7776
Secondly, there's a **blockchain** -- a transaction log that records all the
7877
changes that have resulted in the current the world state. Transactions are

0 commit comments

Comments
 (0)