StackmateNetwork / the-stackmate

A self-sovereign mobile wallet interface
MIT License
29 stars 7 forks source link

New SQLite Backend + 24 Word Seed Option #62

Closed i5hi closed 2 years ago

i5hi commented 2 years ago

Added new SQLite backend from stackmate-core 0.12.2 release.

Affects the following cubits:

Receive uses both Sqlite and MemoryDb. Memory Db is used to manually increment indexes while SQLite loads LastUnusedAddress.

This update results in a significant speed improvement since network sync keeps track of last_synced_block in SQLite.

Pending: SQLite db file encryption.

AFAIK Android uses a permissions folder to store the sqlite db, which other apps cannot access. This raises the questions about how necessary encrypting the db file is. More research needs to be done on this.

Please extensively test this update as SQLite implementation is still in BETA.

i5hi commented 2 years ago

I have also added the update to support 24 word seed phrase in this update.

i5hi commented 2 years ago

LGTM. Tested all updates.

i5hi commented 2 years ago

Tested new updates. UID is better than using fingerprint and path. This will also serve as a unique reference when cypherpost wants to attach to a wallet.

i5hi commented 2 years ago

ACK from my side.

@yashwanthambati You can merge after you test.

i5hi commented 2 years ago

Thanks!

chydonp2 commented 1 year ago

burger/recovery/12/import/privatekeys

chydonp2 commented 1 year ago

Joy don Lap

i5hi commented 1 year ago

?