neoneo-go/pkg/interop
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
..
contract *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
convert *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
crypto [#2442] English Check 2022-05-04 19:48:27 +03:00
iterator *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
lib *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
math interop: add interop API for MODMUL, MODPOW opcodes 2022-05-12 14:31:24 +03:00
native native: extend CryptoLib's verifyWithECDsa with hasher parameter 2024-05-13 09:33:41 +03:00
neogointernal interop: support ABORTMSG, ASSERT, ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
runtime core: add System.Runtime.CurrentSigners syscall 2023-11-20 14:46:27 +03:00
storage interop: add contract storage limits 2023-11-27 19:56:13 +03:00
util interop: support ABORTMSG, ASSERT, ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
doc.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
go.mod go.mod: upgrade minimum required Go version to 1.20 2024-03-05 13:54:10 +03:00
LICENSE.md LICENSE.md: add NSPCC copyright 2022-04-04 12:34:18 +03:00
types.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00