Skip to content

Commit bafeebc

Browse files
authored
Merge pull request #2373 from filecoin-project/What-is-Filecoin-Revisions
What is filecoin revisions
2 parents 32bcc07 + 3257ad1 commit bafeebc

File tree

3 files changed

+22
-24
lines changed

3 files changed

+22
-24
lines changed

basics/what-is-filecoin/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@ description: >-
33
This section offers a detailed overview of Filecoin for developers, serving as a go-to reference for their needs.
44
---
55

6+
<meta name="description" content="Introduction to Filecoin." />
7+
68
# Introduction to Filecoin
79

8-
Filecoin is a peer-to-peer network that enables reliable, decentralized file storage through built-in economic incentives and cryptographic proofs. Users pay storage providers—computers that store and continuously prove file integrity—to securely store their files over time. Anyone can join Filecoin as a user seeking storage or as a provider offering storage services. Storage availability and pricing aren’t controlled by any single entity; instead, Filecoin fosters an open market for file storage and retrieval accessible to all.
10+
Filecoin is a peer-to-peer network that enables reliable, decentralized file storage through built-in economic incentives and cryptographic proofs. Clients, or users, pay any number of storage providers, or data centers, to store the client's data --storage providers then provide cryptographic proofs daily as evidence to the clients that the data is still at the data center. Storage providers lock a certain amount of Filecoin as collateral --should they repeatedly fail to provide a proof, their collateral gets burned, serving as a strong deterrent from the data center losing the data.
11+
12+
Anyone can join Filecoin as a client looking to store their data, or as a storage provider offering storage services. Storage availability and pricing aren’t controlled by any single entity; instead, Filecoin fosters an open market for file storage and retrieval accessible to all. Clients can review the history of each storage provider, along with their credentials and compliance record, before choosing to store their data with them.
913

