Commit graph

13 commits

Author SHA1 Message Date
Sean Darcy 12d77b3456 load keyring into wallet using initializer 2023-03-24 00:10:09 +00: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 966c172d59 introduces logging to wallet3 2023-02-15 10:37:42 +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 c9934b9f5f
Change most oxen::log::whatever to log::whatever
oxen::log::info(...), etc. are a bit too verbose; this simplifies them
to just `log::info(...)`, etc. by aliasing the `oxen::log` namespace
into most of the common namespaces we use in core.

This result is usage that is shorter but also reads better:

    oxen::log::info(logcat, "blah: {}", 42);

    log::info(logcat, "blah: {}", 42);
2022-10-17 13:41:43 -03:00
Sean Darcy d7992b5940
Logging Refactor
This replaces the current epee logging system with our oxen::log
library. It replaces the easylogging library with spdlog, removes the
macros and replaces with functions and standardises how we call the
logs.
2022-10-17 13:41:10 -03:00
Sean Darcy 6146a88acd fixes wallet3 test segfault, first test passing 2022-09-28 16:52:29 +10:00
Thomas Winget 1ce7a92ea8 refactor return-by-reference 2022-04-26 13:01:14 -04:00
Sean Darcy b1d4921e24 Loads in real data to test if the transaction is signing correctly
The wallet needs to be fed a single output plus a sufficient number of
decoys. This transaction was run on the testnet and details were copied
into the test file.
2022-03-28 22:24:29 -04:00
Thomas Winget aa5bd8ba26 add key derivation for outputs to scanner 2022-03-28 22:24:29 -04: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