Exemplo n.º 1
0
        public MixingLevel(Money denomination, SchnorrKey schnorrKey)
        {
            Denomination = Guard.NotNull(nameof(denomination), denomination);
            SchnorrKey   = Guard.NotNull(nameof(schnorrKey), schnorrKey);

            Signer = SchnorrKey.CreateSigner();
        }
Exemplo n.º 2
0
        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();
        }