wallet.sql 457 B

1234567891011121314151617
  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_height INTEGER NOT NULL,
  7. last_scanned_block_hash TEXT NOT NULL
  8. );
  9. -- Transactions history
  10. CREATE TABLE IF NOT EXISTS transactions_history (
  11. transaction_hash TEXT PRIMARY KEY NOT NULL,
  12. status TEXT NOT NULL,
  13. tx BLOB NOT NULL
  14. );