Documentation ¶
Index ¶
- Variables
- type AddBlockReq
- type AddBlockRsp
- type AddHeaderReq
- type AddHeaderRsp
- type AddHeadersReq
- type AddHeadersRsp
- type GetBlockByHashReq
- type GetBlockByHashRsp
- type GetBlockByHeightReq
- type GetBlockByHeightRsp
- type GetBlockHashReq
- type GetBlockHashRsp
- type GetBlockRootWithNewTxRootReq
- type GetBlockRootWithNewTxRootRsp
- type GetBookkeeperStateReq
- type GetBookkeeperStateRsp
- type GetContractStateReq
- type GetContractStateRsp
- type GetCurrentBlockHashReq
- type GetCurrentBlockHashRsp
- type GetCurrentBlockHeightReq
- type GetCurrentBlockHeightRsp
- type GetCurrentHeaderHashReq
- type GetCurrentHeaderHashRsp
- type GetCurrentHeaderHeightReq
- type GetCurrentHeaderHeightRsp
- type GetCurrentStateRootReq
- type GetCurrentStateRootRsp
- type GetEventNotifyByBlockReq
- type GetEventNotifyByBlockRsp
- type GetEventNotifyByTxReq
- type GetEventNotifyByTxRsp
- type GetHeaderByHashReq
- type GetHeaderByHashRsp
- type GetHeaderByHeightReq
- type GetHeaderByHeightRsp
- type GetStorageItemReq
- type GetStorageItemRsp
- type GetTransactionReq
- type GetTransactionRsp
- type GetTransactionWithHeightReq
- type GetTransactionWithHeightRsp
- type IsContainBlockReq
- type IsContainBlockRsp
- type IsContainTransactionReq
- type IsContainTransactionRsp
- type LedgerActor
- type PreExecuteContractReq
- type PreExecuteContractRsp
Constants ¶
This section is empty.
Variables ¶
View Source
var DefLedgerPid *actor.PID
Functions ¶
This section is empty.
Types ¶
type AddBlockReq ¶
type AddBlockRsp ¶
type AddHeaderReq ¶
type AddHeaderRsp ¶
type AddHeadersReq ¶
type AddHeadersRsp ¶
type GetBlockByHashReq ¶
type GetBlockByHashRsp ¶
type GetBlockByHeightReq ¶
type GetBlockByHeightReq struct {
Height uint32
}
type GetBlockByHeightRsp ¶
type GetBlockHashReq ¶
type GetBlockHashReq struct {
Height uint32
}
type GetBlockHashRsp ¶
type GetBookkeeperStateReq ¶
type GetBookkeeperStateReq struct{}
type GetBookkeeperStateRsp ¶
type GetBookkeeperStateRsp struct { BookKeepState *states.BookkeeperState Error error }
type GetContractStateReq ¶
type GetContractStateRsp ¶
type GetContractStateRsp struct { ContractState *payload.DeployCode Error error }
type GetCurrentBlockHashReq ¶
type GetCurrentBlockHashReq struct{}
type GetCurrentBlockHashRsp ¶
type GetCurrentBlockHeightReq ¶
type GetCurrentBlockHeightReq struct{}
type GetCurrentHeaderHashReq ¶
type GetCurrentHeaderHashReq struct{}
type GetCurrentHeaderHashRsp ¶
type GetCurrentHeaderHeightReq ¶
type GetCurrentHeaderHeightReq struct{}
type GetCurrentStateRootReq ¶
type GetCurrentStateRootReq struct{}
type GetCurrentStateRootRsp ¶
type GetEventNotifyByBlockReq ¶
type GetEventNotifyByBlockReq struct {
Height uint32
}
type GetEventNotifyByTxReq ¶
type GetEventNotifyByTxRsp ¶
type GetEventNotifyByTxRsp struct { Notifies []*event.NotifyEventInfo Error error }
type GetHeaderByHashReq ¶
type GetHeaderByHashRsp ¶
type GetHeaderByHeightReq ¶
type GetHeaderByHeightReq struct {
Height uint32
}
type GetHeaderByHeightRsp ¶
type GetStorageItemReq ¶
type GetStorageItemRsp ¶
type GetTransactionReq ¶
type GetTransactionRsp ¶
type GetTransactionRsp struct { Tx *types.Transaction Error error }
type GetTransactionWithHeightRsp ¶
type GetTransactionWithHeightRsp struct { Tx *types.Transaction Height uint32 Error error }
type IsContainBlockReq ¶
type IsContainBlockRsp ¶
type IsContainTransactionReq ¶
type IsContainTransactionRsp ¶
type LedgerActor ¶
type LedgerActor struct {
// contains filtered or unexported fields
}
func NewLedgerActor ¶
func NewLedgerActor() *LedgerActor
func (*LedgerActor) Receive ¶
func (this *LedgerActor) Receive(ctx actor.Context)
func (*LedgerActor) Start ¶
func (this *LedgerActor) Start() *actor.PID
type PreExecuteContractReq ¶
type PreExecuteContractReq struct {
Tx *types.Transaction
}
type PreExecuteContractRsp ¶
type PreExecuteContractRsp struct { Result []interface{} Error error }
Click to show internal directories.
Click to hide internal directories.