security(server::key_holder): replaced nonce-caching with exclusive transaction fetching nonce from the database

This commit is contained in:
hdbg
2026-02-16 14:49:55 +01:00
parent 281fbcb31d
commit 4700bc407e
2 changed files with 78 additions and 54 deletions

View File

@@ -13,6 +13,7 @@ use rand::{
pub const ROOT_KEY_TAG: &[u8] = "arbiter/seal/v1".as_bytes();
pub const TAG: &[u8] = "arbiter/private-key/v1".as_bytes();
pub const NONCE_LENGTH: usize = 24;
#[derive(Default)]