aboutsummaryrefslogtreecommitdiffstats
path: root/rlp/doc.go
diff options
context:
space:
mode:
authorS. Matthew English <s-matthew-english@users.noreply.github.com>2017-06-12 20:45:17 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-06-12 20:45:17 +0800
commit061889d4ea13b23d777efbe005210ead8667e869 (patch)
tree35a391e5ac09e683796c3c698f36542f06803d03 /rlp/doc.go
parente3dfd5582026a8744a80d3de407601526b720abb (diff)
downloaddexon-061889d4ea13b23d777efbe005210ead8667e869.tar
dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.gz
dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.bz2
dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.lz
dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.xz
dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.zst
dexon-061889d4ea13b23d777efbe005210ead8667e869.zip
rlp, trie, contracts, compression, consensus: improve comments (#14580)
Diffstat (limited to 'rlp/doc.go')
-rw-r--r--rlp/doc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rlp/doc.go b/rlp/doc.go
index 72667416c..b3a81fe23 100644
--- a/rlp/doc.go
+++ b/rlp/doc.go
@@ -17,13 +17,13 @@
/*
Package rlp implements the RLP serialization format.
-The purpose of RLP (Recursive Linear Prefix) qis to encode arbitrarily
+The purpose of RLP (Recursive Linear Prefix) is to encode arbitrarily
nested arrays of binary data, and RLP is the main encoding method used
to serialize objects in Ethereum. The only purpose of RLP is to encode
structure; encoding specific atomic data types (eg. strings, ints,
floats) is left up to higher-order protocols; in Ethereum integers
must be represented in big endian binary form with no leading zeroes
-(thus making the integer value zero be equivalent to the empty byte
+(thus making the integer value zero equivalent to the empty byte
array).
RLP values are distinguished by a type tag. The type tag precedes the