Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tendermint/tendermint
/ functions
Functions
9,600 in github.com/tendermint/tendermint
⨍
Functions
9,600
◇
Types & classes
1,209
↓ 1 callers
Function
NewMConnection
NewMConnection wraps net.Conn and creates multiplex connection
internal/p2p/conn/connection.go:155
↓ 1 callers
Function
NewMempoolIDs
()
internal/mempool/ids.go:19
↓ 1 callers
Function
NewMultiAppConn
NewMultiAppConn makes all necessary abci connections to the application.
internal/proxy/multi_app_conn.go:63
↓ 1 callers
Function
NewP2PStateProvider
NewP2PStateProvider creates a light client state provider but uses a dispatcher connected to the P2P layer
internal/statesync/stateprovider.go:216
↓ 1 callers
Function
NewParser
NewParser constructs a new parser that reads the input from r.
libs/pubsub/query/syntax/parser.go:119
↓ 1 callers
Function
NewPartSetReader
(parts []*Part)
types/part_set.go:319
↓ 1 callers
Function
NewPeerState
NewPeerState returns a new PeerState for the given node ID.
internal/consensus/peer_state.go:51
↓ 1 callers
Function
NewProofRuntime
()
crypto/merkle/proof_op.go:80
↓ 1 callers
Function
NewRPCStateProvider
NewRPCStateProvider creates a new StateProvider using a light client and RPC clients.
internal/statesync/stateprovider.go:51
↓ 1 callers
Function
NewReactor
NewReactor returns a reference to a new reactor.
internal/mempool/v0/reactor.go:49
↓ 1 callers
Function
NewReactor
NewReactor returns a reference to a new reactor.
internal/mempool/v1/reactor.go:53
↓ 1 callers
Function
NewReactor
NewReactor returns new reactor instance.
internal/blocksync/v0/reactor.go:116
↓ 1 callers
Function
NewReader
NewReader restricts all Read operations on r to limit bytes per second.
internal/libs/flowrate/io.go:37
↓ 1 callers
Method
NewRequestBatch
NewRequestBatch starts a batch of requests for this client.
rpc/jsonrpc/client/http_json_client.go:230
↓ 1 callers
Function
NewRetrySignerClient
NewRetrySignerClient returns RetrySignerClient. If +retries+ is 0, the client will be retrying each operation indefinitely.
privval/retry_signer_client.go:23
↓ 1 callers
Method
NewRoundEvent
NewRoundEvent returns the RoundState with proposer information as an event.
internal/consensus/types/round_state.go:132
↓ 1 callers
Function
NewRunState
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 callers
Function
NewServer
(protoAddr, transport string, app types.Application)
abci/server/server.go:18
↓ 1 callers
Function
NewSignerListener
NewSignerListener creates a new SignerListenerEndpoint using the corresponding listen address
privval/utils.go:29
↓ 1 callers
Function
NewSnapshotStore
NewSnapshotStore creates a new snapshot store.
test/e2e/app/snapshots.go:34
↓ 1 callers
Function
NewSocketClient
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 callers
Function
NewState
NewState creates a new state.
test/e2e/app/state.go:35
↓ 1 callers
Function
NewSubscription
NewSubscription returns a new subscription with the given outCapacity.
libs/pubsub/subscription.go:36
↓ 1 callers
Function
NewSwitchReporter
NewSwitchReporter return a new SwitchReporter instance which wraps the Switch.
internal/blocksync/v2/internal/behavior/reporter.go:23
↓ 1 callers
Function
NewTicker
NewTicker returns a normal time.Ticker wrapped to meet our interface
internal/p2p/trust/ticker.go:56
↓ 1 callers
Function
NewTruncated
NewTruncated returns a new hash.Hash.
crypto/tmhash/hash.go:55
↓ 1 callers
Function
NewTxMempool
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 callers
Function
NewValueOp
(key []byte, proof *Proof)
crypto/merkle/proof_value.go:33
↓ 1 callers
Function
NewWSWithOptions
NewWSWithOptions allows you to provide custom WSOptions.
rpc/jsonrpc/client/ws_client.go:100
↓ 1 callers
Function
NewWithClientAndWSOptions
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 callers
Function
NewWithHTTPClient
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 callers
Function
NewWithOptions
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 callers
Function
NewWriter
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 callers
Method
NodeInfo
()
internal/rpc/core/env.go:51
↓ 1 callers
Function
NodeInfoFromProto
(pb *tmp2p.NodeInfo)
types/node_info.go:223
↓ 1 callers
Function
NodeSuite
(t *testing.T)
rpc/grpc/grpc_test.go:16
↓ 1 callers
Method
NonceSize
()
crypto/xchacha20poly1305/xchachapoly.go:50
↓ 1 callers
Function
NopMetrics
NopMetrics returns no-op Metrics.
internal/statesync/metrics.go:81
↓ 1 callers
Function
NopMetrics
NopMetrics returns no-op Metrics.
internal/state/metrics.go:42
↓ 1 callers
Function
NopMetrics
NopMetrics returns no-op Metrics.
internal/blocksync/v2/metrics.go:112
↓ 1 callers
Method
Not
Not returns a bit array resulting from a bitwise Not of the provided bit array.
libs/bits/bit_array.go:166
↓ 1 callers
Method
NumClientSubscriptions
NumClientSubscriptions returns the number of subscriptions the client has.
libs/pubsub/pubsub.go:321
↓ 1 callers
Method
NumClients
NumClients returns the number of clients.
libs/pubsub/pubsub.go:314
↓ 1 callers
Method
OfferSnapshotAsync
NOTE: call is synchronous, use ctx to break early if needed
abci/client/grpc_client.go:279
↓ 1 callers
Function
OnDisconnect
OnDisconnect sets a callback which is used upon disconnect - not Goroutine-safe. Nop by default.
rpc/jsonrpc/server/ws_handler.go:176
↓ 1 callers
Method
OnReconnect
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 callers
Method
OnReset
()
libs/service/service.go:40
↓ 1 callers
Method
OnionCatTor
()
types/netaddress.go:314
↓ 1 callers
Function
OpenGroup
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 callers
Method
OurAddress
Check if it is our address
internal/p2p/pex/addrbook.go:42
↓ 1 callers
Method
POLInfo
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 callers
Function
ParseFraction
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 callers
Method
PeerDisconnected
PeerDisconnected pauses the trust metric associated with the peer identified by the key
internal/p2p/trust/store.go:123
↓ 1 callers
Function
PerturbNode
PerturbNode perturbs a node with a given perturbation, returning its status after recovering.
test/e2e/runner/perturb.go:38
↓ 1 callers
Method
PickVoteToSend
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 callers
Function
PingPeriod
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 callers
Method
Pop
()
internal/statesync/block_queue.go:259
↓ 1 callers
Method
Populate
Populate the Header with state-derived data. Call this after MakeBlock to complete the Header.
types/block.go:363
↓ 1 callers
Method
PrevWaitChan
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 callers
Method
PrivateAddr
()
internal/p2p/switch.go:499
↓ 1 callers
Function
Probe
(logger log.Logger)
internal/p2p/upnp/probe.go:84
↓ 1 callers
Function
PrometheusMetrics
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 callers
Function
PrometheusMetrics
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 callers
Function
PrometheusMetrics
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 callers
Function
PrometheusMetrics
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 callers
Method
PruneBlocks
(height int64)
internal/state/services.go:29
↓ 1 callers
Method
PruneBlocks
(height int64)
internal/consensus/replay_test.go:1216
↓ 1 callers
Function
PruningSize
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 callers
Method
PublishEventNewBlock
(block EventDataNewBlock)
types/events.go:244
↓ 1 callers
Method
PublishEventNewBlockHeader
(header EventDataNewBlockHeader)
types/events.go:245
↓ 1 callers
Method
PublishEventNewEvidence
(evidence EventDataNewEvidence)
types/event_bus.go:144
↓ 1 callers
Method
PublishEventNewEvidence
(evidence EventDataNewEvidence)
types/events.go:246
↓ 1 callers
Method
PublishEventTx
(EventDataTx)
types/events.go:252
↓ 1 callers
Method
PublishEventValidatorSetUpdates
(data EventDataValidatorSetUpdates)
types/event_bus.go:236
↓ 1 callers
Method
PublishEventValidatorSetUpdates
(EventDataValidatorSetUpdates)
types/events.go:248
↓ 1 callers
Method
QueryAsync
NOTE: call is synchronous, use ctx to break early if needed
abci/client/grpc_client.go:219
↓ 1 callers
Method
Quit
Quit provides a mock function with given fields:
abci/client/mocks/client.go:719
↓ 1 callers
Method
RFC1918
()
types/netaddress.go:300
↓ 1 callers
Method
RFC3849
()
types/netaddress.go:305
↓ 1 callers
Method
RFC3927
()
types/netaddress.go:306
↓ 1 callers
Method
RFC4193
()
types/netaddress.go:308
↓ 1 callers
Method
RFC4843
()
types/netaddress.go:310
↓ 1 callers
Method
RFC4862
()
types/netaddress.go:311
↓ 1 callers
Method
RPCEnvironment
()
rpc/client/local/local.go:50
↓ 1 callers
Function
RPCInternalError
(id jsonrpcid, err error)
rpc/jsonrpc/types/types.go:239
↓ 1 callers
Function
RPCMethodNotFoundError
(id jsonrpcid)
rpc/jsonrpc/types/types.go:231
↓ 1 callers
Function
RPCParseError
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 callers
Function
RPCRoutes
(c *lrpc.Client)
light/proxy/routes.go:13
↓ 1 callers
Function
RandVal
RandVal creates one random validator, with a key derived from the input value
abci/example/kvstore/helpers.go:12
↓ 1 callers
Function
RandomAddress
()
internal/test/factory/block.go:27
↓ 1 callers
Method
ReachabilityTo
ReachabilityTo checks whenever o can be reached from na.
types/netaddress.go:213
↓ 1 callers
Function
ReactorMetrics
ReactorMetrics sets the reactor's metrics as an option function.
internal/consensus/reactor.go:265
↓ 1 callers
Method
Reactors
Reactors returns a map of reactors registered on the switch. NOTE: Not goroutine safe.
internal/p2p/switch.go:233
↓ 1 callers
Method
Read
Read implements net.Conn.
privval/socket_listeners.go:168
↓ 1 callers
Method
Read
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 callers
Method
Read
Read implements io.Reader, reading bytes from the current Reader incrementing index until enough bytes are read.
internal/libs/autofile/group.go:460
↓ 1 callers
Function
ReadLimit
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 callers
Function
ReadWait
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 callers
Method
Reap
NOTE: Not concurrency safe. Writes results to trs.results without waiting for all tasks to complete.
libs/async/async.go:55
↓ 1 callers
Method
ReceiveAddrs
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
← previous
next →
3,001–3,100 of 9,600, ranked by callers