refactor WalletSeed type, see mq wip

This commit is contained in:
Alain Brenzikofer
2026-09-25 12:12:37 +02:00
parent acf06724ec
commit 5db99e96b9
14 changed files with 137 additions and 130 deletions
@@ -984,6 +984,7 @@ CREATE TABLE badge_code_redemptions(
CREATE TABLE wallet_seeds(
wallet_seed_id INTEGER PRIMARY KEY AUTOINCREMENT,
entropy BLOB NOT NULL CHECK(length(entropy) = 32),
master BLOB NOT NULL CHECK(length(master) = 64),
next_account_index INTEGER CHECK(next_account_index BETWEEN 0 AND 2147483648),
single_seed INTEGER NOT NULL DEFAULT 1
) STRICT;