neoneo-go/pkg
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
..
compiler native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-13 09:33:41 +03:00
config config, native: introduce Cockatrice hard-fork 2024-04-25 13:26:54 +03:00
consensus consensus: use better dbFT 2024-03-25 19:21:51 +03:00
core native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-13 09:33:41 +03:00
crypto crypto: adjust TestPublicKeys_Copy 2024-04-28 00:12:18 +05:30
encoding *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
interop native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-13 09:33:41 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc rpcsrv: add SessionEnabled, MaxIteratorResultItems to getversion 2024-04-03 22:42:14 +03:00
neotest crypto: add StringCompressed() for PublicKey 2024-04-11 15:24:46 +03:00
network *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
rpcclient *: use nativehashes package where possible 2024-04-25 13:26:54 +03:00
services native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-13 09:33:41 +03:00
smartcontract smartcontract: ensure nil ParameterContext Item's script is marshallable 2024-04-18 13:55:05 +03:00
util *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
vm *: improve error text for System.Crypto.CheckMultisig handling 2024-03-25 19:16:21 +03:00
wallet crypto: add StringCompressed() for PublicKey 2024-04-11 15:24:46 +03:00