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
↓ 15 callers
Method
Publish
Publish publishes the given message. An error will be returned to the caller if the context is canceled.
libs/pubsub/pubsub.go:329
↓ 15 callers
Method
Ready
Ready marks a peer as ready, broadcasting status updates to subscribers. The peer must already be marked as connected. This is separate from Dialed()
internal/p2p/peermanager.go:812
↓ 15 callers
Method
Receive
Receive is called by the switch when msgBytes is received from the peer. NOTE reactor can not keep msgBytes around after Receive completes without co
internal/p2p/base_reactor.go:50
↓ 15 callers
Method
Subscribe
Subscribe subscribes to peer updates. The caller must consume the peer updates in a timely fashion and close the subscription when done, otherwise the
internal/p2p/peermanager.go:1079
↓ 15 callers
Method
Sum
(b []byte)
crypto/tmhash/hash.go:37
↓ 15 callers
Method
ToProto
ToProto converts Data to protobuf
types/block.go:1044
↓ 15 callers
Method
Unmarshal
(dAtA []byte)
abci/types/types.pb.go:9219
↓ 15 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/types/types.pb.go:2288
↓ 15 callers
Function
assertMempool
for testing
internal/consensus/mempool_test.go:24
↓ 15 callers
Function
blockMetaKey
(height int64)
internal/store/store.go:591
↓ 15 callers
Function
fromHex
(bits string)
crypto/xchacha20poly1305/vector_test.go:13
↓ 15 callers
Function
genLightBlocksWithKeys
genLightBlocksWithKeys generates the header and validator set to create blocks to height. BlockIntervals are in per minute. NOTE: Expected to have a l
light/helpers_test.go:177
↓ 15 callers
Function
setup
(t testing.TB, cacheSize int, options ...TxMempoolOption)
internal/mempool/v1/mempool_test.go:76
↓ 15 callers
Function
sovCanonical
(x uint64)
proto/tendermint/types/canonical.pb.go:670
↓ 15 callers
Function
sovEvidence
(x uint64)
proto/tendermint/types/evidence.pb.go:717
↓ 15 callers
Function
sovParams
(x uint64)
proto/tendermint/types/params.pb.go:941
↓ 15 callers
Function
sovProof
(x uint64)
proto/tendermint/crypto/proof.pb.go:678
↓ 15 callers
Function
sovWal
(x uint64)
proto/tendermint/consensus/wal.pb.go:818
↓ 15 callers
Function
stopAll
(t *testing.T, stoppers ...stopper)
internal/p2p/conn/connection_test.go:590
↓ 14 callers
Method
DialString
()
types/netaddress.go:153
↓ 14 callers
Method
Endpoints
Endpoints returns the local endpoints the transport is listening on, if any. How to listen is transport-dependent, e.g. MConnTransport uses Listen()
internal/p2p/transport.go:45
↓ 14 callers
Method
GetValue
()
abci/types/types.pb.go:279
↓ 14 callers
Function
HashFromByteSlices
HashFromByteSlices computes a Merkle tree where the leaves are the byte slice, in the provided order. It follows RFC-6962.
crypto/merkle/tree.go:11
↓ 14 callers
Method
HashesTo
HashesTo is a convenience function that checks if a block hashes to the given argument. Returns false if the block is nil or the hash is empty.
types/block.go:149
↓ 14 callers
Method
Index
Index analyzes, indexes and stores transactions. For indexing multiple Transacions must guarantee the Index of the TxResult is in order. See Batch str
internal/state/indexer/indexer.go:17
↓ 14 callers
Method
List
()
internal/p2p/peer_set.go:15
↓ 14 callers
Function
LoadFilePV
LoadFilePV loads a FilePV from the filePaths. The FilePV handles double signing prevention by persisting data to the stateFilePath. If either file p
privval/file.go:191
↓ 14 callers
Function
New
Return CList with MaxLength. CList will panic if it goes beyond MaxLength.
internal/libs/clist/clist.go:233
↓ 14 callers
Function
NewProposal
NewProposal returns a new Proposal. If there is no POLRound, polRound should be -1.
types/proposal.go:37
↓ 14 callers
Method
NodeInfo
close original connection
internal/p2p/peer.go:35
↓ 14 callers
Method
PublishWithEvents
PublishWithEvents publishes the given message with the set of events. The set is matched with clients queries. If there is a match, the message is sen
libs/pubsub/pubsub.go:336
↓ 14 callers
Function
RandomHash
()
internal/test/factory/block.go:31
↓ 14 callers
Function
RequireEmpty
RequireEmpty requires that the given channel is empty.
internal/p2p/p2ptest/require.go:15
↓ 14 callers
Method
Start
These methods define the operational structure of the client. Start the client. Start must report an error if the client is running.
rpc/client/interface.go:38
↓ 14 callers
Method
State
State returns the current state of the evpool.
internal/evidence/pool.go:258
↓ 14 callers
Method
Stop
()
internal/p2p/peer_test.go:175
↓ 14 callers
Method
Total
()
types/part_set.go:259
↓ 14 callers
Method
Unmarshal
Unmarshal needed for protobuf compatibility
libs/bytes/bytes.go:25
↓ 14 callers
Function
createTempFileName
(t *testing.T, prefix string)
internal/p2p/pex/addrbook_test.go:694
↓ 14 callers
Function
ensurePrevote
(voteCh <-chan tmpubsub.Message, height int64, round int32)
internal/consensus/common_test.go:662
↓ 14 callers
Method
finishAsyncCall
finishAsyncCall creates a ReqRes for an async call, and immediately populates it with the response. We don't complete it until it's been ordered via t
abci/client/grpc_client.go:320
↓ 14 callers
Function
newMempoolWithApp
(cc abciclient.Creator)
internal/mempool/v0/clist_mempool_test.go:36
↓ 14 callers
Function
newTestHarnessError
(code int, err error, info string)
tools/tm-signer-harness/internal/test_harness.go:388
↓ 14 callers
Method
queueRequestAsync
( ctx context.Context, req *types.Request, )
abci/client/socket_client.go:472
↓ 14 callers
Function
randIPv4Address
(t *testing.T)
internal/p2p/pex/addrbook_test.go:189
↓ 14 callers
Function
setupTestCase
setupTestCase does setup common to all test cases.
internal/state/state_test.go:28
↓ 14 callers
Function
subscribeToVoter
(cs *State, addr []byte)
internal/consensus/common_test.go:372
↓ 14 callers
Function
teardown
(t *testing.T, pool *dockertest.Pool)
internal/state/indexer/indexer_service_test.go:192
↓ 13 callers
Method
DialFailed
DialFailed reports a failed dial attempt. This will make the peer available for dialing again when appropriate (possibly after a retry timeout).
internal/p2p/peermanager.go:614
↓ 13 callers
Method
Error
()
abci/client/grpc_client.go:152
↓ 13 callers
Method
Info
Info/Query Connection
abci/types/application.go:13
↓ 13 callers
Method
LoadBlock
(height int64)
internal/state/services.go:25
↓ 13 callers
Method
Marshal
()
proto/tendermint/types/types.pb.go:1173
↓ 13 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/statesync/types.pb.go:692
↓ 13 callers
Function
NewVoteSet
Constructs a new VoteSet struct used to accumulate votes for given height/round.
types/vote_set.go:78
↓ 13 callers
Method
Priority
()
internal/blocksync/v2/types.go:12
↓ 13 callers
Function
RandGenesisDoc
( cfg *config.Config, numValidators int, randPower bool, minPower int64)
internal/test/factory/genesis.go:11
↓ 13 callers
Method
Read
CONTRACT: data smaller than dataMaxSize is read atomically.
internal/p2p/conn/secret_connection.go:232
↓ 13 callers
Method
SetAddrBook
SetAddrBook allows to set address book on Switch.
internal/p2p/switch.go:483
↓ 13 callers
Method
SetRoot
SetRoot sets the RootDir for all Config structs
config/config.go:129
↓ 13 callers
Method
TrustedLightBlock
TrustedLightBlock returns a trusted light block at the given height (0 - the latest). It returns an error if: - there are some issues with the truste
light/client.go:324
↓ 13 callers
Method
ValidateBasic
()
internal/consensus/msgs.go:20
↓ 13 callers
Method
Wake
Wake wakes up the sleeper.
internal/libs/sync/waker.go:23
↓ 13 callers
Method
WalFile
WalFile returns the full path to the write-ahead log file
config/config.go:1219
↓ 13 callers
Method
Witnesses
Witnesses returns the witness providers. NOTE: providers may be not safe for concurrent access.
light/client.go:820
↓ 13 callers
Function
assertReceive
HELPERS
libs/pubsub/pubsub_test.go:559
↓ 13 callers
Method
callback
-------------------------------------------------------
abci/client/local_client.go:349
↓ 13 callers
Function
closeAll
(t *testing.T, closers ...closer)
internal/p2p/conn/connection_test.go:604
↓ 13 callers
Function
encodeVarintCanonical
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/canonical.pb.go:569
↓ 13 callers
Function
encodeVarintEvidence
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/evidence.pb.go:603
↓ 13 callers
Function
encodeVarintParams
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/params.pb.go:831
↓ 13 callers
Function
encodeVarintProof
(dAtA []byte, offset int, v uint64)
proto/tendermint/crypto/proof.pb.go:568
↓ 13 callers
Function
encodeVarintWal
(dAtA []byte, offset int, v uint64)
proto/tendermint/consensus/wal.pb.go:685
↓ 13 callers
Method
finishSyncCall
finishSyncCall waits for an async call to complete. It is necessary to call all sync calls asynchronously as well, to maintain call and response order
abci/client/grpc_client.go:334
↓ 13 callers
Function
initializeValidatorState
(t *testing.T, privVal types.PrivValidator, height int64)
internal/evidence/pool_test.go:422
↓ 13 callers
Function
newWeightedTime
newWeightedTime with time and weight.
internal/state/time.go:15
↓ 13 callers
Method
queueRequestAndFlushSync
( ctx context.Context, req *types.Request, )
abci/client/socket_client.go:485
↓ 13 callers
Function
rootify
----------------------------------------------------------------------------- Utils helper function to make config creation independent of root dir
config/config.go:1362
↓ 13 callers
Function
setupChunkQueue
(t *testing.T)
internal/statesync/chunks_test.go:14
↓ 13 callers
Function
skipTypes
(dAtA []byte)
proto/tendermint/types/types.pb.go:4528
↓ 13 callers
Function
withTransports
withTransports is a test helper that runs a test against all transports registered in testTransports.
internal/p2p/transport_test.go:28
↓ 12 callers
Method
Canceled
()
types/event_bus.go:28
↓ 12 callers
Method
CheckEvidence
CheckEvidence takes an array of evidence from a block and verifies all the evidence there. If it has already verified the evidence then it jumps to th
internal/evidence/pool.go:201
↓ 12 callers
Method
Cleanup
(func())
internal/statesync/mocks/state_provider.go:88
↓ 12 callers
Method
Commit
Signals the end of a block, returns changes to the validator set
abci/types/application.go:24
↓ 12 callers
Function
DefaultConfig
DefaultConfig returns a default configuration for a Tendermint node
config/config.go:90
↓ 12 callers
Method
GetByIndex
(index int)
crypto/merkle/types.go:15
↓ 12 callers
Method
GetIndex
GetIndex returns the bit at index i within the bit array. The behavior is undefined if i >= bA.Bits
libs/bits/bit_array.go:49
↓ 12 callers
Method
GetPeers
GetPeers returns the peers for a snapshot.
internal/statesync/snapshots.go:141
↓ 12 callers
Method
GetPubKey
Implements PrivValidator.
types/priv_validator.go:81
↓ 12 callers
Method
Height
()
internal/blocksync/v2/reactor.go:31
↓ 12 callers
Method
Index
Index indexes transactions using the given list of events. Each key that indexed from the tx's events is a composite of the event type and the respect
internal/state/indexer/tx/kv/kv.go:66
↓ 12 callers
Method
IsOK
IsOK returns true if Code is OK.
abci/types/result.go:38
↓ 12 callers
Function
PubKeyFromProto
PubKeyFromProto takes a protobuf Pubkey and transforms it to a crypto.Pubkey
crypto/encoding/codec.go:49
↓ 12 callers
Method
RemoteEndpoint
RemoteEndpoint returns the remote endpoint for the connection.
internal/p2p/transport.go:113
↓ 12 callers
Method
RoundStateEvent
RoundStateEvent returns the H/R/S of the RoundState as an event.
internal/consensus/types/round_state.go:165
↓ 12 callers
Method
Save
()
crypto/merkle/types.go:20
↓ 12 callers
Function
TestRPCConfig
TestRPCConfig returns a configuration for testing the RPC server
config/config.go:587
↓ 12 callers
Method
Type
Type checks the eventsink structure type.
internal/state/indexer/eventsink.go:52
↓ 12 callers
Method
ValidateBlock
ValidateBlock validates the given block against the given state. If the block is invalid, it returns an error. Validation does not mutate state, but d
internal/state/execution.go:125
← previous
next →
301–400 of 9,600, ranked by callers