MCPcopy Index your code

hub / github.com/matrix-org/pinecone / functions

Functions543 in github.com/matrix-org/pinecone

↓ 82 callersMethodPrintln
(...interface{})
types/logger.go:18
↓ 34 callersMethodPrintf
(string, ...interface{})
types/logger.go:19
↓ 28 callersMethodString
()
router/peer.go:85
↓ 24 callersMethodpush
(frame *types.Frame)
router/queue.go:22
↓ 21 callersMethodString
()
cmd/pineconesim/simulator/state.go:116
↓ 18 callersMethodClose
Close will stop the Pinecone node. Once this has been called, the node cannot be restarted or reused.
router/router.go:139
↓ 16 callersMethodstop
stop will immediately mark a port as offline, before dispatching a task to the state actor to clean up the peering. Once the peering has been stopped,
router/peer.go:128
↓ 15 callersMethod_rootAnnouncement
_rootAnnouncement returns the latest root announcement from our parent. If we are the root, or the announcement from the parent has expired, we will i
router/state_tree.go:92
↓ 14 callersMethodPublicKey
()
cmd/pineconesim/simulator/router.go:32
↓ 13 callersMethod_publish
(event SimEvent)
cmd/pineconesim/simulator/state.go:157
↓ 12 callersMethodEqualTo
(b *Root)
types/announcement.go:152
↓ 12 callersMethodRemoteAddr
()
sessions/streams.go:32
↓ 12 callersMethodupdateUI
(node)
cmd/pineconesim/ui/modules/graph.js:203
↓ 11 callersMethodConnect
(conn net.Conn, options ...router.ConnectionOption)
cmd/pineconesim/simulator/router.go:33
↓ 11 callersMethodLength
()
types/varu64.go:49
↓ 10 callersMethodCompareTo
(b PublicKey)
types/ed25519.go:57
↓ 10 callersMethodDistanceTo
(b Coordinates)
types/coordinates.go:115
↓ 9 callersMethodAddr
Addr returns the local address of the node in the form of a `types.PublicKey`.
router/router.go:159
↓ 9 callersMethodGetNodeName
(peerID string)
cmd/pineconesim/simulator/state.go:180
↓ 9 callersMethodRun
(log *log.Logger, sim *Simulator)
cmd/pineconesim/simulator/commands.go:218
↓ 9 callersMethod_publish
_publish notifies each subscriber of a new event.
router/router.go:116
↓ 8 callersMethodSign
(privKey ed25519.PrivateKey, forPort SwitchPortID)
types/announcement.go:41
↓ 7 callersFunctionLessThan
(first, second types.PublicKey)
util/distance.go:23
↓ 7 callersMethodMarshalBinary
(buffer []byte)
types/frame.go:99
↓ 7 callersFunctiongetFrame
()
router/pools.go:39
↓ 6 callersMethodReset
()
types/frame.go:75
↓ 6 callersFunctionSendToServer
(msg)
cmd/pineconesim/ui/modules/server-api.js:63
↓ 6 callersMethodStop
()
multicast/multicast.go:241
↓ 6 callersFunctiongenerateSliderRow
(label, name)
cmd/pineconesim/ui/modules/ui/common.js:151
↓ 5 callersMethodCoords
()
cmd/pineconesim/simulator/router.go:36
↓ 5 callersMethodIsTraffic
()
types/frame.go:44
↓ 5 callersMethodPublicKey
()
cmd/pineconesim/simulator/router.go:51
↓ 5 callersFunctionhandleNodePanelUpdate
()
cmd/pineconesim/ui/modules/graph.js:874
↓ 5 callersMethodsend
send queues a frame to be sent to this peer. It is safe to be called from other actors. The frame will be allocated to the correct queue automatically
router/peer.go:109
↓ 5 callersMethodvalid
valid returns true if the update hasn't expired, or false if it has. It is required for updates to time out eventually, in the case that paths don't g
router/state_snek.go:46
↓ 4 callersMethodMarshalBinary
(buf []byte)
types/virtualsnake.go:41
↓ 4 callersMethodMinLength
()
types/varu64.go:57
↓ 4 callersFunctionNewRouter
(logger types.Logger, sk ed25519.PrivateKey, opts ...RouterOption)
router/router.go:53
↓ 4 callersMethodNodes
()
cmd/pineconesim/simulator/simulator.go:206
↓ 4 callersMethodSubscribe
(ch chan events.Event)
cmd/pineconesim/simulator/router.go:34
↓ 4 callersMethodUnmarshalBinary
(data []byte)
types/frame.go:181
↓ 4 callersMethodWriteTo
WriteTo sends a packet into the Pinecone network. The packet will be sent as a traffic packet. The supplied net.Addr will dictate the method used to r
router/packetconn.go:81
↓ 4 callersMethod_bootstrapSoon
_bootstrapSoon will reset the bootstrap timer so that we will bootstrap on the next maintenance interval. This is better than calling _bootstrapNow di
router/state_snek.go:92
↓ 4 callersMethod_coords
_coords returns our tree coordinates, or an empty array if we are the root.
router/state_tree.go:118
↓ 4 callersMethod_sendTreeAnnouncements
_sendTreeAnnouncements signs and sends the current root announcement to all of our active peers.
router/state_tree.go:144
↓ 4 callersMethod_setDescendingNode
(node *virtualSnakeEntry)
router/state.go:300
↓ 4 callersMethod_setParent
(peer *peer)
router/state.go:274
↓ 4 callersMethodack
()
router/queue.go:24
↓ 4 callersMethodaddEdge
(dataset, from, to)
cmd/pineconesim/ui/modules/graph.js:500
↓ 4 callersFunctionaddSubmitButton
(form)
cmd/pineconesim/ui/modules/ui/common.js:35
↓ 4 callersFunctionconvertTypeIDToNodeType
(typeID)
cmd/pineconesim/ui/modules/ui/common.js:21
↓ 4 callersFunctioncreateNodeOptionsDefault
()
cmd/pineconesim/ui/modules/ui/common.js:44
↓ 4 callersMethodgetNodeType
(nodeID)
cmd/pineconesim/ui/modules/graph.js:264
↓ 4 callersFunctionhandleNodeHoverUpdate
()
cmd/pineconesim/ui/modules/graph.js:835
↓ 4 callersFunctionhandleStatsPanelUpdate
()
cmd/pineconesim/ui/modules/graph.js:956
↓ 4 callersMethodpop
()
router/queue.go:23
↓ 4 callersMethodremoveAllEdges
(dataset, id)
cmd/pineconesim/ui/modules/graph.js:578
↓ 4 callersMethodremoveEdge
(dataset, from, to)
cmd/pineconesim/ui/modules/graph.js:526
↓ 4 callersMethodupdatePingState
(enabled bool, active bool)
cmd/pineconesim/simulator/simulator.go:369
↓ 3 callersMethodAccept
Accept blocks until a new connection request is received. The connection returned by this function will be TLS-encrypted.
sessions/listen.go:84
↓ 3 callersMethodConnect
Connect takes a connection and attaches it to the switch as a peering. This function takes one or more ConnectionOptions to configure the peer. If no
router/router.go:167
↓ 3 callersMethodConnectNodes
(a, b string)
cmd/pineconesim/simulator/links.go:26
↓ 3 callersFunctionDHTOrdered
DHTOrdered returns true if the order of A, B and C is correct, where A < B < C without wrapping.
util/distance.go:37
↓ 3 callersMethodDialContext
DialContext dials a given public key using the supplied network. The network field can be used to specify which routing algorithm to use for the conne
sessions/dial.go:38
↓ 3 callersMethodDisconnectNodes
(a, b string)
cmd/pineconesim/simulator/links.go:103
↓ 3 callersMethodGenerateNetworkGraph
()
cmd/pineconesim/simulator/realpaths.go:21
↓ 3 callersMethodManholeHandler
(w http.ResponseWriter, req *http.Request)
cmd/pineconesim/simulator/router.go:39
↓ 3 callersMethodMarshalBinary
(buf []byte)
types/broadcast.go:45
↓ 3 callersMethodMarshalBinary
(buffer []byte)
cmd/pineconesim/simulator/ping.go:42
↓ 3 callersMethodPeers
()
router/api.go:51
↓ 3 callersMethodPrivateKey
PrivateKey returns the private key of the node.
router/router.go:149
↓ 3 callersMethodProtectedPayload
()
types/virtualsnake.go:24
↓ 3 callersMethodReadFrom
ReadFrom reads the next packet that was delivered to this node over the Pinecone network. Only traffic frames will be returned here (not protocol fram
router/packetconn.go:51
↓ 3 callersMethodSetDeadline
SetDeadline is not implemented.
router/packetconn.go:128
↓ 3 callersMethodSetReadDeadline
(t time.Time)
router/packetconn.go:132
↓ 3 callersMethodUpdateRealDistances
()
cmd/pineconesim/simulator/interface.go:36
↓ 3 callersMethodWrite
(b []byte)
util/slowconn.go:28
↓ 3 callersMethod_flood
_flood sends a frame to all of our connected peers. This is used for flooding the wakeup broadcast to all of our direct peers. Classic flooding works
router/state_forward.go:163
↓ 3 callersMethod_selectNewParent
_selectNewParent will examine the root updates from all of our peers and decide if we should re-parent. If a new peer is selected, this function will
router/state_tree.go:473
↓ 3 callersFunctioncreateCheckbox
()
cmd/pineconesim/ui/modules/ui/peerings-form.js:245
↓ 3 callersMethoddeselectRemovedNodes
()
cmd/pineconesim/ui/modules/graph.js:662
↓ 3 callersFunctiongetNodeKey
(nodeID)
cmd/pineconesim/ui/modules/graph.js:865
↓ 3 callersMethodgetRoutingTableSizes
()
cmd/pineconesim/ui/modules/graph.js:296
↓ 3 callersFunctionsetupBaseModal
(modalName)
cmd/pineconesim/ui/modules/ui.js:503
↓ 2 callersMethodAddPeer
(uri string)
connections/manager.go:149
↓ 2 callersMethodCalculatePathConvergence
()
cmd/pineconesim/simulator/simulator.go:266
↓ 2 callersMethodCalculateStretch
()
cmd/pineconesim/simulator/simulator.go:227
↓ 2 callersMethodClearBandwidthCounters
()
router/peer.go:95
↓ 2 callersMethodConfigureFilterDefaults
(rates adversary.DropRates)
cmd/pineconesim/simulator/router.go:37
↓ 2 callersMethodConfigureFilterPeer
(peer types.PublicKey, rates adversary.DropRates)
cmd/pineconesim/simulator/router.go:38
↓ 2 callersFunctionConvertNodeTypeToString
(nodeType)
cmd/pineconesim/ui/modules/server-api.js:69
↓ 2 callersMethodCreateNode
(t string, nodeType APINodeType)
cmd/pineconesim/simulator/nodes.go:37
↓ 2 callersFunctionDHTWrappedOrdered
DHTWrappedOrdered returns true if the ordering of A, B and C is correct, where we may wrap around from C to A. This gives us the property of the succe
util/distance.go:45
↓ 2 callersMethodDial
Dial dials a given public key using the supplied network. The address must be the destination public key specified in hex.
sessions/dial.go:125
↓ 2 callersMethodDisconnect
Disconnect will disconnect whatever is connected to the given port number on the Pinecone node. The peering will no longer be used and the underlying
router/router.go:250
↓ 2 callersMethodEqualMaskTo
(b, m PublicKey)
types/ed25519.go:48
↓ 2 callersFunctionForwardOrdering
(target types.PublicKey, input []types.PublicKey)
util/distance.go:64
↓ 2 callersMethodInjectPacketFilter
(fn FilterFn)
router/router.go:95
↓ 2 callersMethodIsLoopOrChildOf
(pk PublicKey)
types/announcement.go:156
↓ 2 callersMethodMarshalBinary
(buffer []byte)
types/announcement.go:86
next →1–100 of 543, ranked by callers