Versions in this module Expand all Collapse all v0 v0.6.2 Nov 1, 2018 Changes in this version + type Context context.Context + type HostHandler interface + AddActiveNodes func(activeNode []*core.Node) error + AddAuthSentKey func(id string, key []byte) + AddHost func(ctx Context, host *routing.RouteHost) + AddPossibleProxyID func(id string) + AddPossibleRelayID func(id string) + AddProxyHost func(targetID string) + AddReceivedKey func(target string, key []byte) + AddRelayClient func(host *host.Host) error + AddSubnetID func(ip, targetID string) + AddUnsync func(nodeID core.RecordRef, roles []core.NodeRole, address string, version string) (chan *core.Node, error) + AnalyzeNetwork func(ctx Context) error + Bootstrap func() error + CascadeSendMessage func(data core.Cascade, targetID string, method string, args [][]byte) error + ConfirmNodeRole func(role string) bool + Disconnect func() + EqualAuthSentKey func(targetID string, key []byte) bool + FindHost func(ctx Context, targetID string) (*host.Host, bool, error) + GetActiveNodesList func() []*core.Node + GetExpirationTime func(ctx Context, key []byte) time.Time + GetHighKnownHostID func() string + GetHostsFromBootstrap func() + GetNetworkCommonFacade func() NetworkCommonFacade + GetNodeID func() core.RecordRef + GetOriginHost func() *host.Origin + GetOuterHostsCount func() int + GetPacketTimeout func() time.Duration + GetPrivateKey func() *ecdsa.PrivateKey + GetProxyHostsCount func() int + GetReplicationTime func() time.Duration + GetSelfKnownOuterHosts func() int + HostIsAuthenticated func(targetID string) bool + HtFromCtx func(ctx Context) *routing.HashTable + InvokeRPC func(sender *host.Host, method string, args [][]byte) ([]byte, error) + KeyIsReceived func(targetID string) ([]byte, bool) + Listen func() error + NumHosts func(ctx Context) int + ObtainIP func() error + RemoteProcedureCall func(ctx Context, targetID string, method string, args [][]byte) (result []byte, err error) + RemoteProcedureRegister func(name string, method core.RemoteProcedure) + RemoveAuthHost func(key string) + RemoveAuthSentKeys func(targetID string) + RemovePossibleProxyID func(id string) + RemoveProxyHost func(targetID string) + RemoveRelayClient func(host *host.Host) error + SendRequest func(packet *packet.Packet) (transport.Future, error) + SetAuthStatus func(targetID string, status bool) + SetHighKnownHostID func(id string) + SetNodeKeeper func(keeper network.NodeKeeper) + SetOuterHostsCount func(hosts int) + StartAuthorize func() error + Store func(key store.Key, data []byte, replication time.Time, expiration time.Time, ...) error + StoreRetrieve func(key store.Key) ([]byte, bool) + type NetworkCommonFacade interface + GetCascade func() *cascade.Cascade + GetConsensus func() consensus.Processor + GetNetworkCoordinator func() core.NetworkCoordinator + GetRPC func() rpc.RPC + GetSignHandler func() signhandler.SignHandler + OnPulse func(pulse core.Pulse) + SetConsensus func(insolarConsensus consensus.Processor) + SetNetworkCoordinator func(coordinator core.NetworkCoordinator) + func NewNetworkCommonFacade(r rpc.RPC, casc *cascade.Cascade, signH signhandler.SignHandler, ...) NetworkCommonFacade