doc: Fix architecture broken link

This commit is contained in:
Nathaniel Jensen 2020-06-19 15:41:54 +10:00 committed by Lucas Molas
parent ffa7be86fe
commit 6b86dcde4a

View File

@ -298,7 +298,7 @@ needed to properly set up the node's repo. We list the most salient ones here.
### Datastore ### Datastore
`Datastore` and `ChainBlockstore`: Data related to the node state is saved in the repo's `Datastore`, `Datastore` and `ChainBlockstore`: Data related to the node state is saved in the repo's `Datastore`,
an IPFS interface defined [here](github.com/ipfs/go-datastore/datastore.go). an IPFS interface defined [here](https://github.com/ipfs/go-datastore/blob/master/datastore.go).
Lotus creates this interface from a [Badger DB](https://github.com/dgraph-io/badger) in Lotus creates this interface from a [Badger DB](https://github.com/dgraph-io/badger) in
[`FsRepo`](https://github.com/filecoin-project/lotus/blob/master/node/repo/fsrepo.go). [`FsRepo`](https://github.com/filecoin-project/lotus/blob/master/node/repo/fsrepo.go).
Every piece of data is fundamentally a key-value pair in the `datastore` directory of the repo. Every piece of data is fundamentally a key-value pair in the `datastore` directory of the repo.