neoneo-go/pkg/services
Anna Shaleva 34eef47a18 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-13 09:33:41 +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 native: make Oracle service handle native Oracle updates 2024-04-25 13:26:54 +03:00
rpcsrv native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-13 09:33:41 +03:00
stateroot services: update logs flush after services shutdown 2024-02-27 15:10:51 +03:00