Migrate all 32-byte hash fields from TEXT (64-char hex) to BLOB (32 bytes) for ~50% storage savings on hash columns. Changes: - Add src/db/blob.rs with ToBlob/FromBlob traits for hash types - Update all table schemas to use BLOB for hash columns - Replace .to_hex() with .to_blob() for DB inserts - Replace ::from_hex() with ::from_blob() for DB reads - Use SQL hex() function where API responses need hex strings - Bump DB_VERSION from 4 to 5 Affected tables: tx, pool, pool_history_entry, utxo_spending, utxo_funding, user_action, auth_chain_entry, bcmr_data, bcmr_failure, bcmr_well_known, crc20, crc20_candidates, delphi_entry, cached_token_metrics Fixes #1
3 lines
No EOL
59 B
JSON
3 lines
No EOL
59 B
JSON
{
|
|
"rust-analyzer.showUnlinkedFileNotification": false
|
|
} |