neo-go/pkg/core/block
Roman Khimov d70caf1da1 core: move GetScriptContainer to runtime
It also brings ToStackItem to Block and Transaction, previously this was
avoided to separate block and transaction packages from VM. But turns out
`transaction` depends on `stackitem` already, so this makes little sense (but
can be shuffled in another way if needed).

Context.Container is still a hash.Hashable because we have a number of
occasions (header or MPT root verification) where there is no ToStackItem
implementation possible. Maybe they can go with `nil` Container, but I don't
want to have this risk for now.
2022-06-08 18:12:41 +03:00
..
block.go core: move GetScriptContainer to runtime 2022-06-08 18:12:41 +03:00
block_test.go [#2442] English Check 2022-05-04 19:48:27 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
header.go [#2442] English Check 2022-05-04 19:48:27 +03:00
header_test.go block: replace Base with Header 2021-03-10 13:38:44 +03:00
helper_test.go *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00