Documentation ¶
Index ¶
- func BlockAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func BlockIdsAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func GetBlockAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func GetBlockIdsAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func GetPeersAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func GetSignaturesAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func MaybeEnableExtendedApi(state state.State, time types.Time) error
- func MicroBlockAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func MicroBlockInvAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func MicroBlockRequestAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func PBBlockAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func PBMicroBlockAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func PBTransactionAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func PeersAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func ScoreAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func SignaturesAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- func TransactionAction(s services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
- type Action
- type Config
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockAction ¶ added in v0.6.0
func BlockIdsAction ¶ added in v0.6.0
func GetBlockAction ¶ added in v0.6.0
func GetBlockIdsAction ¶ added in v0.6.0
func GetPeersAction ¶ added in v0.6.0
func GetSignaturesAction ¶ added in v0.6.0
func GetSignaturesAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
GetSignaturesAction replies to signature requests
func MaybeEnableExtendedApi ¶ added in v0.5.0
func MicroBlockAction ¶ added in v0.6.0
func MicroBlockInvAction ¶ added in v0.6.0
func MicroBlockInvAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
MicroBlockInvAction handles notification about new microblock.
func MicroBlockRequestAction ¶ added in v0.6.0
func MicroBlockRequestAction(services services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
MicroBlockRequestAction handles microblock requests.
func PBBlockAction ¶ added in v0.6.0
func PBBlockAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
PBBlockAction handles protobuf block message.
func PBMicroBlockAction ¶ added in v0.6.0
func PBTransactionAction ¶ added in v0.8.8
func PBTransactionAction(_ services.Services, mess peer.ProtoMessage, fsm state_fsm.FSM) (state_fsm.FSM, state_fsm.Async, error)
PBTransactionAction handles protobuf transaction message.
func PeersAction ¶ added in v0.8.0
func ScoreAction ¶ added in v0.6.0
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) SpawnOutgoingConnection ¶
func (*Node) SpawnOutgoingConnections ¶
Directories ¶
Path | Synopsis |
---|---|
Package state_fsm is a generated GoMock package.
|
Package state_fsm is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.