Implemented rcp method GetAssetState (#103)

* Fix missing dot in configPath

* Add rpc GetAssetState method

* Update rpc README.md

* Update version to 0.45.10
This commit is contained in:
dauTT 2018-11-26 22:12:33 +01:00 committed by Anthony De Meulemeester
parent de45c58551
commit e2f42e92a0
10 changed files with 120 additions and 7 deletions

View file

@ -1,6 +1,8 @@
package core
import "github.com/CityOfZion/neo-go/pkg/util"
import (
"github.com/CityOfZion/neo-go/pkg/util"
)
// Blockchainer is an interface that abstract the implementation
// of the blockchain.
@ -15,4 +17,5 @@ type Blockchainer interface {
CurrentBlockHash() util.Uint256
HasBlock(util.Uint256) bool
HasTransaction(util.Uint256) bool
GetAssetState(util.Uint256) *AssetState
}