Commit graph

14 commits

Author SHA1 Message Date
Jason Rhinelander 13409ad00e
run clang format 2023-04-13 17:15:12 -03:00
Sean Darcy 3648ef28b2 Cleanup of wallet3 code 2023-03-15 09:13:07 +11:00
Sean Darcy 2e6b96afbc ons buy and ons update mapping 2023-03-01 15:56:35 +11:00
Thomas Winget 4b56bf4e4b all tests building now, not all passing 2022-09-07 19:34:52 -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 0b17bb9adb fix build after merge
still need to make tests build and fix up some behavior
correctness around RPC (and maybe other areas)
2022-07-25 22:22:49 -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
Thomas Winget eb8f4a51a6 add daemon comms submit tx endpoint
TODO: more complete response handling
2022-03-28 22:24:29 -04:00
Sean Darcy e109ac6f49 review notes 2022-01-05 13:26:30 +11:00
Sean Darcy d7fe7646fc initial commit for decoy selection 2021-12-14 15:37:57 +11:00
Sean Darcy 0ac65075eb Calculate the fee based on the current pending transaction.
When building the pending transaction we can call GetFee() to calculate
how much the transaction will cost. It takes a single parameter for the
number of inputs because we will want to specify how many when
estimating.

We then build a list of the potential fees for up to 300 inputs and pass
that to our output selection function which will use it to determine if
the outputs selected will be sufficient to cover the fees. This allows
us to know in advance how much the fees will be rather than trial and
error.
2021-12-07 13:10:32 +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