We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should store secret nonces in memory.
#[derive(Debug)] pub struct NonceSession { pub private_key: secp256k1::SecretKey, pub nonces: Vec<(MuSigSecNonce, MuSigPubNonce)>, } #[derive(Debug)] pub struct AllSessions { pub cur_id: u32, pub sessions: HashMap<u32, NonceSession>, }
Add this to verifiers
pub(crate) nonces: Arc<Mutex<AllSessions>>
can be updated with
let x = self.nonces; let mut y= x.lock().await; let mut z = &mut *y; z.sessions.insert(z.cur_id, session); z.cur_id = z.cur_id + 1;
Parts of the task:
25/10/2024
The text was updated successfully, but these errors were encountered:
Closed with #359
Sorry, something went wrong.
ozankaymak
No branches or pull requests
Issue Description
We should store secret nonces in memory.
Add this to verifiers
can be updated with
Tasks
Parts of the task:
Deadline of the Issue
25/10/2024
The text was updated successfully, but these errors were encountered: