概要 This is a serialization method for encoding arbitrarily structured binary data (byte arrays). 这是以太坊黄皮书中对RLP编码的定义,以太坊中的所有对象都会使用RLP编码序列化为字节数组。 RLP把数据分成两类,一类是所有的字节数组的集合(e.g.…
以太坊源码阅读2——RLP编码
RLP介绍
目前网上的资料都是RLP(Recursive Length prefix),叫递归长度前缀编码,但目前源码的doc.go的第20行里面的注释写的是
The purpose of RLP (Recursive Linear Prefix) is to encode arbitrarily nested arrays of
…