mirror of
https://github.com/status-im/status-go.git
synced 2025-02-08 12:54:37 +00:00
* Cache keys Generating a symkey can take up to a second on slow devices, this commit makes so that keys are saved once generated and stored in the database.
5 lines
112 B
SQL
5 lines
112 B
SQL
CREATE TABLE whisper_keys (
|
|
chat_id TEXT PRIMARY KEY ON CONFLICT IGNORE,
|
|
key BLOB NOT NULL
|
|
) WITHOUT ROWID;
|