wallet.sql 410 B

12345678910111213141516
  1. -- Wallet definitions for drk.
  2. -- We store data that is needed for wallet operations.
  3. PRAGMA foreign_keys = ON;
  4. -- Arbitrary info that is potentially useful
  5. CREATE TABLE IF NOT EXISTS wallet_info (
  6. last_scanned_block INTEGER NOT NULL
  7. );
  8. -- Transactions history
  9. CREATE TABLE IF NOT EXISTS transactions_history (
  10. transaction_hash TEXT PRIMARY KEY NOT NULL,
  11. status TEXT NOT NULL,
  12. tx BLOB NOT NULL
  13. );