2

I just would like to check my understanding.

In Bitcoin platform, the miner who does the following: - verify each unconfirmed transaction. - group them in a block - hash the block and find the nonce ( proof of work )

Now, in Ethereum platform, who is the minor ? does the node which call a function in the smart contract can be called ( minor ) ??

If yes, what is the name of parties who call a smart contract function to follow the contract ??

Now I have coded a smart contract to set the prices between parties, each party has to call the function in the smart contract with goods amounts and the contract will calculate the settlement.

Each party has to pay gas to execute this call. Who will get this fees, EVM ( as a fees of call execution ) ???

and does the gas amount changes based on the amount of data in the call ( as a parameter ) or on the code complexity??

Thanks

4

1 回答 1

2

工作量证明是比特币中使用的共识算法。区块链的每个实现都有自己的共识算法。

共识算法的目的是允许根据特定规则更新交易状态,其中应用规则的权利分布在一定数量的节点之间。必要的节点数量由一组有权根据共识算法做出决策的用户确定。

以太坊

  • 共识算法:权益证明

  • 比特币的未成年人是以太坊的验证者。验证者被随机分配提出区块的权利。

超级账本:

  • 共识算法:PBFT

  • Peers 将调用智能合约

于 2017-07-13T17:08:48.080 回答