Kim De Mey
8088fe72d7
Update discv5 to use non deprecated ENR calls and simplify code ( #710 )
...
And due to avoiding an extra PublicKey.fromRaw call we get a
little performance boost also.
2024-06-27 16:18:21 +02:00
Kim De Mey
d7577f59d7
Rework of ENR decoding code ( #709 )
...
- Rework to have exception raise only at rlp decoding and use
result types from then onwards
- Adjust the current API to have result versions and deprecated
the ones which had var Record + bool
- Add PublickKey to the Record object, as this allows us to skip
fromRaw calls whenever access is needed to the public key
- Add a TypedRecord.fromRecord which cannot fail and deprecate
the old one
- Some other minor clean-up & re-ordering
2024-06-27 15:15:23 +02:00
Kim De Mey
26212c881b
Use results.Opt instead of option in discv5, utp and nat ( #705 )
...
+ some other minor cleanups
2024-06-18 18:09:27 +02:00
Kim De Mey
21f3014f54
Remove usage of stew/shim/net ( #670 )
...
* Remove usage of stew/shim/net and replace with std/net where needed
* Remove chronosStrictException compile flag
2024-01-24 09:09:11 +01:00
tersec
ca4898e24a
switch NAT module from ValidIpAddress to IpAddress ( #647 )
...
* switch NAT module from ValidIpAddress to IpAddress
* fix dcli build
* switch discv5 from ValidIpAddress to IpAddress
* fix fuzzers build
* mostly finish nim-eth to IpAddress transition
2023-11-10 09:28:21 +03:00
Kim De Mey
df6020832b
Build fuzzing tests in CI and fix current fuzzing tests ( #396 )
...
* Build fuzzing tests in CI and fix current fuzzing tests
* Build fuzzing tests separately (fix Windows CI)
2021-09-07 16:00:01 +02:00
kdeme
f0638eb3f1
Add rlp_decode fuzz test + some corpus generate code
2020-07-20 17:09:15 +02:00
Kim De Mey
28a8d52308
Fix enr deserialization crash + more tests + fuzz test ( #274 )
...
* Fix enr deserialization crash + more tests + fuzz test
* CI: Install depsOnly
2020-07-11 01:28:53 +02:00