SKALE 백서

SKALE

원문

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

for a downed node to a security incident response team available to all SKALE Chain operators in the network. Reboots / Crashes During a reboot, the rebooting node will become temporarily unavailable — for peer nodes, this will look like a temporarily slow network link. After a reboot, messages destined to the node will be delivered — this protocol allows for a reboot to occur without disrupting the operation of consensus. In the case of a hard crash where a node loses consensus state due to a hardware failure or software bug that prevents the node from being online, its peers will continue attempting to send messages to it until their outgoing messages queues overflow — causing them to drop older messages. To mitigate the effects of this, messages older than one hour are targeted to be dropped from message queues. While a node is undergoing a hard crash, it is counted as a Byzantine node for each consensus round — allowing for < ⅓ of nodes to be experiencing hard crashes simultaneously. In the case where > ⅓ nodes experience a hard crash, consensus will stall, causing the blockchain to possibly lose its liveness. Such a catastrophic failure will be detected through the absence of new block commits for a set time period. At this point, a failure recovery protocol utilizing the Ethereum main chain for coordination will be executed. Nodes will stop their consensus operation, sync their blockchains, and agree on time to restart consensus. Catchup Agent A separate Catchup Agent running on each node is responsible for ensuring that node’s blockchain and block proposal database are synced with the network. The catchup engine is continuously making random sync connections to other nodes whereby any node discovering that they have a smaller TIP_ID than their peer will SKALE Network Whitepaper 13 download the missing blocks, verify supermajority threshold signatures on the received blocks, and commit them to its chain. When the node comes online from a hard crash, it will immediately start this catchup procedure while simultaneously participating in the consensus for new blocks by accepting block proposals and voting according to consensus mechanism but without issuing its own block proposals. The reason for this is that each block proposal requires the hash of the previous block, and a node will only issue its own block proposal for a particular block id once it has finished the catch up procedure. With such an agent running on each node, nodes having experienced a hard crash will be able to easily rejoin in block proposal after re-syncing their chains. Security Incident Response Security is a foremost requirement for all decentralized systems, but despite progress in cryptography and computer science, most security experts agree that perfect security is unattainable. With this in mind, architects need to concentrate on raising the bar as much as possible for the amount of resources and money required to break the system. Since the SKALE architecture is based on SKALE Chains, a security compromise of SKALE could involve the compromise of a particular SKALE Chain. For example, a significant number of nodes could be affected by a computer virus due to a bug in the Linux kernel. In such a case, the default procedure is as follows: 1. SKALE Chain owners suspecting of a security compromise will issue a request to the Ethereum SKALE Manager contract to temporarily suspend the chain. 2. The SKALE Manager will mark the SKALE Chain as suspended. 3. Uncompromised nodes will receive a notification from the SKALE Manager to freeze their operation. 4. Clients of the SKALE Chain will be notified of the suspension and have their requests to the SKALE Chain rejected. SKALE Hubs SKALE Hubs are SKALE Chains that are shared chains amongst many applications. The SKALE Network Hubs offer both key services to other SKALE Chains while also acting as a shared compute resource for similar type of applications. The Nebula Hub as an example is the home to over 50 games at the time of this writing. Hubs allow for key network resources to be deployed in a scalable manner so that many chains can take advantage of the resource without requiring a deployment on every chain. Rather than exchanges or marketplaces living on every single chain – which would result in fragmented liquidity – liquidity pools, fiat onramps and offramps, marketplaces, and more are available to the SKALE Hub allowing both dApps and other SKALE Chains to leverage these key resources. SKALE Hubs also represent shared compute environments for dApps to build directly on. While the SKALE Network can continuously add new chains, the vast majority of applications require only a fraction of the resources existing SKALE Chains can provide. Based on that, these dApps choose to build directly on one of the SKALE Hubs. A multi-chain architecture is a powerful solution for increasing network capacity and scalability but cross-chain interactions can create significant friction including delayed responses and high fees. This cross-chain friction is solved within the SKALE Network via its modular design, its use of advanced cryptography and consensus algorithms, and its zero-gas design. SKALE Network Whitepaper 14 Extensions With this network architecture and protocol, a number of extensions can easily be added to allow for greater functionality and utility of the network. The first two which have been built include enhanced Filestorage within each node and a mechanism for relaying and executing messages between SKALE Chains. SKALE Block Storage and SKALE FileStorage To expand potential use-cases, SKALE has modified the existing EVM to allow for much larger file storing capabilities. The changes enabling this included the increase of blocksizes (allowing for more data to be included in each block) as well as direct access to each node’s file system from a fileStorage precompiled smart contract. Consumers in the network are also able to split files into 1MB “chunks” and submit them to the fileStorage smart contract to be stored on each node’s filesystem in a contiguous manner. Files in the network can also be deleted in a bespoke fashion to ensure that the network can reallocate resources due to state bloat from additional storage capabilities. The SKALE Network also offers secure node-based file storage via the SKALE Filestorage network service. Each SKALE Chain after version 3.1 will have configurable storage capacity based on the needs of the chain owner. Developers can make use of this storage within their smart contracts on a SKALE Chain and all write operations to this storage are managed via the SKALE consensus model. Chain owners can elect to persist this data on its own as separate standalone decentralized file storage should they wish to do so. This one-stop digital storage capability eliminates the friction that results from mixing in third-party off-chain solutions. An example of how this storage might be used is to securely store NFT-based images, which is one of the bigger challenges with NFT-based applications. SKALE Interchain Messaging Agent (IMA Bridge) Messaging to and from SKALE Chains and the Ethereum Mainnet – and between SKALE Chains and SKALE Hubs – is addressed via the SKALE Interchain Agent (or SKALE IMA Bridge). The benefits of the IMA bridge design include high security, fast transfer speed, preservation of custody, cost efficiency, and a high degree of customization. The IMA Bridge accomplishes this by making use of BLS cryptography, Ethereum mainnet smart contracts, Proof of Stake consensus, and other unique aspects of its design. This bridge allows developers and users to safely and economically transfer digital assets between the Ethereum mainnet and any SKALE Chain or between SKALE Chains and Hubs. These digital assets can include ETH, ERC-20, ERC-721, and ERC1155 tokens as well as general messaging data. Network bridges are essential components between connected blockchain solutions as they allow for the secure transfer of digital assets between networks and other chains within a network. These bridges serve as transfer agents for these assets. Instead of transferring the actual assets, however, they serve as a combination of lockboxes and proxy providers to provide verified transfer of digital equivalents. On a basic level, a bridge lets a user send an arbitrary message from one chain to another chain in such a way as to allow the contents of that message to become functional in that second chain without risk of double spend or separate concurrent activity on both chains. This message passing implies a locking or unlocking of the contents of the messages (i.e. the tokens) in one chain and the provisioning of a synthetic asset on the other chain. SKALE Network Whitepaper 15 The SKALE IMA Bridge works in a simple, transparent, and secure manner. Here is the basic transactional flow. ● Token holders signal their intention to transfer tokens and other digital assets from Ethereum to a SKALE Chain (or from the SKALE Chain to Ethereum). ● When sufficient validators for that SKALE Chain see this transfer signal on chain and validate it as well-intentioned and true, the transfer initiates on the Ethereum mainnet (or SKALE Network if in reverse). The assets are secured and placed into a deposit box on the Ethereum mainnet via SKALE contracts on the mainnet. ● After a set number of blocks (10) have passed on the Ethereum mainnet (so as to ensure transactions are fully recognized and valid), a transfer request gets sent to a proxy called the SKALE IMA Agent which in turns calls the SKALE TokenManager operating within the SKALE node network to process this transfer within the respective SKALE Chain. As opposed to days or even hours, this transfer happens quickly, buffered only by mainnet block creation. A transfer in the other direction, going from a SKALE Chain to Ethereum, happens in a similar manner, although in the case of exiting SKALE into the Ethereum mainnet, the tokens are burned on the SKALE Chain and unlocked on the mainnet. In the case of tokens that are minted on the SKALE Chain and then transferred to Ethereum – a minting operation on Ethereum takes place as part of the transfer in such a way as to preserve the ownership of the minted token. The use of public keys makes it possible for independent SKALE Chains to verify that a block has been signed and committed on another SKALE Chain, allowing for the execution of smart contracts as well as the transfer of digital assets across SKALE Chains. This mechanism is facilitated through a series of smart contracts located on the Ethereum mainnet, each SKALE Chain, as well as an agent running on each node which is responsible for facilitating these interchain messages. SKALE Chains each have an inbox and outbox. Messages which are being sent to other chains are kept in the outbox until they are picked up by a randomly-appointed agent who will then send the message to the appropriate recipient chain’s inbox as well as any additional metadata 7 which that chain requires to validate that the transaction was included in the sending chain’s blockchain. Once this has been proven on the recipient blockchain, the transaction will be forwarded to the destination address / smart contract through an on-chain messaging proxy. In the case of value transfer from a parent blockchain (ex: Ethereum mainnet), a DepositBox is used as a money caching mechanism and two-way peg whereby vouchers are issued against this pooled value on each SKALE Chain and exchanged freely amongst participants in the same manner as transactions. When value is exchanged between SKALE Chains, the value is first destroyed on the sending chain before creating it on the receiving chain to eliminate the possibility of double-spend attacks. This process is also adhered to for redemption transactions sent to the Ethereum mainnet which free locked capital in the deposit box. Governance SKALE is a fully decentralized project that operates under the control of all community and SKL token holders. No entity or institution has control or authority over the network. All network decisions are made via group consensus. Developers work to create improvement proposals for the network. Any improvement proposal that impacts network economics must be approved by a vote. The mechanism for voting itself is flexible and subject 7 Agents within the network are required to send the committed block in which the transaction was included to the receiving chain so that it is able to verify that the transaction was included in the block and that the block has a valid BLS signature for the current node validator set. SKALE Network Whitepaper 16 to change based on proposals and voting. All code changes must be accepted, updated, and run independently by validator operators. Current voting mechanics and proposals can be viewed here: ● https://snapshot.org/#/skale.eth ● https://forum.skale.network/ SKALE Token - SKL The SKALE token (SKL) is a hybrid use token which represents the right to work in the network as a validator or access a share of its resources by deploying and renting an SKALE Chain for a period of time as a developer. Users pay SKALE in a subscription model to rent these resources (computation, storage, bandwidth) for a predetermined amount of time in the form of a SKALE Chain. Validators stake SKALE into the network and then gain the right to run nodes and earn both fees and tokens via inflation. SKL Token Economics can be accessed via the SKALE Network website: https://skale.space/tokenomics Summary The SKALE Network uses a unique “Built Different” model to achieve mass adoption level scaling for blockchain. SKALE’s mission as a decentralized project is to bring cost-effective, gas-free scalability to developers and users of blockchain applications globally. While many scalability techniques and architectures promise scaling and security, SKALE’s Built Different model has been proven to work in real-world applications across gaming, AI, DePin, social, DeFi, and more. SKALE Network Whitepaper 17 SKALE Terminology Term Description ABBA A randomized agreement protocol which guarantees validity, agreement, and probabilistic termination. ABFT A type of Byzantine Fault Tolerance which accounts for the possibility that some messages between honest participants are being delayed or not being delivered to their intended recipients. Catchup Agent The agent shipping with each node responsible for syncing the node with the current ‘tip’ of the SKALE Chain. This enables nodes which have faulted to come back online and download / verify the blocks they missed as well was the syncing of new nodes who have been shuffled into an existing SKALE Chain. DepositBox The smart contract which facilitates the locking and unlocking of capital on both SKALE Chains and the Ethereum mainnet. This mechanism is foundational to the implementation of a two-way peg for value transfer. Messaging Agent An agent which runs on each node and listens to connected SKALE Chains to facilitate interchain messaging. These agents are appointed to listen to incoming messaging at random times to mitigate the possibility of censorship. Parent Blockchain The blockchain from which value is drawn by way of a one or two-way peg. Peer Node Nodes in the network which are monitoring the uptime and latency of a specified node. Peer nodes report these metrics to the SKALE Manager at regularly scheduled network epochs. These metrics are used to determine the reward for the specified node. SKALE Network Whitepaper 18 SKALE Chain A Proof-of-Stake based chain that uses a randomly selected and frequently rotated set of network nodes. These nodes collectively, but in a decentralized and independent manner, accept user transactions, run SKALE consensus, and store identical copies of the SKALE Chain. A typical implementation will run a network node in a virtualization container such as a Docker container, so a single physical server can provide support to multiple SKALE Chains. SKALE Manager This contract (located on Ethereum) manages the orchestration of all entities within the network, inclusive of SKALE Chain creation / destruction, node creation / destruction, withdrawals, and bounties. SKALE Super Node Super Nodes in the SKALE Network which are responsible for the orchestration of resources for the creation and destruction of nodes, the monitoring of other nodes in the network, and interfacing with the SKALE Manager. Two-Way Peg Allows the transfer of one digital asset from one blockchain to a secondary blockchain and vice-versa. The transfer locks the digital asset on one blockchain while unlocking the equivalent amount on a secondary blockchain. The original digital asset can be unlocked when the equivalent amount of tokens on the secondary blockchain are locked, again. Node Nodes are allocated under Super Nodes to SKALE chain and run network validation, data availability, and storage. SKALE Protocol Parameters Name Description BEACON_TIME The time between empty block creation. If no one is submitting transactions to the blockchain, empty beacon blocks will be created. Beacon blocks are used to detect normal operat
프로젝트로 돌아가기