diff --git a/README.md b/README.md index 72aa0abbcf..3d81ea75fc 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ # Branch Chain -A branch chain is a BTC Layer-2 chain that actually runs smart contracts. It is characterized by high TPS (Transactions Per Second), low fees, fewer block-producing nodes, and a challenge-based security model. +A Branch Chain is a BTC Layer-2 chain that actually runs smart contracts. It is characterized by high TPS (Transactions Per Second), low fees, fewer block-producing nodes, and a challenge-based security model. For more information, see the [branch chain](https://github.com/ckb-cell/utxo-stack-doc/blob/master/docs/branch-chain.md). ## Features +- Compatible with RGB++ layer smart contracts - BTC as cell capacity token, 1 satoshi can be used for 1 byte of on-chain space - Single sequencer - Blocks produced every 2 seconds @@ -56,7 +57,9 @@ hash_type = "type" message = "0x" ``` -The `args` value in the `block_assembler` configuration is directly taken from the `args` specified in the `lock script` of a pre-defined cell in the genesis configuration (`[genesis.issued_cells]`). This allows for a simplified setup, as you can reuse the existing parameters from the development chain's specification. +The `args` value in the `block_assembler` configuration is directly taken from the `args` specified in the `lock script` of a pre-defined cell in the genesis configuration (`[genesis.issued_cells]`). + +In the genesis block, there are two `issued_cells` with sufficient capacity representing BTC. For more details, see the [genesis configuration](/resource/specs/dev.toml). **Please NOTE that this setup is intended for testing purposes only and should not be used in a production environment.** diff --git a/spec/src/consensus.rs b/spec/src/consensus.rs index 5875e5f6e5..e9fa6364f6 100644 --- a/spec/src/consensus.rs +++ b/spec/src/consensus.rs @@ -40,9 +40,7 @@ use std::cmp; use std::collections::HashMap; use std::sync::Arc; -// 1.344 billion per year pub(crate) const DEFAULT_SECONDARY_EPOCH_REWARD: Capacity = Capacity::shannons(0); -// 4.2 billion per year pub(crate) const INITIAL_PRIMARY_EPOCH_REWARD: Capacity = Capacity::shannons(0); const MAX_UNCLE_NUM: usize = 2; pub(crate) const TX_PROPOSAL_WINDOW: ProposalWindow = ProposalWindow(1, 1);