为什么要进行揭露手术?
1 个回答
- 投票数
以太坊检索公共密钥的方法仅适用于某些签名算法,在这种情况下为ECDSA和secp256k1.Tezos也将它用于tz2(和P-256用于tz3),但不用于使用EdDSA的tz1.通常,Tezos希望将来支持新的签名算法.从这个角度来看,Reveal更通用,并且可以与将来的所有更改一起使用.
(由于Arthur B.的贡献而编辑)
Ethereum way of retrieving the public key only works with some signing algorithms, ECDSA with secp256k1 in its case. It is also used by Tezos for tz2 (and P-256 for tz3), but not for tz1 which uses EdDSA. In general, Tezos wants to support new signature algorithms in the future. From this point of view, Reveal is more general and will work with probably all future changes.
(edited thanks to contributions from Arthur B.)
为了使每个人都能验证签名,必须使用
reveal operations
将公钥存储在区块链上.据我了解,以太坊不需要这种操作,可以从签名中检索它们.使用额外操作的优点是什么?