Files
darkfi/script/sql/coins.sql
parazyd 1e109e3edc note: Implement memo field in encrypted notes.
This can store arbitrary data.
2022-08-09 18:55:26 +02:00

15 lines
342 B
SQL

CREATE TABLE IF NOT EXISTS coins(
coin BLOB PRIMARY KEY NOT NULL,
serial BLOB NOT NULL,
coin_blind BLOB NOT NULL,
valcom_blind BLOB NOT NULL,
token_blind BLOB NOT NULL,
value BLOB NOT NULL,
token_id BLOB NOT NULL,
secret BLOB NOT NULL,
is_spent BOOLEAN NOT NULL,
nullifier BLOB NOT NULL,
leaf_position BLOB NOT NULL,
memo BLOB
);