oxen-core/pybind/wallet/wallet_config.cpp

16 lines
351 B
C++

#include "../common.hpp"
#include "wallet3/config/config.hpp"
namespace wallet
{
void
WalletConfig_Init(py::module& mod)
{
py::class_<Config, std::shared_ptr<Config>>(mod, "WalletConfig")
.def(py::init<>())
.def_readwrite("daemon", &Config::daemon)
.def_readwrite("omq_rpc", &Config::omq_rpc);
}
} // namespace wallet