mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
16 lines
529 B
C++
16 lines
529 B
C++
#include "../common.hpp"
|
|
#include "wallet3/config/config.hpp"
|
|
|
|
namespace wallet {
|
|
void GeneralWalletConfig_Init(py::module& mod) {
|
|
py::class_<GeneralWalletConfig, std::shared_ptr<GeneralWalletConfig>>(
|
|
mod, "GeneralWalletConfig")
|
|
.def(py::init<>())
|
|
.def_readwrite("datadir", &GeneralWalletConfig::datadir)
|
|
.def_readwrite(
|
|
"append_network_type_to_datadir",
|
|
&GeneralWalletConfig::append_network_type_to_datadir);
|
|
}
|
|
|
|
} // namespace wallet
|