mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-03 10:16:14 +00:00
-BEGIN VERIFY SCRIPT- sed --in-place --regexp-extended \ 's;( 20[0-2][0-9])(-20[0-2][0-9])? The Bitcoin Core developers;\1-present The Bitcoin Core developers;g' \ $( git grep -l 'The Bitcoin Core developers' -- ':(exclude)COPYING' ':(exclude)src/ipc/libmultiprocess' ':(exclude)src/minisketch' ) -END VERIFY SCRIPT-
18 lines
588 B
Cap'n Proto
18 lines
588 B
Cap'n Proto
# Copyright (c) 2021-present The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
@0x888b4f7f51e691f7;
|
|
|
|
using Cxx = import "/capnp/c++.capnp";
|
|
$Cxx.namespace("ipc::capnp::messages");
|
|
|
|
using Proxy = import "/mp/proxy.capnp";
|
|
$Proxy.include("interfaces/echo.h");
|
|
$Proxy.includeTypes("ipc/capnp/echo-types.h");
|
|
|
|
interface Echo $Proxy.wrap("interfaces::Echo") {
|
|
destroy @0 (context :Proxy.Context) -> ();
|
|
echo @1 (context :Proxy.Context, echo: Text) -> (result :Text);
|
|
}
|