Add wallet inactivity timeout, and made wallet2 backend compile-time optional

This commit is contained in:
Lee Clagett
2025-04-08 00:09:44 -04:00
parent 7dfdb8d8c8
commit 4a6793608c
7 changed files with 211 additions and 21 deletions
+2
View File
@@ -39,6 +39,8 @@ namespace lwcli { namespace config
constexpr const std::string_view default_language{"English"};
//! Timeout interval for inactivity with open wallet
constexpr const std::chrono::minutes wallet_timeout{2};
namespace server
{
constexpr const std::string_view default_url{"http://127.0.0.1:8080"};