public MixingLevel(Money denomination, SchnorrKey schnorrKey) { Denomination = Guard.NotNull(nameof(denomination), denomination); SchnorrKey = Guard.NotNull(nameof(schnorrKey), schnorrKey); Signer = SchnorrKey.CreateSigner(); }
public MixingLevel(Money denomination, Key signerKey, Key rKey) { Denomination = Guard.NotNull(nameof(denomination), denomination); signerKey = Guard.NotNull(nameof(signerKey), signerKey); rKey = Guard.NotNull(nameof(rKey), rKey); SchnorrKey = new SchnorrKey(signerKey, rKey); Signer = SchnorrKey.CreateSigner(); }