UkoeHB / monero

Monero: the secure, private, untraceable cryptocurrency
https://getmonero.org
Other
7 stars 4 forks source link

wallet2_basic: robust compat lib for loading/storing legacy wallets [… #13

Closed jeffro256 closed 1 year ago

jeffro256 commented 1 year ago

…SERAPHIS]

This library has no dependency on wallet2.h and gives us a way forward to move away from wallet2 in the (not-so-distant) future, while still supporting conversions of old wallet files. This lib is also useful if you have an application where you want to extract information directly from the wallet file with or without having to setup accounts and devices. This is now possible because I have split the wallet keys loading into two steps: load_from_memory and setup_account_and_devices. When one is loading a wallet keys file, the user of the API can choose whether or not to contact external devices during this process with use of the flag allow_external_devices_setup.

Reorganized for seraphis_lib. Should reflect https://github.com/monero-project/monero/pull/8923 without the wallet2.* file changes.

UkoeHB commented 1 year ago

It would be better to PR this here: https://github.com/seraphis-migration/monero/tree/seraphis_wallet. The seraphis_lib branch is for the core seraphis implementation.