Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banking features to concealwallet #291

Merged
merged 53 commits into from
Jun 24, 2022
Merged

Banking features to concealwallet #291

merged 53 commits into from
Jun 24, 2022

Conversation

AxVultis
Copy link
Member

No description provided.

cartoon-face and others added 30 commits February 19, 2022 21:05
Same logic as list_transfers
90s error, flashbacks
Return false instead of breaking
Fix spelling
Ive been sus of tests for a while now, thinking one every X times during tests it fails
Im absolutly sure that `confirm_deposit()` works as intended
This follows the same logic as the tests (TestWalletLegacy.cpp)
Maybe we should make this universal across Deposit and WalletLegacyTransaction
while(true) with a return true statement? Just to be on the safe side
Old output used to have a header to list each detail, now the output will list:
```
    --- Deposit Info ---
ID: <deposit_id>
Amount: <amount>
Interest: <interest>
Term: <term>
Status: <is_locked_bool>
Unlock Height: <unlock_height>
```

deposit details will either be `BRIGHT_RED` if locked or `BRIGHT_GREEN` if unlocked
Works on my machine
Fixes calling `cn::Deposit::unlockHeight` + `cn::Deposit::height`
* adds new file DepositHelper to feed infomation
* adds get_deposit(id) to iwalletlegacy so we can call deposit = get_deposit(id)
* add height and unlockheight to legacydeposit
* add notes to previous work
Adds saveDeposits and loadDeposits to wallet serializer. This copies wallet serializer v2 with slight modifications
* add height to deposit request, which uses current node height
* add legacy deposit info to serialize
* remove testing logic from deposit_info
* add makeCenteredString to common namespace, allows us to use it universally
cartoon-face and others added 23 commits April 5, 2022 21:49
This was apart of testing during the PR and it's safe to say we don't need this.
* removes unused function from namespace
With the new changes, the height would only of been imported from `concealwallet`s deposit request. This keeps support for the GUI, `if t_height == 0` it hasn't came from simplewallet
* this was suggested by Ax, it seems to work as an alternative serialise new data
* also removes table format from balance
* this was taken from Ax's suggestion within the discord
* makes use of `splitUrlToHostAndUri()`
Reverted back to original state
Banking features to `concealwallet`
@krypt0x krypt0x added the enhancement New feature or request label Jun 23, 2022
@AxVultis AxVultis merged commit 01afa1b into development Jun 24, 2022
@AxVultis AxVultis deleted the banking branch August 7, 2022 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants