/
githubmirror
/
bitcoin
Обзор
Документация
Войти
/
githubmirror
/
bitcoin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v31.1
src/interfaces/echo.h
26 строк
664 B
MarcoFalke
scripted-diff: [doc] Unify stale copyright headers
17 дек 2025, 00:21
17 дек 2025, 00:21
fa5f297
Код
Авторство
О чём код?
// 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. #ifndef BITCOIN_INTERFACES_ECHO_H #define BITCOIN_INTERFACES_ECHO_H #include <memory> #include <string> namespace interfaces { //! Simple string echoing interface for testing. class Echo { public: virtual ~Echo() = default; //! Echo provided string. virtual std::string echo(const std::string& echo) = 0; }; //! Return implementation of Echo interface. std::unique_ptr<Echo> MakeEcho(); } // namespace interfaces #endif // BITCOIN_INTERFACES_ECHO_H