neoneo-go/pkg/services
Anna Shaleva 1e2b438b55 native: extend CryptoLib's verifyWithECDsa with hasher parameter
Replace native CryptoLib's verifyWithECDsa `curve` parameter by
`curveHash` parameter which is a enum over supported pairs of named
curves and hash functions.

Even though this change is a compatible extension of the protocol, it
changes the genesis state due to parameter renaming. But we're going to
resync chain in 3.7 release anyway, so it's not a big deal.

Also, we need to check mainnet and testnet compatibility in case if
anyone has ever called verifyWithECDsa with 24 or 25 `curve` value.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-03 12:07:56 +03:00
..
helpers/rpcbroadcaster *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
metrics services: update logs flush after services shutdown 2024-02-27 15:10:51 +03:00
notary notary: reuse (*Transaction).Copy where possible 2024-04-28 00:59:15 +05:30
oracle crypto: add StringCompressed() for PublicKey 2024-04-11 15:24:46 +03:00
rpcsrv native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-03 12:07:56 +03:00
stateroot services: update logs flush after services shutdown 2024-02-27 15:10:51 +03:00