Skip to content

discv4/discv4_enr_request.hpp

Namespaces

Name
discv4

Classes

Name
struct discv4::discv4_enr_request
ENRRequest packet — discv4 wire type 0x05 (EIP-868).

Source code

// Copyright 2026 Genius Ventures, Inc.
// SPDX-License-Identifier: MIT

#ifndef EVMRELAY_INCLUDE_DISCV4_DISCV4_ENR_REQUEST_HPP
#define EVMRELAY_INCLUDE_DISCV4_DISCV4_ENR_REQUEST_HPP

#include <cstdint>
#include <vector>

namespace discv4 {

struct discv4_enr_request
{
    uint64_t expiration = 0U;  

    [[nodiscard]] std::vector<uint8_t> RlpPayload() const noexcept;
};

} // namespace discv4


#endif // EVMRELAY_INCLUDE_DISCV4_DISCV4_ENR_REQUEST_HPP

Updated on 2026-06-05 at 17:22:18 -0700