// Generated by mpgen from /build/bitcoin/src/bitcoin-30.2/src/ipc/capnp/common.capnp

#ifndef CAPNP_COMMON_CAPNP_PROXY_TYPES_H
#define CAPNP_COMMON_CAPNP_PROXY_TYPES_H

// IWYU pragma: no_include "mp/proxy.h"
#include <mp/proxy.h> // IWYU pragma: keep
#include <src/ipc/capnp/common.capnp.proxy.h> // IWYU pragma: keep
#include "ipc/capnp/common-types.h" // IWYU pragma: export
namespace mp {
template<>
struct ProxyType<interfaces::BlockRef>
{
public:
    using Struct = ipc::capnp::messages::BlockRef;
    static decltype(auto) get(std::integral_constant<size_t, 0>) { return &interfaces::BlockRef::hash; }
    static decltype(auto) get(std::integral_constant<size_t, 1>) { return &interfaces::BlockRef::height; }
    static constexpr size_t fields = 2;
};
} // namespace mp
#endif
