美文网首页EOS技术爱好者区块链研习社金马带你定投区块链
【EOS资讯】 拉开序幕:“BIOS”引导启动EOSIO区块链

【EOS资讯】 拉开序幕:“BIOS”引导启动EOSIO区块链

作者: Lochaiching | 来源:发表于2018-03-14 17:27 被阅读208次

    版权声明:

    以下内容来自微信公共帐号“EOS技术爱好者”,搜索“EOSTechLover”即可订阅,译者Lochaiching。转载必须保留以上声明。仅授权原文转载。

    本文原文内容链接来自于https://medium.com/eosio/bios-boot-eosio-blockchain-2b58b8a978a1,作者 Thomas Cox,由本号“EOS技术爱好者”翻译。

    全文内容如下:


    Once Upon a Time: BIOS Booting an EOSIO blockchain

    EOS序幕:“BIOS”引导启动EOSIO区块链

    作者:Thomas Cox

    译者:Lochaiching

    Discussions within the EOS community has led me to believe that the EOS Software’s boot-up sequence will probably be something like the following, which I offer here in the spirit of capturing the consensus of the community. (Nothing here is a promise of what will actually happen or that any implied software feature will actually be created.)

    EOS社区中的讨论让我觉得EOS软件启动的顺序有可能会像以下我讲的这样,我在这里提一些社区共识的精神(以下内容不构成任何承诺,也非暗示任何隐含的功能会出现)。

    Phase 0: Pre-Boot

    1. Prior to Go-Live, the Block Producer community will identify a quorum of their most technically proficient members, who are also willing to volunteer to join the Go-Live Pool. A target number of 50 has been suggested for the quorum.

    2. Just before Go-Live, the Pool members will use a provably random technique(*) to select 22 of their members to create the Go-Live Team. They then establish highly secure mutual VPN connections to help with resistance to DDOS and other attacks. They publish the list of their members, but not immediately.

    3. The EOS token distribution grace period ends at 22:00 UTC on 02-Jun-2018. At this moment, the EOS ERC-20 tokens can be frozen and an EOS.IO Software based blockchain containing an accurate snapshot of EOS beginning balances can be created.

    4. Once the Snapshot of beginning balances is taken and verified by 15 of the 22 members of the Go-Live Team (they publish this for external verification), they again use a provably random technique to select 1 of their members as the BIOS Boot node. This member now generates a new EOS keypair to be used solely for the BIOS Boot process.

    第0阶段:预备启动

    1,在Go-Live之前,BP社区需要确定团队中最精通技术成员的法定人数,他们自愿加入Go-Live Pool。建议的目标人数是50人。

    2,在Go-Live之前,Pool将使用一种随机技术(*)选出22个成员来创建Go-Live团队。然后他们建立高度安全、能相互连接的VPN,用以抵抗DDOS和其他攻击。他们需要公布了成员名单,但不要求马上公布。

    3,EOS代币分配宽限期于20186222:00时结束。在这个时候,ERC-20上的EOS 代币将被冻结,基于区块链的EOS.IO软件会做一个准确的EOS初始余额快照。

    4,一旦初始余额的快照由Go-Live 22个成员中的15位(他们发布这个用于外部验证)完成了验证,他们就再用那种随机的技术来选择其中一位成员,用BIOS引导启动的节点。该成员生成一个新的EOS密钥对,仅用于BIOS引导启动过程。


    Phase 1: BIOS Boot

    1. This one BIOS Boot node grabs the Genesis Block provided in the software distribution and bootstraps the chain:

    Builds the first new block;

    Installs the core operating contracts via a the system account that uses the newly created EOS keypair for the BIOS Boot;

    Installs a list of 21 Appointed Block Producers (ABPs) who will be charged with holding initial elections. This list consists of the other 21 members of the Go-Live Team;

    The BIOS Boot node assigns such system powers to the 21 ABPs as is necessary to hold initial elections, and no more; and

    finally he removes his own key from all system authorities. The BIOS Boot node should next publish his private BIOS Boot key (it’s now useless) so others can audit and re-create his work.

    第一阶段:“BIOS”引导启动

    1,一个BIOS引导启动节点来抓取软件分发中提供的Genesis模块,并引导这条链:

    构建第一个新块;

    通过使用新创建的EOS密钥对的系统帐户安装核心操作合同,来用BIOS引导启动;

    安装一个由在首次选举中产生21个指定的区块生产商(ABPs)组成的名单,这个名单包括了其他21名 Go-Live的团队成员;

    BIOS启动节点将这样的系统权限分配给21个ABP,这是进行初始选举必须要做的;

    最后,他从所有的系统部门中删除了自己的钥匙。BIOS引导节点接下来应该发布他的BIOS引导私钥(在这个时候没用了),这样其他人就可以进行审计并重新开始创建自己的工作了。


    Phase 2: Appointed BPs

    1. The ABPs connect and validate the chain’s initial setup of system accounts and balances, and start making blocks. The BIOS Boot node then drops out and returns to the pool of BP Candidates. (The BIOS Boot node is ineligible for election until after 10 rounds of block production by Elected BPs.) Total elapsed time as a single node blockchain: less than 9 seconds. Once the 21 ABPs are visible and operating the chain, participants can connect.

    2. The remainder of the Go-Live Pool can connect and propose themselves as Candidate BPs for election.

    3. Token holders can connect and stake tokens for voting and cast votes on the election of BPs.

    4. The ABPs’ only job is to hold elections in which they themselves are ineligible, as is the BIOS BP. They replace themselves with 21 Elected BPs (EBPs). This election requires 21 EBPs to be created as a single group, to switch over to the now complete running chain, and will take some rounds to organise as the remaining BPs in the Go-Live Pool connect in. Other BP Candidates can also connect and place themselves into the running. (ABPs, like the BIOS Boot BP, are ineligible for election until 10 rounds of successful block production by 21 EBPs.)

    第二阶段:指定区块生产商

    1,指定区块生产者们连接并验证链的系统帐户和余额的初始设置,并开始出块。BIOS引导节点需要退出返回到BP候选池(BIOS引导节点不具备选举资格,除非是经过10轮BP选举产生)。区块中单个节点的总运行时间小于9秒。一旦这21个ABP被运行一条链并公开这条链,其他参与者就可以连接。

    2,剩余的Go-Live Pool中的成员可以连接并申请作为候选BP,进行选举。

    3,代币持有人可以连接和抵押代币来投票选出BP。

    4,ABP的主要工作是组织选举,在选举完成后他们和BIOS BP都暂时无权成为参选人,至少在短期内,21个被选举出来的区块生产者 (EBPs)代替他们。这次选举需要21个EBP组建一个小组,重新切换到最新的完整运行的链上,并将在Go-Live池中剩余BP们重新组织起来,其他BP候选人也可以联系并将自己投入到竞选中。(ABP,就像BIOS引导的BP一样,没有资格进行选举,直到10轮后成功产生21个EBP为止。)

    Phase 3: Elected BPs

    The EBPs begin processing ‘normal’ transactions and holding the ongoing, once-per-round election for BPs that continues indefinitely, as part of the heartbeat of the blockchain. After 10 rounds, an EBP can be replaced by the former ABPs or the former BIOS BP, or any new contender, and some churn is expected over the first few hours and days as voters connect and cast initial votes.

    第三阶段:BP当选

    1,EBP开始处理“正常”的交易,并作为区块链的部分重要环节,持续不断进行一次又一次的BP选举。10轮之后,EBP可以被之前的ABP或者BIOS BP取代,或者其他不同的竞争者。并且预计在选举后不久,随着选民的意见讨论和投票方向的不同,会出现一些混乱。

    Phase 4: Constitution Zero

    At this point, we enter a new phase — the replacement of the default Constitution, numbered #0. This phase lasts longer:

    1. During this phase, proposed Constitutions are proposed by any holder of stake at any time to replace the default.

    2. Each proposed Constitution may be voted by all holders of stake according to the software algorithm in place at the time.

    3. A Constitution becomes Constitution #1 when it:

    reaches a plain majority (greater than 50% of active accounts on stake) and holds that for 15 days,OR,

    holds a leading position for 30 days.

    第四阶段:宪法从零开始

    在这个时候,我们进入一个新阶段——从编号为#0的宪法开始,替换掉之前默认的版本。这一阶段中:

    1,在此阶段中,任何持有代币权益的人不管在什么时候,都可以用将要执行的宪法来代替掉之前默认的版本。

    2,根据当时的软件算法,被提议的宪法由全部持有代币权益者投票选出。

    3,第一条宪法正式生效,当它:

    达到普遍多数持有者的票数(超过50%的活跃账户持有者)并持续15天,或者

    担任领导职务30天。

    Phase 5: Validation

    Until validation, no tokens can be transferred between accounts and no block rewards can be paid. Validation occurs when

    accounts totaling 15% or more of the total EOS token balance connect to the network and perform a valid transaction. AND

    When a Constitution is selected as #1.

    (*) the provably random selection method will be published later for audit.

    第五阶段:验证生效期

    在验证生效之前,帐户之间转移不了代币,出块生产者也没有任何出块奖励。当以下情况时验证期生效:

    帐户中EOS代币余额15%或更多的量,需要连接到网络并执行一个验证交易。并且

    当宪法被升级从版本0到版本1

    (*)可确定的随机选择方法将在稍后公布,以供审计。


    本文原文内容链接来自于https://medium.com/eosio/bios-boot-eosio-blockchain-2b58b8a978a1,作者 Thomas Cox,由本号“EOS技术爱好者”的Lochaiching翻译。转载请参照本文文首说明。

    更多内容,可关注“EOS技术爱好者”

    要是本文对你有帮助,可用以下erc-20地址给我们打赏哦

    相关文章

      网友评论

        本文标题:【EOS资讯】 拉开序幕:“BIOS”引导启动EOSIO区块链

        本文链接:https://www.haomeiwen.com/subject/tytqqftx.html