mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
created wallet module
This commit is contained in:
1
src/wallet/mod.rs
Normal file
1
src/wallet/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
// Empty mod.rs file for now
|
||||
9
src/wallet/schema.sql
Normal file
9
src/wallet/schema.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
ATTACH DATABASE 'wallet.db' AS wallet KEY 'testkey';
|
||||
SELECT sqlcipher_export('wallet');
|
||||
CREATE TABLE IF NOT EXISTS keys(
|
||||
key_id INT PRIMARY KEY NOT NULL,
|
||||
key_public BLOB NOT NULL,
|
||||
key_private BLOB NOT NULL
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS key_public on keys(key_public);
|
||||
|
||||
Reference in New Issue
Block a user