简体   繁体   English

以太坊区块链使用什么编码

[英]What encoding does the Ethereum blockchain use

Is there a way to figure out the encoding scheme Ethereum uses ?有没有办法找出以太坊使用的编码方案? It looks like bitcoin used Base 64 encoding as shown here .它看起来像如图比特币使用Base 64编码这里 Just trying to figure out regarding the Ethereum只是想弄清楚关于以太坊

Ethereum uses RLP which uses serialization.以太坊使用使用序列化的 RLP。 It is developed by ethereum developers.它是由以太坊开发人员开发的。 RLP is a deterministic scheme, whereas other schemes may produce different results for the same input, which is not unacceptable on a blockchain. RLP 是一种确定性方案,而其他方案对于相同的输入可能会产生不同的结果,这在区块链上是不可接受的。 Even a small change will lead to a totally different hash and will result in data integrity problems that will render the entire blockchain useless.即使是很小的更改也会导致完全不同的哈希值,并会导致数据完整性问题,从而使整个区块链变得无用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM