func (ba *BaseApplication) ValSetLoader() ValSetLoaderFunc {
	return nil
}
ValSetLoader default funtion that return nil
package types
import (
	"errors"
	"net"
	"sync"
	"time"
	cmn "github.com/annchain/annchain/module/lib/go-common"
	"github.com/annchain/annchain/module/lib/go-db"
	"github.com/vmihailenco/msgpack"
)
var lastBlockKey = []byte("lastblock")
type Application interface {
	GetAngineHooks() Hooks
	CompatibleWithAngine()
	CheckTx([]byte) error
	Query([]byte) Result
	Info() ResultInfo
	Start() error
	Stop()
	Initialized() bool
	ValSetLoader() ValSetLoaderFunc                 
	SuspectValidator(pubkey []byte, reason string)  
	QueryNonce(addrBytes []byte) ResultQueryNonce
	QueryBalance(addrBytes []byte) ResultQueryBalance
	QueryShare(pubkeyBytes []byte) ResultQueryShare
	QueryReceipt(txHash []byte) ResultQueryReceipt
	QueryContract(rawtx []byte) ResultQueryContract
	QueryTx(txHash []byte) ResultQueryTx
}
type BaseApplication struct {
	Database         db.DB
	InitializedState bool
}