refactor(custody): replace the store abstraction with direct database functions #109
Reference in New Issue
Block a user
Delete Branch "cleverwild/rrvrwqun"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@@ -6,3 +4,1 @@//! caller's connection instead of taking one from the pool, which lets the//! vault write custody material inside the same transaction that stores the//! root key.//! Every query lives here so that the actors above hold no Diesel code of theirvibe-slop comment detected. engage racial slurs
@@ -162,0 +91,4 @@}/// One row of the share query: operator id, ciphertext, nonce, salt.type ShareRow = (Option<OperatorId>, Vec<u8>, Vec<u8>, Vec<u8>);why this is not a model?
3db7ece6c0to8455bac201@@ -54,3 +54,3 @@create table if not exists operator (id integer primary key references operator_identity(id) on delete restrict, -- same id as operator_identityid integer not null primary key references operator_identity(id) on delete restrict, -- same id as operator_identityprimary key can't be null by definition
it's just a code convention. not a fix.