aboutsummaryrefslogtreecommitdiffstats
path: root/docs/rlp_tests
diff options
context:
space:
mode:
authorholgerd77 <Holger.Drewes@gmail.com>2017-08-31 00:09:50 +0800
committerholgerd77 <Holger.Drewes@gmail.com>2017-08-31 00:09:50 +0800
commit8c57822dfc87113759af346267affdf6941d531a (patch)
tree3d95081e2a0a7b68ce1d69b2ea6e72dcefae99d3 /docs/rlp_tests
parent1b839c9f8b2db51ceb422e13523b3c67f71f52da (diff)
downloaddexon-tests-8c57822dfc87113759af346267affdf6941d531a.tar
dexon-tests-8c57822dfc87113759af346267affdf6941d531a.tar.gz
dexon-tests-8c57822dfc87113759af346267affdf6941d531a.tar.bz2
dexon-tests-8c57822dfc87113759af346267affdf6941d531a.tar.lz
dexon-tests-8c57822dfc87113759af346267affdf6941d531a.tar.xz
dexon-tests-8c57822dfc87113759af346267affdf6941d531a.tar.zst
dexon-tests-8c57822dfc87113759af346267affdf6941d531a.zip
Fix headings, line breaks
Diffstat (limited to 'docs/rlp_tests')
-rw-r--r--docs/rlp_tests/index.rst20
1 files changed, 12 insertions, 8 deletions
diff --git a/docs/rlp_tests/index.rst b/docs/rlp_tests/index.rst
index 00ba3dc7b..154bd5890 100644
--- a/docs/rlp_tests/index.rst
+++ b/docs/rlp_tests/index.rst
@@ -1,22 +1,26 @@
.. _rlp_tests:
-################################################################################
RLP Tests
-################################################################################
+=========
-Describes an **RLP** (https://github.com/ethereum/wiki/wiki/RLP) encoding using the .json file.
-The client should read the rlp byte stream, **decode** and check whether the contents match its json representation. Then it should try do it reverse - **encode** json rlp representation into rlp byte stream and check whether it matches the given rlp byte stream.
+Describes an **RLP** (https://github.com/ethereum/wiki/wiki/RLP) encoding using
+the .json file. The client should read the rlp byte stream, **decode** and check
+whether the contents match its json representation. Then it should try do it
+reverse - **encode** json rlp representation into rlp byte stream and check whether
+it matches the given rlp byte stream.
If it is an invalid RLP byte stream in the test, then 'in' field would contain string 'INVALID'
-Some RLP byte streams are expected to be generated by fuzz test suite. For those examples 'in' field would contain string 'VALID' as it means that rlp should be easily decoded.
+Some RLP byte streams are expected to be generated by fuzz test suite. For those
+examples 'in' field would contain string 'VALID' as it means that rlp should be easily decoded.
RLP tests are located in in ``/RLPTests``
-**Note** that RLP tests are testing a single RLP object encoding. Not a stream of RLP objects in one array.
+**Note** that RLP tests are testing a single RLP object encoding. Not a stream of
+RLP objects in one array.
Basic structure
---------------------------------------------------------------------------------
+---------------
::
@@ -44,7 +48,7 @@ Basic structure
}
Sections
---------------------------------------------------------------------------------
+--------
* ``in`` - json object (array, int, string) representation of the rlp byte stream (\*except values 'VALID' and 'INVALID')
* ``out`` - string of rlp bytes stream