This commit is contained in:
Boris Nagaev 2026-08-12 12:22:13 +00:00 committed by GitHub
commit 60bd3a7388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 675 additions and 95 deletions

View file

@ -1,4 +1,4 @@
-- withdrawals stores finalized static address withdrawals.
-- withdrawals stores pending and finalized static address withdrawals.
CREATE TABLE IF NOT EXISTS withdrawals (
-- id is the auto-incrementing primary key for a withdrawal.
id INTEGER PRIMARY KEY,
@ -6,7 +6,8 @@ CREATE TABLE IF NOT EXISTS withdrawals (
-- withdrawal_id is the unique identifier for the withdrawal.
withdrawal_id BLOB NOT NULL UNIQUE,
-- withdrawal_tx_id is the transaction tx id of the withdrawal.
-- withdrawal_tx_id is the confirmed transaction txid of the withdrawal.
-- It remains NULL while the withdrawal is still pending.
withdrawal_tx_id TEXT UNIQUE,
-- total_deposit_amount is the total amount of the deposits in satoshis.