MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 1 callersFunctionNewMConnection
NewMConnection wraps net.Conn and creates multiplex connection
internal/p2p/conn/connection.go:155
↓ 1 callersFunctionNewMempoolIDs
()
internal/mempool/ids.go:19
↓ 1 callersFunctionNewMultiAppConn
NewMultiAppConn makes all necessary abci connections to the application.
internal/proxy/multi_app_conn.go:63
↓ 1 callersFunctionNewP2PStateProvider
NewP2PStateProvider creates a light client state provider but uses a dispatcher connected to the P2P layer
internal/statesync/stateprovider.go:216
↓ 1 callersFunctionNewParser
NewParser constructs a new parser that reads the input from r.
libs/pubsub/query/syntax/parser.go:119
↓ 1 callersFunctionNewPartSetReader
(parts []*Part)
types/part_set.go:319
↓ 1 callersFunctionNewPeerState
NewPeerState returns a new PeerState for the given node ID.
internal/consensus/peer_state.go:51
↓ 1 callersFunctionNewProofRuntime
()
crypto/merkle/proof_op.go:80
↓ 1 callersFunctionNewRPCStateProvider
NewRPCStateProvider creates a new StateProvider using a light client and RPC clients.
internal/statesync/stateprovider.go:51
↓ 1 callersFunctionNewReactor
NewReactor returns a reference to a new reactor.
internal/mempool/v0/reactor.go:49
↓ 1 callersFunctionNewReactor
NewReactor returns a reference to a new reactor.
internal/mempool/v1/reactor.go:53
↓ 1 callersFunctionNewReactor
NewReactor returns new reactor instance.
internal/blocksync/v0/reactor.go:116
↓ 1 callersFunctionNewReader
NewReader restricts all Read operations on r to limit bytes per second.
internal/libs/flowrate/io.go:37
↓ 1 callersMethodNewRequestBatch
NewRequestBatch starts a batch of requests for this client.
rpc/jsonrpc/client/http_json_client.go:230
↓ 1 callersFunctionNewRetrySignerClient
NewRetrySignerClient returns RetrySignerClient. If +retries+ is 0, the client will be retrying each operation indefinitely.
privval/retry_signer_client.go:23
↓ 1 callersMethodNewRoundEvent
NewRoundEvent returns the RoundState with proposer information as an event.
internal/consensus/types/round_state.go:132
↓ 1 callersFunctionNewRunState
NewRunState returns a new unstarted run state tracker with the given logging label and log sink. If logger == nil, a no-op logger is provided by defau
rpc/client/helpers.go:112
↓ 1 callersFunctionNewServer
(protoAddr, transport string, app types.Application)
abci/server/server.go:18
↓ 1 callersFunctionNewSignerListener
NewSignerListener creates a new SignerListenerEndpoint using the corresponding listen address
privval/utils.go:29
↓ 1 callersFunctionNewSnapshotStore
NewSnapshotStore creates a new snapshot store.
test/e2e/app/snapshots.go:34
↓ 1 callersFunctionNewSocketClient
NewSocketClient creates a new socket client, which connects to a given address. If mustConnect is true, the client will return an error upon start if
abci/client/socket_client.go:53
↓ 1 callersFunctionNewState
NewState creates a new state.
test/e2e/app/state.go:35
↓ 1 callersFunctionNewSubscription
NewSubscription returns a new subscription with the given outCapacity.
libs/pubsub/subscription.go:36
↓ 1 callersFunctionNewSwitchReporter
NewSwitchReporter return a new SwitchReporter instance which wraps the Switch.
internal/blocksync/v2/internal/behavior/reporter.go:23
↓ 1 callersFunctionNewTicker
NewTicker returns a normal time.Ticker wrapped to meet our interface
internal/p2p/trust/ticker.go:56
↓ 1 callersFunctionNewTruncated
NewTruncated returns a new hash.Hash.
crypto/tmhash/hash.go:55
↓ 1 callersFunctionNewTxMempool
NewTxMempool constructs a new, empty priority mempool at the specified initial height and using the given config and options.
internal/mempool/v1/mempool.go:62
↓ 1 callersFunctionNewValueOp
(key []byte, proof *Proof)
crypto/merkle/proof_value.go:33
↓ 1 callersFunctionNewWSWithOptions
NewWSWithOptions allows you to provide custom WSOptions.
rpc/jsonrpc/client/ws_client.go:100
↓ 1 callersFunctionNewWithClientAndWSOptions
NewWithClientAndWSOptions allows you to set a custom http client and WebSocket options. An error is returned on invalid remote. The function panics wh
rpc/client/http/http.go:136
↓ 1 callersFunctionNewWithHTTPClient
NewWithHTTPClient returns a Client pointed at the given address using a custom http client. An error is returned on invalid remote. The function panic
rpc/jsonrpc/client/http_json_client.go:156
↓ 1 callersFunctionNewWithOptions
NewWithOptions is an extension to creating a new http provider that allows the addition of a specified timeout and maxRetryAttempts
light/provider/http/http.go:74
↓ 1 callersFunctionNewWriter
NewWriter restricts all Write operations on w to limit bytes per second. The transfer rate and the default blocking behavior (true) can be changed dir
internal/libs/flowrate/io.go:89
↓ 1 callersMethodNodeInfo
()
internal/rpc/core/env.go:51
↓ 1 callersFunctionNodeInfoFromProto
(pb *tmp2p.NodeInfo)
types/node_info.go:223
↓ 1 callersFunctionNodeSuite
(t *testing.T)
rpc/grpc/grpc_test.go:16
↓ 1 callersMethodNonceSize
()
crypto/xchacha20poly1305/xchachapoly.go:50
↓ 1 callersFunctionNopMetrics
NopMetrics returns no-op Metrics.
internal/statesync/metrics.go:81
↓ 1 callersFunctionNopMetrics
NopMetrics returns no-op Metrics.
internal/state/metrics.go:42
↓ 1 callersFunctionNopMetrics
NopMetrics returns no-op Metrics.
internal/blocksync/v2/metrics.go:112
↓ 1 callersMethodNot
Not returns a bit array resulting from a bitwise Not of the provided bit array.
libs/bits/bit_array.go:166
↓ 1 callersMethodNumClientSubscriptions
NumClientSubscriptions returns the number of subscriptions the client has.
libs/pubsub/pubsub.go:321
↓ 1 callersMethodNumClients
NumClients returns the number of clients.
libs/pubsub/pubsub.go:314
↓ 1 callersMethodOfferSnapshotAsync
NOTE: call is synchronous, use ctx to break early if needed
abci/client/grpc_client.go:279
↓ 1 callersFunctionOnDisconnect
OnDisconnect sets a callback which is used upon disconnect - not Goroutine-safe. Nop by default.
rpc/jsonrpc/server/ws_handler.go:176
↓ 1 callersMethodOnReconnect
OnReconnect sets the callback, which will be called every time after successful reconnect. Could only be set before Start.
rpc/jsonrpc/client/ws_client.go:136
↓ 1 callersMethodOnReset
()
libs/service/service.go:40
↓ 1 callersMethodOnionCatTor
()
types/netaddress.go:314
↓ 1 callersFunctionOpenGroup
OpenGroup creates a new Group with head at headPath. It returns an error if it fails to open head file.
internal/libs/autofile/group.go:80
↓ 1 callersMethodOurAddress
Check if it is our address
internal/p2p/pex/addrbook.go:42
↓ 1 callersMethodPOLInfo
Last round and blockID that has +2/3 prevotes for a particular block or nil. Returns -1 if no such round exists.
internal/consensus/types/height_vote_set.go:152
↓ 1 callersFunctionParseFraction
ParseFractions takes the string of a fraction as input i.e "2/3" and converts this to the equivalent fraction else returns an error. The format of the
libs/math/fraction.go:27
↓ 1 callersMethodPeerDisconnected
PeerDisconnected pauses the trust metric associated with the peer identified by the key
internal/p2p/trust/store.go:123
↓ 1 callersFunctionPerturbNode
PerturbNode perturbs a node with a given perturbation, returning its status after recovering.
test/e2e/runner/perturb.go:38
↓ 1 callersMethodPickVoteToSend
PickVoteToSend picks a vote to send to the peer. It will return true if a vote was picked. NOTE: `votes` must be the correct Size() for the Height().
internal/consensus/peer_state.go:166
↓ 1 callersFunctionPingPeriod
PingPeriod sets the duration for sending websocket pings. It should only be used in the constructor - not Goroutine-safe.
rpc/jsonrpc/server/ws_handler.go:208
↓ 1 callersMethodPop
()
internal/statesync/block_queue.go:259
↓ 1 callersMethodPopulate
Populate the Header with state-derived data. Call this after MakeBlock to complete the Header.
types/block.go:363
↓ 1 callersMethodPrevWaitChan
PrevWaitChan can be used to wait until Prev becomes not nil. Once it does, channel will be closed.
internal/libs/clist/clist.go:99
↓ 1 callersMethodPrivateAddr
()
internal/p2p/switch.go:499
↓ 1 callersFunctionProbe
(logger log.Logger)
internal/p2p/upnp/probe.go:84
↓ 1 callersFunctionPrometheusMetrics
PrometheusMetrics returns Metrics build using Prometheus client library. Optionally, labels can be provided along with their values ("foo", "fooValue"
internal/mempool/metrics.go:47
↓ 1 callersFunctionPrometheusMetrics
PrometheusMetrics returns Metrics build using Prometheus client library. Optionally, labels can be provided along with their values ("foo", "fooValue"
internal/state/indexer/metrics.go:32
↓ 1 callersFunctionPrometheusMetrics
PrometheusMetrics constructs a Metrics instance that collects metrics samples. The resulting metrics will be prefixed with namespace and labeled with
internal/proxy/metrics.go:25
↓ 1 callersFunctionPrometheusMetrics
PrometheusMetrics returns Metrics build using Prometheus client library. Optionally, labels can be provided along with their values ("foo", "fooValue"
internal/consensus/metrics.go:105
↓ 1 callersMethodPruneBlocks
(height int64)
internal/state/services.go:29
↓ 1 callersMethodPruneBlocks
(height int64)
internal/consensus/replay_test.go:1216
↓ 1 callersFunctionPruningSize
PruningSize option sets the maximum amount of light blocks that the light client stores. When Prune() is run, all light blocks that are earlier than t
light/client.go:87
↓ 1 callersMethodPublishEventNewBlock
(block EventDataNewBlock)
types/events.go:244
↓ 1 callersMethodPublishEventNewBlockHeader
(header EventDataNewBlockHeader)
types/events.go:245
↓ 1 callersMethodPublishEventNewEvidence
(evidence EventDataNewEvidence)
types/event_bus.go:144
↓ 1 callersMethodPublishEventNewEvidence
(evidence EventDataNewEvidence)
types/events.go:246
↓ 1 callersMethodPublishEventTx
(EventDataTx)
types/events.go:252
↓ 1 callersMethodPublishEventValidatorSetUpdates
(data EventDataValidatorSetUpdates)
types/event_bus.go:236
↓ 1 callersMethodPublishEventValidatorSetUpdates
(EventDataValidatorSetUpdates)
types/events.go:248
↓ 1 callersMethodQueryAsync
NOTE: call is synchronous, use ctx to break early if needed
abci/client/grpc_client.go:219
↓ 1 callersMethodQuit
Quit provides a mock function with given fields:
abci/client/mocks/client.go:719
↓ 1 callersMethodRFC1918
()
types/netaddress.go:300
↓ 1 callersMethodRFC3849
()
types/netaddress.go:305
↓ 1 callersMethodRFC3927
()
types/netaddress.go:306
↓ 1 callersMethodRFC4193
()
types/netaddress.go:308
↓ 1 callersMethodRFC4843
()
types/netaddress.go:310
↓ 1 callersMethodRFC4862
()
types/netaddress.go:311
↓ 1 callersMethodRPCEnvironment
()
rpc/client/local/local.go:50
↓ 1 callersFunctionRPCInternalError
(id jsonrpcid, err error)
rpc/jsonrpc/types/types.go:239
↓ 1 callersFunctionRPCMethodNotFoundError
(id jsonrpcid)
rpc/jsonrpc/types/types.go:231
↓ 1 callersFunctionRPCParseError
From the JSON-RPC 2.0 spec: If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null.
rpc/jsonrpc/types/types.go:220
↓ 1 callersFunctionRPCRoutes
(c *lrpc.Client)
light/proxy/routes.go:13
↓ 1 callersFunctionRandVal
RandVal creates one random validator, with a key derived from the input value
abci/example/kvstore/helpers.go:12
↓ 1 callersFunctionRandomAddress
()
internal/test/factory/block.go:27
↓ 1 callersMethodReachabilityTo
ReachabilityTo checks whenever o can be reached from na.
types/netaddress.go:213
↓ 1 callersFunctionReactorMetrics
ReactorMetrics sets the reactor's metrics as an option function.
internal/consensus/reactor.go:265
↓ 1 callersMethodReactors
Reactors returns a map of reactors registered on the switch. NOTE: Not goroutine safe.
internal/p2p/switch.go:233
↓ 1 callersMethodRead
Read implements net.Conn.
privval/socket_listeners.go:168
↓ 1 callersMethodRead
Read should run in a go-routine and updates count by one every time a packet comes in
internal/libs/timer/throttle_timer_test.go:35
↓ 1 callersMethodRead
Read implements io.Reader, reading bytes from the current Reader incrementing index until enough bytes are read.
internal/libs/autofile/group.go:460
↓ 1 callersFunctionReadLimit
ReadLimit sets the maximum size for reading message. It should only be used in the constructor - not Goroutine-safe.
rpc/jsonrpc/server/ws_handler.go:216
↓ 1 callersFunctionReadWait
ReadWait sets the amount of time to wait before a websocket read times out. It should only be used in the constructor - not Goroutine-safe.
rpc/jsonrpc/server/ws_handler.go:200
↓ 1 callersMethodReap
NOTE: Not concurrency safe. Writes results to trs.results without waiting for all tasks to complete.
libs/async/async.go:55
↓ 1 callersMethodReceiveAddrs
ReceiveAddrs adds the given addrs to the addrbook if theres an open request for this peer and deletes the open request. If there's no open request for
internal/p2p/pex/pex_reactor.go:356
← previousnext →3,001–3,100 of 9,600, ranked by callers