Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 658 Bytes

README.md

File metadata and controls

45 lines (35 loc) · 658 Bytes

YWallet

YWallet stores it's data in an sqlite database.

Objects Stored

Account

name: TEXT NOT NULL
seed: TEXT
account_index: INTEGER NOT NULL
spending_key: TEXT
incoming_viewing_key: TEXT NOT NULL UNIQUE
address: TEXT NOT NULL,
diversifiers: ARRAY(INTEGER)

Transaction

account: Account NOT NULL
txid: BLOB NOT NULL
height: INTEGER NOT NULL
timestamp: INTEGER NOT NULL
value: INTEGER NOT NULL
address: TEXT
memo: TEXT
tx_index: INTEGER

With:

(height, tx_index, account) UNIQUE

Block

height: INTEGER NOT NULL
hash: BLOB NOT NULL
timestamp: INTEGER NOT NULL
sapling_tree: BLOB NOT NULL