It is the entry point into the BSC network (main-, test- or private net), capable of running as a full node (default), archive node (retaining all historical state) or a light node (retrieving data live). The bsc project comes with several wrappers/executables found in the cmd Once the dependencies are installed, runĮxport CGO_CFLAGS= "-O -D_BLST_PORTABLE_ " export CGO_CFLAGS_ALLOW= "-O -D_BLST_PORTABLE_ " Executables Them using your favourite package manager. Many of the below are the same as or similar to go-ethereum.įor prerequisites and detailed build instructions please read the Installation Instructions.īuilding geth requires both a Go (version 1.19 or later) and a C compiler (GCC 5 or higher). perform cross-chain operations, such as transfer token assets across BNB Smart Chain and BNB Beacon Chain.pay gas to deploy or invoke Smart Contract on BSC.Stateful solidity contracts to store validator set and trusted appHash.īNB will run on BNB Smart Chain in the same way as ETH runs on Ethereum so that it remains as native token for BSC. Stateless Precompiled contracts to do tendermint header verification and Merkle Proof verification.To achieve the cross-chain communication from BNB Beacon Chain to BNB Smart Chain, need introduce a on-chain light client verification algorithm. Parlia consensus engine will interact with a set of system contracts to achieve liveness slash, revenue distributing and validator set renewing func.The validator set change is relayed via a cross-chain communication mechanism.Validator set are elected in and out based on a staking based governance on BNB Beacon Chain.Validators take turns to produce blocks in a PoA manner, similar to Ethereum's Clique consensus engine.Blocks are produced by a limited set of validators.To combine DPoS and PoA for consensus, BNB Smart Chain implement a novel consensus engine called Parlia that: It increases the decentralization and favors community governance. Other blockchains, such as EOS and Cosmos both, introduce different types of Deputy Proof of Stake (DPoS) to allow the token holders to vote and elect the validator set. the nodes that take turns to produce blocks, have all the authorities and are prone to corruption and security attacks. Meanwhile, the PoA protocol is most criticized for being not as decentralized as PoW, as the validators, i.e. Proof-of-Authority(PoA) provides some defense to 51% attack, with improved efficiency and tolerance to certain levels of Byzantine players (malicious or hacked). Key features Proof of Staked AuthorityĪlthough Proof-of-Work (PoW) has been approved as a practical mechanism to implement a decentralized network, it is not friendly to the environment and also requires a large size of participants to maintain the security. As the native token, BNB will serve as both the gas of smart contract execution and tokens for staking.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |