Documentation
¶
Index ¶
- func GetPayloadInfo(p types.Payload, pVersion byte) service.PayloadInfo
- func GetTransactionInfo(cfg *service.Config, header *types.Header, tx *types.Transaction) *service.TransactionInfo
- func GetTransactionInfoFromBytes(txInfoBytes []byte) (*service.TransactionInfo, error)
- type HttpServiceExtend
- type RegisterIdentificationContentInfo
- type RegisterIdentificationInfo
- type RegisterIdentificationValueInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPayloadInfo ¶
func GetPayloadInfo(p types.Payload, pVersion byte) service.PayloadInfo
func GetTransactionInfo ¶
func GetTransactionInfo(cfg *service.Config, header *types.Header, tx *types.Transaction) *service.TransactionInfo
func GetTransactionInfoFromBytes ¶
func GetTransactionInfoFromBytes(txInfoBytes []byte) (*service.TransactionInfo, error)
Types ¶
type HttpServiceExtend ¶
type HttpServiceExtend struct {
*service.HttpService
Config *service.Config
// contains filtered or unexported fields
}
func NewHttpService ¶
func NewHttpService(cfg *service.Config, store *blockchain.IDChainStore) *HttpServiceExtend
func (*HttpServiceExtend) GetIdentificationTxByIdAndPath ¶
func (s *HttpServiceExtend) GetIdentificationTxByIdAndPath(param util.Params) (interface{}, error)
func (*HttpServiceExtend) ListUnspent ¶
func (s *HttpServiceExtend) ListUnspent(param util.Params) (interface{}, error)
type RegisterIdentificationContentInfo ¶
type RegisterIdentificationContentInfo struct {
Path string `json:"path"`
Values []RegisterIdentificationValueInfo `json:"values"`
}
type RegisterIdentificationInfo ¶
type RegisterIdentificationInfo struct {
Id string `json:"id"`
Sign string `json:"sign"`
Contents []RegisterIdentificationContentInfo `json:"contents"`
}
Click to show internal directories.
Click to hide internal directories.