Commit graph

26 commits

Author SHA1 Message Date
Jason Rhinelander 13409ad00e
run clang format 2023-04-13 17:15:12 -03:00
Sean Darcy 49766634a4 rename db_schema to walletdb 2023-03-24 00:10:09 +00:00
Sean Darcy 1aafc767ad implement unlocked balance 2023-03-24 00:10:09 +00:00
Sean Darcy 12d77b3456 load keyring into wallet using initializer 2023-03-24 00:10:09 +00:00
Sean Darcy c95806223d blobs for keys in db 2023-03-15 09:13:18 +11:00
Sean Darcy 3648ef28b2 Cleanup of wallet3 code 2023-03-15 09:13:07 +11:00
Sean Darcy cc2388712f cleanup of wallet3 code - change to db schema to remove keyring object 2023-03-02 12:32:39 +11:00
Sean Darcy 03e18fcb55 Introduces Subaddresses to Wallet3 2023-02-16 08:18:09 +11:00
Sean Darcy 8a577a4bc7 Introduces OMQ to cli and additional commands 2023-02-16 08:17:55 +11:00
Sean Darcy 966c172d59 introduces logging to wallet3 2023-02-15 10:37:42 +11:00
Sean Darcy 172093fbbf wallet3 cli
This introduces wallet3 cli to the codebase, build using python and
wraps the c++ wallet3 core using pybind.
2022-12-06 08:10:31 +11:00
Sean f8307ee34e
Merge pull request #1598 from darcys22/wallet3-test-fixes
fixes wallet3 test segfault, first test passing
2022-10-26 09:51:39 +11:00
Jason Rhinelander 0cf55f3945
Add garbage to make it work on a garbage OS
- Don't touch <fmt/std.h> because it touches std::filesystem which makes
  macOS throw a hissy fit and refuse to compile.
- int_to_string is broken on macOS because it uses std::to_chars which
  makes macos throw a hissy fit like a cranky old female cat seeing a
  kitten if it sees it.
- wallet3 was using std::filesystem and std::visit, both of which make
  macos throw a hissy fit.  (There is a pattern here).  Apply the dumb
  fs::path and var::visit workarounds needed to appease this garbage OS.
- use var::get (from oxenc/variant.h) instead of std::get because, oh
  yeah, we need to support a garbage OS that Apple themselves don't even
  properly support.  Yay!
2022-10-17 13:45:24 -03:00
Sean Darcy 6146a88acd fixes wallet3 test segfault, first test passing 2022-09-28 16:52:29 +10:00
Thomas Winget ebbc0e5644 wallet3 changes and demo fixup
demo is vaguely presentable now.  syncing and basic tx send work.
change output was being sent to void (change address was unimplemented)
but that works now as well.
2022-08-30 19:58:51 -04:00
Thomas Winget d4b6f967fd Merge most recent dev and wallet3 branches
Fixes a few merge conflicts, several compilation errors, and
some behavioral incorrectness.  Still a few bugs with wallet3
but as far as I can tell wallet2 and daemon etc. should be working
correctly.
2022-08-22 19:25:49 -04:00
Sean Darcy 415098f9e9 Wallet RPC calls for Get Balance, Get Address and Export Keys 2022-08-01 17:21:25 -04:00
Sean Darcy cf6c3724cb Config Struct for wallet3
This brings a simple config structure into the wallet3 that all of the
wallet submodules should be able to access. The first module included in
this PR is the daemon comms module which has its own substruct on the
config and the submodule is now constructed with a reference to the
config.
2022-08-01 17:21:01 -04:00
Thomas Winget 827cb3fe6c lots of minor wallet 3 fixes, rct signing still failing verification 2022-04-04 22:14:08 -04:00
Thomas Winget 676aa56bbb very basic tx construction, signing, and submission should be working
still def needs (much) testing
2022-03-28 22:24:29 -04:00
Sean Darcy 3d3765f1ae key image generates correctly 2022-03-28 22:24:29 -04:00
Thomas Winget f67c0f8c4b refactor wallet3 db usage
db usage all now abstracted rather than having sql lying around everywhere.

fix a couple minor bugs in tx construction logic.
2022-03-28 22:24:29 -04:00
Thomas Winget e65cfb8ab6 wallet3 rpc initial commit
omq rpc intitialization; needs parameters

legacy rpc call definitions, descriptions, boilerplate, and addition
to omq rpc registry
2022-03-28 22:24:29 -04:00
Sean Darcy d7fe7646fc initial commit for decoy selection 2021-12-14 15:37:57 +11:00
Thomas Winget b85c01ba60 rename wallet3 functions to be more in line with the rest of the codebase 2021-12-06 16:04:11 -05:00
Thomas Winget ecb62e8fab Wallet3 squashed initial commit
tx scanning for basic transactions working
  - TODO: subadresses.  The scanning code is there, but it does not
  currently know/care about any subaddresses.

daemon comms for basic syncing working

(multi-)wallet sync more or less working properly
  - seem to have a dangling shared_ptr somewhere when removing a wallet from
  daemon comms, so not working perfectly yet.

Lots of TODOs and cleanup needed, as well as further features of course.
2021-11-30 16:31:54 -05:00