geth里面的rlpdump工具是用来干啥的?
发布于 1 个月前 作者 mysql2017 152 次浏览 来自 以太坊

rlpdump --help的帮助文档是这样的

Usage: ./rlpdump [-noascii] [-hex <data>] [filename]
  -hex string
    	dump given hex data
  -noascii
    	don't print ASCII strings readably
  -single
    	print only the first element, discard the rest

Dumps RLP data from the given file in readable form.
If the filename is omitted, data is read from stdin.

官方的解释是: Developer utility tool to convert binary RLP (Recursive Length Prefix) dumps (data encoding used by the Ethereum protocol both network as well as consensus wise) to user friendlier hierarchical representation (e.g. rlpdump --hex CE0183FFFFFFC4C304050583616263).

但是,还是没看懂是干啥的,有什么用?

回到顶部