core: export GetContractState/GetScriptHashesForVerifying via Blockchainer

These are gonna be used by interops and are also useful in general.
This commit is contained in:
Roman Khimov 2019-10-11 14:22:53 +03:00
parent 19fd7f844e
commit 8266a5ce19
2 changed files with 8 additions and 0 deletions

View file

@ -56,6 +56,9 @@ func (chain testChain) HeaderHeight() uint32 {
func (chain testChain) GetBlock(hash util.Uint256) (*core.Block, error) {
panic("TODO")
}
func (chain testChain) GetContractState(hash util.Uint160) *core.ContractState {
panic("TODO")
}
func (chain testChain) GetHeaderHash(int) util.Uint256 {
return util.Uint256{}
}
@ -69,6 +72,9 @@ func (chain testChain) GetAssetState(util.Uint256) *core.AssetState {
func (chain testChain) GetAccountState(util.Uint160) *core.AccountState {
panic("TODO")
}
func (chain testChain) GetScriptHashesForVerifying(*transaction.Transaction) ([]util.Uint160, error) {
panic("TODO")
}
func (chain testChain) GetStorageItem(scripthash util.Uint160, key []byte) *core.StorageItem {
panic("TODO")
}