MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 2 callersFunctionNewHTTPClient
NewHTTPClient initiates an instance of a light client using HTTP addresses for both the primary provider and witnesses of the light client. A trusted
light/setup.go:18
↓ 2 callersFunctionNewMemoryNetwork
NewMemoryNetwork creates a new in-memory network.
internal/p2p/transport_memory.go:37
↓ 2 callersFunctionNewMessage
(subID string, data interface{}, events []types.Event)
libs/pubsub/subscription.go:96
↓ 2 callersFunctionNewMockReporter
NewMockReporter returns a Reporter which records all reported behaviors in memory.
internal/blocksync/v2/internal/behavior/reporter.go:60
↓ 2 callersMethodNewOption
(start, total int64)
internal/libs/progressbar/progressbar.go:17
↓ 2 callersFunctionNewRPCRequest
(id jsonrpcid, method string, params json.RawMessage)
rpc/jsonrpc/types/types.go:88
↓ 2 callersFunctionNewRPCSuccessResponse
(id jsonrpcid, res interface{})
rpc/jsonrpc/types/types.go:187
↓ 2 callersFunctionNewRand
NewRand returns a prng, that is seeded with OS randomness. The OS randomness is obtained from crypto/rand, however, like with any math/rand.Rand objec
libs/rand/random.go:27
↓ 2 callersFunctionNewReactor
NewReactor returns a reference to a new state sync reactor, which implements the service.Service interface. It accepts a logger, connections for snaps
internal/statesync/reactor.go:183
↓ 2 callersFunctionNewReactor
NewReactor returns a reference to a new evidence reactor, which implements the service.Service interface. It accepts a p2p Channel dedicated for handl
internal/evidence/reactor.go:72
↓ 2 callersFunctionNewReactor
NewReactor returns a reference to a new consensus reactor, which implements the service.Service interface. It accepts a logger, consensus state, refer
internal/consensus/reactor.go:150
↓ 2 callersFunctionNewReactorShim
(logger log.Logger, name string, descriptors map[ChannelID]*ChannelDescriptorShim)
internal/p2p/shim.go:57
↓ 2 callersFunctionNewResultCommit
NewResultCommit is a helper to initialize the ResultCommit with the embedded struct
rpc/coretypes/responses.go:78
↓ 2 callersFunctionNewSignerClient
NewSignerClient returns an instance of SignerClient. it will start the endpoint (if not already started)
privval/signer_client.go:26
↓ 2 callersFunctionNewSignerClient
NewSignerClient returns an instance of SignerClient. it will start the endpoint (if not already started)
privval/grpc/client.go:31
↓ 2 callersFunctionNewStatusRecorder
(client client.StatusClient)
rpc/client/mock/status.go:35
↓ 2 callersFunctionNewTestTicker
NewTestTicker returns our ticker used within test routines
internal/p2p/trust/ticker.go:26
↓ 2 callersFunctionNewThrottleTimer
(name string, dur time.Duration)
internal/libs/timer/throttle_timer.go:26
↓ 2 callersFunctionNewTimeoutTicker
NewTimeoutTicker returns a new TimeoutTicker.
internal/consensus/ticker.go:40
↓ 2 callersFunctionNewWSRPCFunc
NewWSRPCFunc wraps a function for introspection and use in the websockets.
rpc/jsonrpc/server/rpc_func.go:45
↓ 2 callersFunctionNewWithClient
NewWithClient allows you to set a custom http client. An error is returned on invalid remote. The function panics when client is nil.
rpc/client/http/http.go:126
↓ 2 callersFunctionNewWithClientAndOptions
NewWithClient allows you to provide a custom client.
light/provider/http/http.go:93
↓ 2 callersFunctionNodeID
NodeID returns a valid NodeID based on an inputted string
internal/test/factory/p2p.go:12
↓ 2 callersFunctionNodeInSlice
(id types.NodeID, ids []types.NodeID)
internal/p2p/p2ptest/util.go:11
↓ 2 callersMethodNodeInfo
NodeInfo returns a copy of the current NodeInfo. Used for testing.
internal/p2p/router.go:1023
↓ 2 callersMethodNumClientSubscriptions
(clientID string)
types/event_bus.go:22
↓ 2 callersMethodNumClients
()
types/event_bus.go:21
↓ 2 callersMethodOfferSnapshot
(ctx context.Context, in *RequestOfferSnapshot, opts ...grpc.CallOption)
abci/types/types.pb.go:3158
↓ 2 callersMethodOfferSnapshotSync
(context.Context, types.RequestOfferSnapshot)
internal/proxy/app_conn.go:52
↓ 2 callersMethodOpenWAL
OpenWAL opens a file to log all consensus messages and timeouts for deterministic accountability.
internal/consensus/state.go:483
↓ 2 callersMethodPause
Pause tells the metric to pause recording data over time intervals. All method calls that indicate events will unpause the metric
internal/p2p/trust/metric.go:167
↓ 2 callersFunctionPeerMetrics
---------------------------------------------------
internal/p2p/peer.go:351
↓ 2 callersMethodPeerRatio
PeerRatio returns the ratio of peer addresses stored to the maximum size.
internal/p2p/peermanager.go:508
↓ 2 callersFunctionPerturb
Perturbs a running testnet.
test/e2e/runner/perturb.go:13
↓ 2 callersMethodPlay
(cur int64)
internal/libs/progressbar/progressbar.go:29
↓ 2 callersMethodPop
()
internal/p2p/pqueue.go:62
↓ 2 callersMethodPrev
Nonblocking, may return nil if at the end.
internal/libs/clist/clist.go:124
↓ 2 callersMethodPrimary
Primary returns the primary provider. NOTE: provider may be not safe for concurrent access.
light/client.go:811
↓ 2 callersMethodPriority
()
internal/blocksync/v2/types.go:19
↓ 2 callersMethodPriority
()
internal/blocksync/v2/types.go:23
↓ 2 callersMethodPriority
()
internal/blocksync/v2/types.go:27
↓ 2 callersMethodPrivValidator
PrivValidator returns the Node's PrivValidator. XXX: for convenience only!
node/node.go:1073
↓ 2 callersFunctionPrometheusMetrics
PrometheusMetrics returns Metrics build using Prometheus client library. Optionally, labels can be provided along with their values ("foo", "fooValue"
internal/statesync/metrics.go:29
↓ 2 callersFunctionProtocolAndAddress
ProtocolAndAddress splits an address into the protocol and address components. For instance, "tcp://127.0.0.1:8080" will be split into "tcp" and "127.
libs/net/net.go:19
↓ 2 callersMethodProtocols
Protocols returns the protocols supported by the transport. The Router uses this to pick a transport for an Endpoint.
internal/p2p/transport.go:39
↓ 2 callersMethodProveResult
ProveResult returns a merkle proof of one result from the set
types/results.go:27
↓ 2 callersMethodPruneStates
PruneStates takes the height from which to prune up to (exclusive)
internal/state/store.go:95
↓ 2 callersMethodPubKey
PubKey returns the peer's PubKey
types/node_key.go:26
↓ 2 callersMethodPublishEventCompleteProposal
(data EventDataCompleteProposal)
types/event_bus.go:216
↓ 2 callersMethodPublishEventLock
(data EventDataRoundState)
types/event_bus.go:232
↓ 2 callersMethodPublishEventNewBlock
(data EventDataNewBlock)
types/event_bus.go:122
↓ 2 callersMethodPublishEventNewRound
(data EventDataNewRound)
types/event_bus.go:212
↓ 2 callersMethodPublishEventNewRoundStep
(data EventDataRoundState)
types/event_bus.go:200
↓ 2 callersMethodPublishEventPolka
(data EventDataRoundState)
types/event_bus.go:220
↓ 2 callersMethodPublishEventRelock
(data EventDataRoundState)
types/event_bus.go:228
↓ 2 callersMethodPublishEventTimeoutPropose
(data EventDataRoundState)
types/event_bus.go:204
↓ 2 callersMethodPublishEventValidBlock
(data EventDataRoundState)
types/event_bus.go:152
↓ 2 callersMethodQuery
(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption)
abci/types/types.pb.go:3152
↓ 2 callersMethodQuery
Query connection
internal/proxy/multi_app_conn.go:30
↓ 2 callersMethodQuerySync
(context.Context, types.RequestQuery)
internal/proxy/app_conn.go:45
↓ 2 callersMethodRFC3964
()
types/netaddress.go:307
↓ 2 callersMethodRFC6052
()
types/netaddress.go:312
↓ 2 callersMethodRFC6145
()
types/netaddress.go:313
↓ 2 callersFunctionRandVals
RandVals returns a list of cnt validators for initializing the application. Note that the keys are deterministically derived from the index in the arr
abci/example/kvstore/helpers.go:24
↓ 2 callersFunctionRandomNodeID
RandomNodeID returns a randomly generated valid NodeID
internal/test/factory/p2p.go:21
↓ 2 callersMethodRecordConsMetrics
RecordConsMetrics uses for recording the block related metrics during fast-sync.
internal/consensus/metrics.go:308
↓ 2 callersFunctionRecoverAndLogHandler
----------------------------------------------------------------------------- RecoverAndLogHandler wraps an HTTP handler, adding error logging. If the
rpc/jsonrpc/server/http_server.go:163
↓ 2 callersMethodRedoRequest
RedoRequest invalidates the block at pool.height, Remove the peer and redo request from others. Returns the ID of the removed peer.
internal/blocksync/v0/pool.go:247
↓ 2 callersMethodReinstateBadPeers
Move peer to bad peers list Add bad peers back to addrBook
internal/p2p/pex/addrbook.go:67
↓ 2 callersMethodRejectFormat
RejectFormat rejects a snapshot format. It will never be used again.
internal/statesync/snapshots.go:233
↓ 2 callersMethodRemoteEndpoint
RemoteEndpoint implements Connection.
internal/p2p/transport_mconn.go:447
↓ 2 callersMethodRemove
(tx types.Tx)
internal/mempool/cache.go:91
↓ 2 callersMethodReport
Report stores the PeerBehavior produced by the peer identified by peerID.
internal/blocksync/v2/internal/behavior/reporter.go:67
↓ 2 callersFunctionRequireUpdates
RequireUpdates requires that a PeerUpdates subscription yields the given updates in the given order.
internal/p2p/p2ptest/require.go:134
↓ 2 callersMethodRetryAll
RetryAll schedules all chunks to be retried, without refetching them.
internal/statesync/chunks.go:311
↓ 2 callersFunctionRunReplayFile
-------------------------------------------------------- replay messages interactively or all at once replay the wal file
internal/consensus/replay_file.go:34
↓ 2 callersMethodSame
Same returns true is na has the same non-empty ID or DialString as other.
types/netaddress.go:127
↓ 2 callersMethodSaveAs
SaveAs is a utility method for saving GenensisDoc as a JSON file.
types/genesis.go:48
↓ 2 callersMethodSaveBlock
(*types.Block, *types.PartSet, *types.Commit)
internal/blocksync/v2/reactor.go:29
↓ 2 callersMethodSaveSignedHeader
(sh *types.SignedHeader, blockID types.BlockID)
internal/store/store.go:533
↓ 2 callersMethodSaveValidatorSets
SaveValidatorSet saves the validator set at a given height
internal/state/store.go:91
↓ 2 callersMethodSend
Send the given RPC request to the server. Results will be available on ResponsesCh, errors, if any, on ErrorsCh. Will block until send succeeds or ctx
rpc/jsonrpc/client/ws_client.go:198
↓ 2 callersMethodSendAddrs
SendAddrs sends addrs to the peer.
internal/p2p/pex/pex_reactor.go:408
↓ 2 callersFunctionServeTLS
Serve creates a http.Server and calls ServeTLS with the given listener, certFile and keyFile. It wraps handler with RecoverAndLogHandler and a handler
rpc/jsonrpc/server/http_server.go:71
↓ 2 callersMethodSet
(key []byte, value []byte)
crypto/merkle/types.go:16
↓ 2 callersMethodSetBlocking
SetBlocking changes the blocking behavior and returns the previous setting. A Read call on a non-blocking reader returns immediately if no additional
internal/libs/flowrate/io.go:62
↓ 2 callersMethodSetBlocking
SetBlocking changes the blocking behavior and returns the previous setting. A Write call on a non-blocking writer returns as soon as no additional byt
internal/libs/flowrate/io.go:121
↓ 2 callersMethodSetDefaultSchemeHTTP
Change protocol to HTTP for unknown protocols and TCP protocol - useful for RPC connections
rpc/jsonrpc/client/http_json_client.go:62
↓ 2 callersMethodSetEnsurePeersPeriod
SetEnsurePeersPeriod sets period to ensure peers connected.
internal/p2p/pex/pex_reactor.go:413
↓ 2 callersMethodSetEventBus
SetEventBus sets the reactor's event bus.
internal/consensus/reactor.go:251
↓ 2 callersMethodSetEventBus
SetEventBus - sets the event bus for publishing block related events. If not called, it defaults to types.NopEventBus.
internal/consensus/replay.go:232
↓ 2 callersMethodSetHasProposal
SetHasProposal sets the given proposal as known for the peer.
internal/consensus/peer_state.go:111
↓ 2 callersMethodSetHasProposalBlockPart
SetHasProposalBlockPart sets the given block part index as known for the peer.
internal/consensus/peer_state.go:151
↓ 2 callersMethodSetHasVote
SetHasVote sets the given vote as known by the peer
internal/consensus/peer_state.go:361
↓ 2 callersMethodSetNext
NOTE: This function needs to be safe for concurrent goroutines waiting on nextWg.
internal/libs/clist/clist.go:160
↓ 2 callersMethodSetNodeKey
SetNodeKey sets the switch's private key for authenticated encryption. NOTE: Not goroutine safe.
internal/p2p/switch.go:257
↓ 2 callersMethodSetPeer
SetPeer adds the specified peer ID as a sender of w.
internal/mempool/v1/tx.go:29
↓ 2 callersMethodSetPrev
NOTE: This function needs to be safe for concurrent goroutines waiting on prevWg
internal/libs/clist/clist.go:183
↓ 2 callersMethodSetPriority
SetPriority sets the application-assigned priority of w.
internal/mempool/v1/tx.go:76
↓ 2 callersMethodSetReadDeadline
(t time.Time)
internal/p2p/conn/secret_connection.go:282
← previousnext →2,101–2,200 of 9,600, ranked by callers