refs: add WalletConnect signature type

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-03-15 15:49:35 +03:00 committed by Stanislav Bogatyrev
parent 5bd512774c
commit 66cc44e727

View file

@ -116,6 +116,10 @@ enum SignatureScheme {
// Deterministic ECDSA with SHA-256 hashing (RFC 6979) // Deterministic ECDSA with SHA-256 hashing (RFC 6979)
ECDSA_RFC6979_SHA256 = 1; ECDSA_RFC6979_SHA256 = 1;
// Deterministic ECDSA with SHA-256 hashing using WalletConnect API.
// Here the algorithm is the same, but the message format differs.
ECDSA_RFC6979_SHA256_WALLET_CONNECT = 2;
} }
// RFC 6979 signature. // RFC 6979 signature.