我使用p乙基a和web3.js在专用网络上进行交易。
var to = "1152a50b91887591a2447b233105f392dbae72ce";
var from = "4dfd7cb92bca796821d5fc4512a6a02cc98d833d";
var json_data = {"Hi!" : "Hello World!!!"};
var tx_hash = web3.eth.sendTransaction({from: from_addr, to: to_addr, value: web3.toWei(1
根据Etalum2.0(切分)中的“叉子选择规则”,如何在叉子中选择分支?(A)或(B)?
(A)支行,其中区块最多。(类似于PoW中的“最长链”规则) (B)分支,在所有块中都有更多的测试人员。
例如,假设分叉中有两个分支:
(1) branch one: including 10 blocks, signed by 8 unique attesters.
(2) branch two: including 8 blocks, signed by 10 unique attesters.
根据Etalum2.0(切分)中的“叉子选择规则”,将在此叉中选择哪个分支?(1)或(2) ?