10-
Filecoin is built on the same technology as the [IPFS protocol](https://docs.ipfs.tech/). IPFS is a distributed storage network that uses [content addressing](https://docs.ipfs.tech/concepts/content-addressing/) to provide permanent data references without dependency on specific devices or cloud providers. Filecoin differs from IPFS by introducing an incentive layer that promotes reliable storage and consistent access to data.
14+
Note that most Filecoin nodes are [IPFS protocol](https://docs.ipfs.tech/) nodes. IPFS is a open system, a hypermedia protocol, to manage data without a central server that makes use of [content addressing](https://docs.ipfs.tech/concepts/content-addressing/) to provide permanent data references without dependency on specific devices or cloud providers. A client who knows the content address (CID) of their file can retrieve it from any IPFS node (or Filecoin storage provider) that currently has a copy and is able to serve it. Given a CID, the [CID Contact](https://cid.contact/) network indexer will locate and providing routing details for the relevant file.
1115

12-
Filecoin’s use cases are diverse, ranging from Web3-native NFT storage to metaverse and gaming assets, as well as incentivized, permanent storage. It also offers a cost-effective solution for archiving traditional Web2 datasets, making it a strong alternative to conventional cloud storage.
16+
Historically, IPFS node operators offered pinning services to the community out of interest and often for free, meaning there was no financial incentive for the IPFS node operators to stay online or keep a given file for a long period of time. Filecoin solves this issue by introducing an incentive layer (clients pay storage providers for long term data center use) to ensure more reliable long term cold storage. Since most Filecoin nodes are also IPFS nodes, they can pin a hot copy of the given file to the IPFS node to allow the client to easily retrieve the file later.
1317

14-
For instance, [NFT.Storage](https://nft.storage/) leverages Filecoin for decentralized NFT content and metadata storage. Likewise, organizations like the [Shoah Foundation](https://sfi.usc.edu/) and the [Internet Archive](https://archive.org/) use Filecoin for content preservation and backup.
18+
Filecoin is used as a storage solution for a range of products, including from Web3-native NFT storage, incentivized permanent storage, and archival traditional Web2 datasets. For instance, [NFT.Storage](https://nft.storage/) leverages Filecoin for NFT content and metadata storage. Organizations such as the [Shoah Foundation](https://sfi.usc.edu/) and the [Internet Archive](https://archive.org/) use Filecoin for content preservation and backup.
1519

1620
Filecoin is compatible with various data types, including audio and video files. This versatility allows Web3 platforms like [Audius](https://audius.co/) and [Huddle01](https://huddle01.com/) to use Filecoin as a decentralized storage backend for music streaming and video conferencing.
1721

basics/what-is-filecoin/blockchain.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,22 @@ description: >-
33
A blockchain is a distributed database shared among nodes in a computer network. This page covers the design and functions of the Filecoin blockchain.
44
---
55

6+
<meta name="description" content="The filecoin blockchain and how it works." />
7+
68
# Blockchain
79

810
## Tipsets
911

10-
The Filecoin blockchain consists of a chain of tipsets rather than individual blocks. A tipset is a set of blocks with the same height and parent tipset, allowing multiple storage providers to produce blocks in each epoch to increase network throughput.
11-
12-
Each tipset is assigned a weight, enabling the consensus protocol to guide nodes to build on the heaviest chain. This adds a level of security to the Filecoin network by preventing interference from nodes attempting to produce invalid blocks.
12+
A tipset is a set of blocks with the same height, allowing multiple storage providers to produce blocks in each epoch, increasing network throughput. The Filecoin blockchain consists of a chain of tipsets rather than individual blocks. Each tipset is assigned a weight, enabling the consensus protocol to guide nodes to build on the heaviest chain and preventing interference from nodes attempting to produce invalid blocks.
1313

1414
## Actors
1515

16-
An actor in the Filecoin blockchain is similar to a smart contract in the Ethereum Virtual Machine. It functions as an ‘object’ within the Filecoin network, with a state and a set of methods for interaction.
16+
Actors are ‘objects’ within the Filecoin network, each with a state and a set of methods for interaction, that pass messages to each other and ensure the system operates appropiately.
1717

1818
### Built-in actors
1919

2020
Several built-in system actors power the Filecoin network as a decentralized storage network:
2121

22-
- **System actor**: General system actor.
2322
- **Init actor**: Initializes new actors and records the network name.
2423
- **Cron actor**: Scheduler that runs critical functions at every epoch.
2524
- **Account actor**: Manages user accounts (non-singleton).
@@ -33,14 +32,7 @@ Several built-in system actors power the Filecoin network as a decentralized sto
3332
- **Verified registry actor**: Manages verified clients.
3433
- **Ethereum Address Manager (EAM) actor**: Assigns Ethereum-compatible addresses on Filecoin, including EVM smart contract addresses.
3534
- **Ethereum Virtual Machine (EVM) account actor**: Represents an external Ethereum identity backed by a secp256k1 key.
36-
37-
### User-programmable actors
38-
39-
With the maturity of the FVM, developers can write actors and deploy them on the Filecoin network, similar to other blockchains' smart contracts. User-programmable actors can interact with built-in actors via the exported API from built-in actors.
40-
41-
## Distributed randomness
42-
43-
Filecoin uses the [Drand](https://drand.love) protocol as a randomness beacon for leader election in the [expected consensus](blockchain.md#expected-consensus) process. This randomness ensures leader election is secret, fair, and verifiable.
35+
- **System actor**: General system actor.
4436

4537
## Nodes
4638

@@ -58,7 +50,7 @@ In the Filecoin network, addresses identify actors in the Filecoin state. Each a
5850

5951
- **`f0/t0`**: ID address for an actor in a human-readable format, such as `f0123261` for a storage provider.
6052
- **`f1/t1`**: secp256k1 wallet address, generated from an encrypted secp256k1 public key.
61-
- **`f2/t2`**: Address assigned to an actor (smart contract) in a way that ensures stability across network forks.
53+
- **`f2/t2`**: Address assigned to an actor in a way that ensures stability across network forks.
6254
- **`f3/t3`**: BLS wallet address, generated from a BLS public key.
6355
- **`f4/t4`**: Address created and assigned to user-defined actors by customizable "address management" actors. This address can receive funds before an actor is deployed.
6456
- **`f410/t410`**: Address space managed by the Ethereum Address Manager (EAM) actor, allowing Ethereum-compatible addresses to interact seamlessly with the Filecoin network. Ethereum addresses can be cast as `f410/t410` addresses and vice versa, enabling compatibility with existing Ethereum tools.
@@ -67,9 +59,11 @@ In the Filecoin network, addresses identify actors in the Filecoin state. Each a
6759

6860
### Expected consensus
6961

70-
Expected Consensus (EC) is the consensus algorithm underlying Filecoin. EC is a probabilistic, Byzantine fault-tolerant protocol that conducts a leader election among storage providers each epoch to determine which provider submits a block. Similar to proof-of-stake, Filecoin’s leader election relies on proof-of-storage, meaning the probability of being elected depends on how much provable storage power a miner contributes to the network. This storage power is recorded in the storage power table, managed by the Storage Power Actor.
62+
Expected Consensus (EC) is the probabilistic, Byzantine fault-tolerant consensus algorithm underlying Filecoin. EC conducts a leader election among storage providers each epoch to determine which provider submits a block. Similar to proof-of-stake, Filecoin’s leader election relies on proof-of-storage, meaning the probability of being elected depends on how much provable storage a miner contributes to the network --measured in something called "storage power".
63+
64+
The consensus process uses [Drand](https://drand.love) as a randomness beacon for leader election, ensuring the leader election is secret, fair, and verifiable. Election participants and their storage power are drawn from a data structure called the "Power Table", which is continuously calculated and maintained by the storage power actor.
7165

72-
At a high level, the consensus process uses [Drand](https://drand.love) to provide distributed, verifiable randomness, ensuring that leader election is secret, fair, and unbiased. Election participants and their storage power are drawn from the Power Table, which is continuously calculated and maintained by the Storage Power Consensus subsystem. Ultimately, EC gathers all valid blocks produced in an epoch and applies a weighting function to select the heaviest chain, adding blocks accordingly.
66+
Ultimately, the EC process ends by gathering all valid blocks produced in an epoch to a tipset, applying a weighting function to select the heaviest chain, and adding the tipset to the heaviest chain accordingly.
7367

7468
### Block production process
7569

@@ -80,7 +74,7 @@ The block production process for each epoch is as follows:
8074
- Elected miners generate WinningPoSt using randomness.
8175
- Miners build and propagate a block.
8276
- Verify the winning miner and election.
83-
- Select the heaviest chain to add blocks.
77+
- Select the heaviest chain to add the tipset.
8478

8579
### Finality
8680

basics/what-is-filecoin/retrieval-market.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >-
55

66
# Retrieval market
77

8-
## Basic retrieval
8+
## Basic Retrieval from Filecoin
99

1010
Currently, Filecoin nodes support direct retrieval from the storage miners who originally stored the data. Clients can send retrieval requests directly to a storage provider and pay a small amount of FIL to retrieve their data.
1111

@@ -15,8 +15,8 @@ To request data retrieval, clients need to provide the following information to
1515
- **Payload CID**: Also known as Data CID.
1616
- **Address**: The address initially used to create the storage deal.
1717

18-
## Saturn
18+
## Hot Retrieval from IPFS
1919

20-
[Saturn](https://saturn.tech/) is a Web3 CDN within Filecoin’s retrieval market that serves data stored on Filecoin with low latency and at a low cost. It consists of independent retrieval providers dedicated to efficient, fast, and reliable data retrieval operations.
20+
Since most Filecoin nodes are also IPFS nodes, standard practice has been for Filecoin storage providers to also make available a hot copy of any given stored file through IPFS. Since the algorithm that generates a content address (CID) is the same for both Filecoin and IPFS, the client can request the CID of a file they stored on Filecoin and retrieve it from IPFS, if there is an IPFS node that is able and willing to serve the file.
2121

2222
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/basics/what-is-filecoin/retrieval-market)

0 commit comments

Comments
 (0)