interface ENRStorage
(source)
Storage of node records
find |
Find a stored node record abstract fun find(nodeId: Bytes): Bytes? |
put |
Store an ENR record associated with a nodeId in the store. abstract fun put(nodeId: Bytes, enr: Bytes): Unit |
set |
Add an ENR record to the store open fun set(enr: Bytes): Unit |
DefaultENRStorage |
Default storage for Ethereum Node Records, backed by an in-memory hash map. class DefaultENRStorage : ENRStorage |