Core 백서

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 5쪽 중 2쪽

not as decentralized as) Bitcoin’s. Ethereum introduced a rich feature set, including a Turing-complete Ethereum Virtual Machine (EVM) capable of executing smart contracts. This high-level functionality set Ethereum apart, fostering a robust ecosystem of decentralized applications (dApps) and spawning sectors like decentralized finance (DeFi). The tradeoff was that it lost Bitcoin’s level of decentralization and security. #### Ethereum (Post-Merge)&#x20; Today, Ethereum operates on Proof of Stake. Validators propose and attest to the veracity of blocks on the Ethereum blockchain, and are selected in a pseudo-random way based on the amount of Ether they are willing to 'stake' as collateral. From the early days, Ethereum was designed to transition to Proof of Stake, but the migration has elicited concerns regarding both decentralization and long-term scalability. And, in fact, there has already been significant concentration among major CeFi custodians and staking pools, along with myriad [scaling issues](#user-content-fn-2)[^2].&#x20; #### Solana Solana is a high-throughput chain capable of supporting 50k TPS that leverages both Proof of History (PoH) and sharding \[Yak]. Solana has very short block times, requiring just 400ms each \[Tead], which allows applications built on top of the network to feel like their Web2 counterparts. In order to achieve this level of performance, the requirements for running a validator far exceed those of most other networks \[[Teae](/core-white-paper-v1.0.7/references)]. This prices smaller players out of the market, limiting the decentralization Solana can achieve. Another tradeoff exists between performance and network availability, which was starkly illustrated with several notable recent chain restarts. \[[McS](/core-white-paper-v1.0.7/references)] \[[Mil](/core-white-paper-v1.0.7/references)]. Solana also has one of the most active developer communities, but its transition from Solidity to Rust has proven challenging for many. #### Polygon Polygon is a PoS-based L2 scaling solution built on top of Ethereum. Its overall mission is to solve many of the scalability challenges on the main Ethereum chain by leveraging PoS and side chains \[Teac]. Polygon has attracted a sizable number of developers because of its EVM compatibility, which allows dApp developers to port their code over with minimal changes \[[Teab](/core-white-paper-v1.0.7/references)]. #### BNB Smart Chain (BSC) BSC is a hard fork of the Go Ethereum (Geth) codebase. One of the major differentiators between BSC and Ethereum is the latter’s Proof of Staked Authority (PoSA), a consensus mechanism that combines Proof of Authority (PoA) and Delegated Proof of Stake (DPoS) \[[Teaa](/core-white-paper-v1.0.7/references)]. This new consensus mechanism allows BSC to achieve faster transaction times, higher TPS, and lower fees \[[CZ](/core-white-paper-v1.0.7/references)]. As with Polygon, many have expressed concern over the centralization of BSC’s validator set. Several factors have given rise to this state of affairs, including the high staking requirements to become a validator, the fact that only two of the twenty-one validators are involved in consensus activities at a time \[[Tra](/core-white-paper-v1.0.7/references)], and rumors about a relationship between the validators and Binance. The claim that Binance itself runs any of the nodes, however, can be disproved with onchain data \[[BsC](/core-white-paper-v1.0.7/references)]. [^1]: The merge refers to Ethereum’s move from PoW to PoS. [^2]: See: <https://www.theblock.co/post/255116/jpmorgan-ethereum-more-centralized-staking> # Satoshi Plus Consensus This section walks through the workings of Core blockchain’s unique Satoshi Plus consensus mechanism. Below, you’ll find a diagram illustrating how the different pieces fit together.&#x20; <figure><img src="https://1322173649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbkhpxtbTbQy8ujw2pcbm%2Fuploads%2FkHD2Ty3LURkC8upaKI7G%2FCore-Architecture%20(1).png?alt=media&amp;token=469e662e-36db-448c-bac7-e63352fb20c4" alt=""><figcaption></figcaption></figure> # Major components, roles, and workflows #### **Validators** #### Validators are responsible for producing blocks and validating transactions on the Core network. Anyone can become a Core validator by registering with the network and locking up a refundable CORE deposit. #### **Validator Election** The validator set is determined through election, with validators chosen based on their hybrid score for each round. Any validator in the current validator set which hasn’t been jailed or slashed is considered “live”. To ensure a more stable TPS, the live validators are updated every 200 blocks, meaning that if any validators are jailed or slashed, the others can continue mining blocks as usual. #### **Hybrid Score** Every validator node seeking to become part of the validator set is given a hybrid score, which is calculated based on three factors: the DPoW from Bitcoin miners, the DPoS from CORE holders, and BTC holders delegating their assets to their preferred validators through Non-Custodial BTC Staking. The validator set is currently made up of the 31 validators with the highest hybrid scores, which is planned to increase over time. #### **Bitcoin Miners** Bitcoin miners secure the Bitcoin network via PoW, and can delegate their PoW to a Core validator by including certain information in the coinbase transaction of a block as it’s in the process of being mined. This delegation is non-destructive, meaning that they’re re-purposing their existing work, not choosing between securing Bitcoin and securing Core. #### **CORE Stakers** #### All holders of Core’s native CORE tokens are able to underwrite the network’s security by delegating their token holdings to a validator.&#x20; #### **Bitcoin Stakers** One of the third components of Satoshi Plus consensus is Non-Custodial BTC staking, which allows any BTC holder to earn yield by staking their BTC without giving up custody. #### **Relayers** #### Relayers transmit blocks and transaction data from Bitcoin to the Core network. Anyone can become a relayer by registering and locking up a refundable CORE deposit. #### **Verifiers** Verifiers are responsible for reporting malicious behaviors on the network. Successful verification flags may result in slashing a malicious validator’s rewards or stake, or by jailing them outright, and verifiers are compensated for this monitoring activity when block rewards are dispensed. Anyone can act as a verifier on the Core network. #### **Round** A round is the period of time during which the Core network updates the validator set and distributes rewards. At present, a round is one day. Every round (i.e. every day), all validators are given a hybrid score, and the 31 validators with the highest hybrid scores are elected to the validator set. The validator set then becomes responsible for producing blocks on the Core network for the entirety of that round. When the last block of each round has been produced, the accumulated rewards for the full round are calculated and distributed, and the validator set for the next round is also determined. #### **Slot** Each 1-day round is divided into slots, and all validators in the validator set take turns producing one block per slot, in a round robin manner. Currently, the slot length is set to three seconds. In each slot, an honest validator either produces a block or fails to do so (if there are network issues, eclipse attacks, etc).&#x20; #### **Epoch** An epoch is the span of time during which the system checks each validator’s status so as to exclude jailed validators from participating in consensus activities. Currently, an epoch is set to 200 slots, which is 600 seconds or 10 minutes. Validator status is checked once per epoch (rather than continuously) in order to keep TPS roughly constant in a given round.&#x20; # Delegated Proof of Work As discussed in the previous [section](/core-white-paper-v1.0.7/satoshi-plus-consensus/major-components-roles-and-workflows), validators are chosen on the basis of a hybrid score, and the hybrid score is calculated based on the contributions from Delegated Proof of Work (DPoW), Delegated Proof of Stake (DPoS) and Non-Custodial BTC staking. This section covers the DPoW side of the equation. Bitcoin miners generate hash power to secure the Bitcoin network, validate transactions, and earn BTC rewards. To even their rewards out over time, Bitcoin miners often contribute their hash power to mining pools, which use the aggregated hash power to increase the pool’s overall chances of mining a Bitcoin block and receiving BTC in return.&#x20; When a Bitcoin miner wants to delegate PoW to the Core network, it adds data to the op\_return field in the coinbase transaction specifying which Core validator they want to delegate to and where they want their CORE rewards to go. This is done as a Bitcoin block is being mined, so the miners don’t have to choose between securing the Bitcoin and the Core network. Relayers are responsible for monitoring the Bitcoin network and transmitting blocks and transaction data to the Core network. Within the Core network, an on-chain embedded BTC light client processes the incoming data from relayers and forwards the delegation information (including hash power and Non custodial staking) to the "Delegation Hub." The Delegation Hub serves as the central component responsible for managing and overseeing delegations within the Core network. During a 1-day round, the Core network calculates the DPoW for each validator by counting the number of blocks the miners delegated to a validator one week prior. For instance, if the round occurs on a Thursday, Core will tabulate the DPoW for each validator by counting blocks from last Thursday.&#x20; The architecture for this cross-chain communication is illustrated in the diagram below. <figure><img src="https://1322173649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbkhpxtbTbQy8ujw2pcbm%2Fuploads%2FCY6RGUh4QsZybDDjUI6h%2FDPoW%20(1).png?alt=media&amp;token=519b6c57-9801-41b9-98a4-2507a979c946" alt=""><figcaption></figcaption></figure> # Delegated Proof of Stake Having covered DPoW, let’s move on to another important pillar of the Satoshi Plus consensus, DPoS. DPoS allows holders of both CORE tokens to vote and participate in the election of the validator set by delegating their holdings to their preferred validators. Because there is only a very small minimum staking requirement (of one CORE token), all CORE holders can contribute to the governance of the Core network. # Self-Custodial BTC Staking Self-Custodial BTC staking is one of the three fundamentals of Core’s Satoshi plus consensus mechanism. Core’s Self-Custodial BTC Staking lets BTC holders securely lock their BTC natively on the Bitcoin network without giving up control of their private keys or transferring their assets to a third party, external smart contract, or multi-party computation (MPC) wallet. In return for their contributions, they earn CORE tokens as staking rewards. Through Non-custodial BTC staking, the BTC stakers can actively contribute to the validator election on the Core network, strengthening its security and decentralization through the Satoshi Plus consensus mechanism. This approach ensures that user assets remains under their control while enabling them to support network security and earn rewards.&#x20; ## **Dual Staking** Based on the CORE:BTC staking ratios (R₁, R₂, … , Rₙ), representing CORE tokens staked relative to Bitcoin staked, Bitcoin staking rewards are divided into n boosted yields (P<sub>BASE</sub>, P₁, P₂, …, Pₘₐₓ). Depending on a user's boosted yield level, yield multipliers are applied to the base rate for staking Bitcoin on Core (BRate<sub>BASELINE</sub>). Yield multipliers are determined based on the user's staking data and system dual staking settings. As a result, different users might have different multipliers. Specific CORE staking thresholds should also be met to qualify for boosted yields. Further, it is to be noted that the staking ratios (R₁, R₂, … , Rₙ) and the number of boosted yield levels (P<sub>BASE</sub>, P₁, P₂, …, Pₘₐₓ) are subject to change and are adjustable through governance votes. <figure><img src="https://1322173649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbkhpxtbTbQy8ujw2pcbm%2Fuploads%2F69qLjW0p4G7tNHXrgYSE%2Fdual-staking-tiers.png?alt=media&amp;token=6f680691-7cc1-4d1c-8baa-2230411cb1b5" alt=""><figcaption></figcaption></figure> # Validator Election ## **Overview** Validators are essential to the Core network, as they manage transaction validation and block production. Core’s Satoshi Plus consensus combines Delegated Proof of Work (DPoW), Delegated Proof of Stake (DPoS), and Non-Custodial BTC staking, creating a secure, decentralized validator election process that incorporates contributions from Bitcoin miners, CORE stakers, and BTC stakers. With the introduction of Dual Staking, BTC stakers who also simultaneously stake CORE gain access to higher BTC staking reward tiers, strengthening network security and incentivizing deeper engagement within the Core ecosystem. ## **Hybrid Score and Before and After the Fusion Upgrade** Before the Fusion upgrade, a hardfork release of the Core blockchain, the hybrid score in Core incorporated contributions from Bitcoin miners (through hash power delegation), CORE token stakers, and BTC stakers. This scoring mechanism ensured that all three components contributed proportionally to validator selection. The formula used was: $$ \begin{align\*} \mathrm{S} = \frac{\mathrm{rHp}}{\mathrm{tHp}} \* \mathrm{m} + \mathrm{\[ \frac{\mathrm{rSp+rBp\*n}}{\mathrm{tSp + tBp *n}} \* \mathrm{(1 - m)} ]} \end{align*} $$ Where: * **rHp:** Bitcoin hash power delegated to a validator. * **tHp:** Total hash power on Core. * **rSp:** Amount of CORE tokens staked to a validator. * **tSp:** Total CORE tokens staked on Core. * **rBp:** Amount of BTC tokens staked to a validator. * **tBp:** Total BTC tokens staked on Core. * **m:** Weight assigned to hash power (`0 < m < 1`). * **n:** Normalization factor determining the relative weight of CORE to BTC in staking calculations. While this formula accounted for all three components, the proportional contributions of CORE staking, BTC staking, and hash power delegation, it also leads to the hybrid score being dynamic and variable over time, dependent on staking behaviour and network activity. ## **Updated Hybrid Score Formula** Even though the hybrid score is still influenced by the ratio of contributions from CORE staking, BTC staking, and hash power delegation, the Fusion Upgrade introduces variability in the weight of BTC staking and the weight of CORE staking stemming from the staking ratios of BTC and CORE for boosted yield tiers. The updated formula for hybrid score calculation is as follows: $$ \begin{align\*} \mathrm{S} = ( \frac{\mathrm{rHp}}{\mathrm{tHp}}) × \mathrm{m} + ( \frac{\mathrm{rSp}}{\mathrm{tSp}})× \mathrm{k} + ( \frac{\mathrm{rBp}}{\mathrm{tBp}}) × \mathrm{l} \end{align\*} $$ Where, `m + k + l = 1` &#x20; * **rHp:** Bitcoin hash power delegated to a validator. * **tHp:** Total hash power on Core. * **rSp:** Amount of CORE tokens staked to a validator. * **tSp:** Total CORE tokens staked on Core. * **rBp:** Amount of BTC tokens staked to a validator. * **tBp:** Total BTC tokens staked on Core. * **m:** Ratio assigned to hash power. * **k:** Ratio assigned to CORE staking. * **l:** Ratio assigned to BTC staking. ## Key Improvements with the Fixed Ratio Model 1. **Stability and Predictability:** Fixed ratios (`m + k + l = 1`) ensure a consistent and proportional distribution of contributions from hash power, CORE staking, and BTC staking, eliminating fluctuations caused by variable staking activity. 2. **Governance Flexibility:** The values of m, k, and l are configurable through governance, enabling the network to adapt to evolving dynamics while maintaining proportional fairness. 3. **Simplified Calculations:** Normalizing BTC staking contributions with a fixed l removes the need for additional normalization factors, reducing the complexity of hybrid score computations. ## **Block Production** After the election, all validators are sorted roughly in order of their [hybrid score](#user-content-fn-1)[^1], and they take turns producing blocks in a round-robin manner before the process starts over again from the beginning. By initially limiting the number of validators to 21, which is now scaled up to 31, Satoshi Plus offers a higher transaction rate and increased scalability, but the number of validators is expected to increase over time as the network grows. What’s more, this mechanism provides additional security through improved efficiency and a tolerance for a large number of [Byzantine players](#user-content-fn-2)[^2]. ## **Validator Regulation** Slashing and jailing are the two basic mechanisms Core uses to disincentivize validator misbehaviour, and understanding how they work will go a long way toward making the incentive structure in Core more comprehensible.&#x20; First, “slashing” refers to cutting either the rewards a validator would have received in exchange for mining blocks or slashing the deposit of CORE tokens that a node makes to become a validator in the first place. The severity of the slashing punishment is scaled up in proportion to the validator’s misbehaviour. It is to be noted here that these penalties in the form of Slashing do not apply to the delegators’ staking principal (CORE or BTC).&#x20; Slashing penalties are generally incurred because a node fails to successfully produce a block during its designated turn in the round-robin block-mining procedure described above. If a validator node fails to mine 50 blocks in a round, the CORE rewards the validator has accrued so far are [slashed completely](#user-content-fn-3)[^3]. Think of this as being equivalent to a misdemeanour. If a block fails to mine 150 blocks in a round, they surrender their share of the daily CORE rewards, they lose 10% of the deposit made to become a validator, and they are jailed for three days, which means they aren’t eligible to be elected to the validator set. Think of this as being equivalent to a felony[^4].&#x20; Verifiers are responsible for reporting malicious behaviours on the network through slash suggestions. Slash suggestions can be submitted by anyone and are designed to punish malicious actors. The submission requires evidence of wrongdoing, but the rewards earned greatly exceed the costs if the allegations prove true. There is a way for a validator to be permanently banned from the network by “double signing,” i.e., signing two different blocks at an equal block height. Whereas unavailability could plausibly result from a bad network connection, double signing is strong evidence of [wilful malfeasance](#user-content-fn-5)[^5]. Validators caught double signing surrender all rewards, 100% of their validator deposit, and are thereafter barred from participating in mining blocks.&#x20; As with slash suggestions, verifiers are charged with reporting double signing and must submit evidence of this activity. If their allegations are borne out, they are rewarded for keeping the network safe.&#x20; While producing blocks, the existing Core validators periodically check whether any current validator has been jailed. If so, they will update the validator set after an epoch (i.e., after 10 minutes). Jailing is designed to exclude misbehaving validators from consensus activities to enhance network security and keep TPS stable. [^1]: Core Chain uses an algorithm to sort the validators, but those details are omitted in this whitepaper. [^2]: Core Chain is secure so long as no more than one third of the validators are maliciou
프로젝트로 돌아가기