common.capnp raw

   1  # Copyright (c) 2024-present The Bitcoin Core developers
   2  # Distributed under the MIT software license, see the accompanying
   3  # file COPYING or http://www.opensource.org/licenses/mit-license.php.
   4  
   5  @0xcd2c6232cb484a28;
   6  
   7  using Cxx = import "/capnp/c++.capnp";
   8  $Cxx.namespace("ipc::capnp::messages");
   9  
  10  using Proxy = import "/mp/proxy.capnp";
  11  $Proxy.includeTypes("ipc/capnp/common-types.h");
  12  
  13  struct BlockRef $Proxy.wrap("interfaces::BlockRef") {
  14      hash @0 :Data;
  15      height @1 :Int32;
  16  }
  17