nim-eth/eth
Kim De Mey 7f20d79945
Overhaul of ENR implementation - part I (#707)
- Rework adding and updating of fields by having an insert call
that gets used everywhere. Avoiding also duplicate keys. One
side-effect of this is that ENR sequence number will always get
updated on an update call, even if nothing changes.
- Deprecate initRecord as it is only used in tests and is flawed
- Assert when predefined keys go into the extra custom pairs.
Any of the predefined keys are only to be passed now via specific
parameters to make sure that the correct types are stored in ENR.
- Clearify the Opt.none behaviour for Record.update
- When setting ipv6, allow for tcp/udp port fields to be used
default
- General clean-up
- Rework/clean-up completely the ENR tests.
2024-06-24 14:57:39 +02:00
..
common Revert GasInt back to int64 (#703) 2024-06-13 12:11:16 +02:00
db results: use standalone repo (#687) 2024-05-30 14:46:57 +02:00
keyfile Use results.Opt instead of option in discv5, utp and nat (#705) 2024-06-18 18:09:27 +02:00
net Use results.Opt instead of option in discv5, utp and nat (#705) 2024-06-18 18:09:27 +02:00
p2p Overhaul of ENR implementation - part I (#707) 2024-06-24 14:57:39 +02:00
rlp rlp: avoid or make faster seq copies (#689) 2024-06-06 20:27:43 +02:00
trie Reduce compiler warnings related to rlp encode int (#699) 2024-06-12 09:29:18 +07:00
utp Use results.Opt instead of option in discv5, utp and nat (#705) 2024-06-18 18:09:27 +02:00
async_utils.nim better async timeout wait (#659) 2024-01-16 18:12:47 +01:00
bloom.nim clean up eth_types (#531) 2022-09-02 16:57:52 +02:00
common.nim clean up eth_types (#531) 2022-09-02 16:57:52 +02:00
eip1559.nim Add a helper for calculating the EIP1559 base fee 2022-08-18 23:36:45 +03:00
keyfile.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
keys.nim Fix missing CancelledError on discv5 waitMessage + results imports (#704) 2024-06-13 12:11:25 +02:00
p2p.nim Use asyncraises in p2p (#675) 2024-02-14 15:59:13 +07:00
rlp.nim Fix missing CancelledError on discv5 waitMessage + results imports (#704) 2024-06-13 12:11:25 +02:00
trie.nim binary tries: remove (#684) 2024-05-26 09:57:59 +02:00