Use a gamma distribution for mixin selection

This commit is contained in:
Luke Parker
2022-05-04 08:18:43 -04:00
parent f856faa762
commit 0f481773df
6 changed files with 71 additions and 21 deletions

View File

@@ -60,6 +60,7 @@ pub async fn send_multisig() {
&mut OsRng,
&rpc,
keys[i - 1].clone(),
rpc.get_height().await.unwrap() - 10,
&(1 ..= THRESHOLD).collect::<Vec<usize>>()
).await.unwrap()
);