2023-03-10 00:33:52 +00:00
|
|
|
## An extension wrapper around nim-eth's ENR module
|
|
|
|
|
2023-03-21 16:27:51 +00:00
|
|
|
import eth/p2p/discoveryv5/enr
|
2024-03-15 23:08:47 +00:00
|
|
|
import ./enr/builder, ./enr/typed_record
|
2023-03-21 16:27:51 +00:00
|
|
|
|
|
|
|
export
|
2024-03-15 23:08:47 +00:00
|
|
|
enr.Record,
|
|
|
|
enr.EnrResult,
|
|
|
|
enr.get,
|
|
|
|
enr.tryGet,
|
|
|
|
enr.fromBase64,
|
|
|
|
enr.toBase64,
|
|
|
|
enr.fromURI,
|
|
|
|
enr.toURI,
|
|
|
|
enr.FieldPair,
|
|
|
|
enr.toFieldPair,
|
|
|
|
enr.init, # TODO: Delete after removing the deprecated procs
|
2023-03-21 16:27:51 +00:00
|
|
|
builder,
|
|
|
|
typed_record
|