mirror of
https://github.com/status-im/nim-eth.git
synced 2025-02-23 11:18:17 +00:00
* add a profiling test * basic rlp profiler * force expansion of memory by reducing allocation size * optimize using two pass * fix two pass * add a chunked buffer implementation * add a chunked buffer implementation * multiple writers * add api tests * fixes * fix double stack update problem * using a length tracker * remove code redundancy * collect length in a different manner * add all tests * revert changes * fix * hash writer * fix * remove unwanted files * conditional length writer execution * perf improvements - remove adds * remove delete operations * do not use delete * lint code * fix build warnings * new benchmark contradicting results * use a static buffer for big endian * make lengths a tuple * compile time evaluation of types * static and dynamic pending lists * return hash32 * add block header hashing to profiler * add a more reliable profiler * add/update copyright * took TOO long for TWO lines of code
eth - Eth Common Library
Introduction
Ethereum-related utilities written in Nim. Includes things like Bloom filters, private/public key utilities, RLP, devp2p, and more.
Docs
Prerequisites
- Nim & Nimble
Building & Testing
# Install required modules
nimble install
# Run full test suite
nimble test
You can also run specific parts of the test suite, e.g.:
# Test p2p functionality
nimble test_p2p
# Test rlp functionality
nimble test_rlp
Fuzzing
Next to the test suite, there are also several fuzzing test cases available. How these can be run is explained in the fuzzing readme.
License
Licensed and distributed under either of
- MIT license: LICENSE-MIT or http://opensource.org/licenses/MIT
or
- Apache License, Version 2.0, (LICENSE-APACHEv2 or http://www.apache.org/licenses/LICENSE-2.0)
at your option. This file may not be copied, modified, or distributed except according to those terms.
Description
Languages
Nim
99.9%
Shell
0.1%