neoneo-go/pkg
Roman Khimov 3d1e33a502 native: make multisig koblitz easier to parse
1. Make prologue be exactly the same as regular CheckMultisig.
2. But instead of "SYSCALL System.Crypto.CheckMultisig" do INITSLOT and K check.
3. This makes all of the code from INITSLOT below be independent of N/M, so
   one can parse the script beginning in the same way CheckMultisig is parsed and
   then just compare the rest of it with some known-good blob.
4. The script becomes a tiny bit larger now, but properties above are too good.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-13 09:33:42 +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: make multisig koblitz easier to parse 2024-05-13 09:33:42 +03:00
crypto crypto: export GetSignedData function 2024-05-13 09:33:42 +03:00
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 rpcsrv: test calculatenetworkfee with custom Koblitz-based witness 2024-05-13 09:33:42 +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 native: add test for multisignature Koblitz witness verification 2024-05-13 09:33:42 +03:00
wallet crypto: add StringCompressed() for PublicKey 2024-04-11 15:24:46 +03:00