Skip to content

Commit 68f6858

Browse files
authored
Update subcoin social card (#5)
* Update subcoin-social-card.png * FMT * Add new favicon
1 parent c737a06 commit 68f6858

15 files changed

+308
-291
lines changed

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
2+
presets: [require.resolve("@docusaurus/core/lib/babel/preset")],
33
};

blog/2024-10-01-a-step-toward-decentralized-fast-sync-for-bitcoin.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Subcoin introduces an innovative approach to encapsulating the Bitcoin chain wit
4949

5050
**Subcoin runtime**
5151

52-
Subcoin runtime is a minimalistic Substrate runtime, comprising two essential pallets:
52+
Subcoin runtime is a minimalistic Substrate runtime, comprising two essential pallets:
5353

5454
- **frame-system**: This pallet is the core component of the Substrate framework.
5555
- **pallet-bitcoin**: This pallet tracks the state of the UTXO set on-chain. It processes the inputs and outputs of each Bitcoin transaction embedded in an unsigned extrinsic within the pallet.
@@ -122,17 +122,11 @@ The Proof of Concept implementation has been developed, but several optimization
122122
## Future Vision
123123

124124
- **Bitcoin Wallet Integration in polkadot.js.org**
125-
126-
A significant future goal is to enable [polkadot.js.org](http://polkadot.js.org/) to support Bitcoin transactions, effectively turning it into a fully functional Bitcoin wallet. This ambitious enhancement would require deep integration of Bitcoin into the Substrate framework, including adjustments to the runtime, the creation of a custom transaction pool, and likely modifications to the [polkadot.js.org](http://polkadot.js.org/) interface.
127-
125+
A significant future goal is to enable [polkadot.js.org](http://polkadot.js.org/) to support Bitcoin transactions, effectively turning it into a fully functional Bitcoin wallet. This ambitious enhancement would require deep integration of Bitcoin into the Substrate framework, including adjustments to the runtime, the creation of a custom transaction pool, and likely modifications to the [polkadot.js.org](http://polkadot.js.org/) interface.
128126
- **Develop a BRC20 Indexer**
129-
130-
Expanding Subcoin to include a BRC20 indexer is a straightforward extension that can be implemented during the Bitcoin full sync process. This addition would enhance the decentralization of BRC20 assets, contributing to a more robust and accessible Bitcoin ecosystem.
131-
127+
Expanding Subcoin to include a BRC20 indexer is a straightforward extension that can be implemented during the Bitcoin full sync process. This addition would enhance the decentralization of BRC20 assets, contributing to a more robust and accessible Bitcoin ecosystem.
132128
- **Explore Bitcoin Layer 2 Solutions**
133-
134-
The Subcoin team's initial goal was not to build a Bitcoin node in Rust but to explore Bitcoin L2 solutions. With the recent surge in Bitcoin L2 projects, the Subcoin team is still actively seeking innovative ways to enhance the Bitcoin ecosystem, going beyond just creating a Rust client.
135-
129+
The Subcoin team's initial goal was not to build a Bitcoin node in Rust but to explore Bitcoin L2 solutions. With the recent surge in Bitcoin L2 projects, the Subcoin team is still actively seeking innovative ways to enhance the Bitcoin ecosystem, going beyond just creating a Rust client.
136130

137131
These ideas represent just the beginning. As Subcoin matures and grows, more possibilities will emerge.
138132

docs/basics/download-UTXO-snapshot.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ TODO: public bootnodes
2828

2929
- Snapshot integrity:
3030

31-
The expected `sha256sum` for the snapshot at block 840000 is:
31+
The expected `sha256sum` for the snapshot at block 840000 is:
3232

33-
```text
34-
dc4bb43d58d6a25e91eae93eb052d72e3318bd98ec62a5d0c11817cefbba177b
35-
```
36-
This checksum matches the one documented in the official [Bitcoin Core pull request](https://github.com/bitcoin/bitcoin/pull/28553#issue-1920247340).
33+
```text
34+
dc4bb43d58d6a25e91eae93eb052d72e3318bd98ec62a5d0c11817cefbba177b
35+
```
36+
37+
This checksum matches the one documented in the official [Bitcoin Core pull request](https://github.com/bitcoin/bitcoin/pull/28553#issue-1920247340).
3738

3839
## Verify the Downloaded Snapshot
3940

docs/basics/set-up-a-node.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ This guide will show you how to connect to Bitcoin network with Subcoin.
1414
- **Full Node**: A full node prunes historical states, all finalized blocks' states older than a configurable number except the genesis block's state will be pruned. This is 256 blocks from the last finalized one by default. A pruned node this way requires much less space than an archive node.
1515
- **Light Node**: TODO
1616

17-
1817
### Sync Strategies
1918

20-
There are two strategies to sync the Bitcoin network for new nodes: _Full Sync_ and _Fast Sync_.
19+
There are two strategies to sync the Bitcoin network for new nodes: _Full Sync_ and _Fast Sync_.
2120

2221
- **Full Sync**: This will download and replay all the blocks from the genesis to the tip directly from the P2P network (either the Subcoin network or directly from the Bitcoin P2P network). This sync strategy is only necessary for establishing the Subcoin bootnodes when the Subcoin P2P network starts as this process is time-consuming and resources-intensive, possibly taking days to complete depending on the performance of your machine. For the regular users, _Fast Sync_ is usually recommended.
2322

@@ -30,9 +29,9 @@ There are two strategies to sync the Bitcoin network for new nodes: _Full Sync_
3029
```mermaid
3130
graph TD
3231
%% Define nodes
33-
subcoin_p2p((Subcoin P2P Network)) ---> |Fast Sync|subcoin_node[Subcoin Node]
34-
subcoin_p2p ---> |Full Sync|subcoin_node[Subcoin Node]
35-
bitcoin_p2p((Bitcoin P2P Network)) ---> |Full Sync|subcoin_node
32+
subcoin_p2p((Subcoin P2P Network)) ---> |Fast Sync|subcoin_node[Subcoin Node]
33+
subcoin_p2p ---> |Full Sync|subcoin_node[Subcoin Node]
34+
bitcoin_p2p((Bitcoin P2P Network)) ---> |Full Sync|subcoin_node
3635
3736
%% Add labels for syncing methods
3837
@@ -56,9 +55,9 @@ Although it's technically supported to perform a full sync from the Subcoin p2p
5655
Note that the storage usage will grow over time.
5756

5857
- Full Node
59-
- SSD with 500GiB of space
58+
- SSD with 500GiB of space
6059
- Archive Node
61-
- SSD with 4TiB of space
60+
- SSD with 4TiB of space
6261

6362
## Syncing Bitcoin Chain
6463

docs/extras/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"position": 3,
44
"link": {
55
"type": "generated-index",
6-
"slug": "extras",
6+
"slug": "extras"
77
}
88
}

docs/extras/manage-docs-versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default {
3434
items: [
3535
// highlight-start
3636
{
37-
type: 'docsVersionDropdown',
37+
type: "docsVersionDropdown",
3838
},
3939
// highlight-end
4040
],

0 commit comments

Comments
 (0)