#>cpp
#pragma once

#include "communication/rpc/messages.hpp"
#include "distributed/storage_gc_rpc_messages.capnp.h"
#include "io/network/endpoint.hpp"
#include "transactions/transaction.hpp"
cpp<#

(lcp:namespace distributed)

(lcp:capnp-namespace "distributed")

(lcp:define-rpc ran-local-gc
    (:request
     ((local-oldest-active "tx::TransactionId" :capnp-type "UInt64")
      (worker-id :int16_t)))
  (:response ()))

(lcp:pop-namespace) ;; distributed
