neo-go/pkg/core/interop
Anna Shaleva 8fed383523 core: adjust System.Runtime.CheckWitness interop
Part of #1055.

It should have `AllowStates` flag.

Also removed unreachable code: we can't have such situation when
script container is not a transaction in the scope of `CheckWitness`
method because:
1. Blocks have their own implementation of CheckWitness for
internal usage (it's (bc *Blockchain) verifyHeaderWitnesses method).
2. For the outside calls of System.Runtime.CheckWitness interop (e.g.
calls from smart-contract) script container is always a transaction.
2020-07-23 07:51:24 +03:00
..
crypto core: implement Secp256k1 Verify and CheckMultisig interops 2020-07-14 16:21:34 +03:00
enumerator core: adjust System.Enumerator.Create interop 2020-07-23 07:51:24 +03:00
iterator core: move enumerator/iterator interops to a separate packages 2020-04-11 10:56:36 +03:00
json core: implement System.Json.* interops 2020-06-16 11:35:06 +03:00
runtime core: adjust System.Runtime.CheckWitness interop 2020-07-23 07:51:24 +03:00
context.go interop/native: always use proper ScriptHashGetter, fix #924 2020-07-15 22:43:30 +03:00