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,293 callers
Method
Equal
(interface{})
proto/tendermint/crypto/keys.pb.go:71
↓ 716 callers
Method
Error
()
internal/proxy/app_conn.go:41
↓ 497 callers
Method
Error
(msg string, keyVals ...interface{})
libs/log/logger.go:35
↓ 490 callers
Method
Get
(string)
internal/p2p/peer.go:43
↓ 480 callers
Method
Unlock
Unlock unlocks the mempool.
internal/mempool/mempool.go:57
↓ 467 callers
Method
Lock
Lock locks the mempool. The consensus must be able to hold lock to safely update.
internal/mempool/mempool.go:54
↓ 441 callers
Method
Add
Add appends an entry into the BatchVerifier.
crypto/crypto.go:48
↓ 386 callers
Method
Hash
bytes which comprise the evidence
types/evidence.go:26
↓ 308 callers
Method
Info
(msg string, keyvals ...interface{})
libs/os/os.go:13
↓ 279 callers
Method
Debug
(msg string, keyVals ...interface{})
libs/log/logger.go:33
↓ 257 callers
Method
Run
([][]byte)
crypto/merkle/proof_op.go:22
↓ 247 callers
Function
TestingLogger
TestingLogger returns a Logger which writes to STDOUT if test(s) are being run with the verbose (-v) flag, NopLogger otherwise. NOTE: - A call to New
libs/log/testing.go:22
↓ 246 callers
Method
With
(keyVals ...interface{})
libs/log/logger.go:37
↓ 232 callers
Method
Done
()
internal/libs/flowrate/io.go:19
↓ 216 callers
Method
Start
service methods
internal/consensus/wal.go:66
↓ 212 callers
Method
Close
Close closes the connection with the database
internal/state/store.go:97
↓ 197 callers
Method
String
height of the infraction
types/evidence.go:28
↓ 158 callers
Method
Cleanup
(func())
internal/p2p/mocks/peer.go:338
↓ 157 callers
Method
Address
()
crypto/crypto.go:23
↓ 143 callers
Method
Stop
()
internal/consensus/wal.go:67
↓ 138 callers
Method
Get
Get returns the transaction specified by hash or nil if the transaction is not indexed or stored.
internal/state/indexer/indexer.go:21
↓ 137 callers
Function
sovTypes
(x uint64)
abci/types/types.pb.go:7187
↓ 134 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
abci/types/types.pb.go:6058
↓ 133 callers
Method
Sleep
Sleep returns a channel that blocks until Wake() is called.
internal/libs/sync/waker.go:18
↓ 128 callers
Method
Set
(string, interface{})
internal/p2p/peer.go:42
↓ 126 callers
Function
hash
(s string)
light/helpers_test.go:241
↓ 121 callers
Method
Bytes
()
crypto/crypto.go:24
↓ 116 callers
Method
Len
()
internal/p2p/conn_tracker.go:13
↓ 110 callers
Method
PubKey
()
crypto/crypto.go:33
↓ 102 callers
Method
Header
(ctx context.Context, height *int64)
rpc/client/interface.go:81
↓ 102 callers
Method
Wait
()
internal/consensus/wal.go:68
↓ 99 callers
Method
Add
Add adds a peer to the manager, given as an address. If the peer already exists, the address is added to it if it isn't already present. This will pus
internal/p2p/peermanager.go:469
↓ 95 callers
Method
IsRunning
IsRunning reports whether the client is running.
rpc/client/interface.go:44
↓ 94 callers
Method
Stop
Stop will halt further activity on the ticker channel
internal/p2p/trust/ticker.go:16
↓ 93 callers
Method
Write
(WALMessage)
internal/consensus/wal.go:59
↓ 92 callers
Function
GenPrivKey
GenPrivKey generates a new ed25519 private key. It uses OS randomness in conjunction with the current global random seed in tendermint/libs/common to
crypto/ed25519/ed25519.go:123
↓ 90 callers
Method
Marshal
()
abci/types/types.pb.go:5693
↓ 89 callers
Method
GetPubKey
(context.Context)
types/priv_validator.go:29
↓ 88 callers
Function
subscribe
subscribe subscribes test client to the given query and returns a channel with cap = 1.
internal/consensus/state_test.go:1975
↓ 87 callers
Method
ValidateBasic
time of the infraction
types/evidence.go:30
↓ 80 callers
Method
Error
()
abci/client/client.go:32
↓ 80 callers
Method
Unmarshal
(dAtA []byte)
abci/types/types.pb.go:12327
↓ 79 callers
Method
Contains
(id ChannelID)
internal/p2p/router.go:1099
↓ 79 callers
Method
Size
()
internal/p2p/peer_set.go:16
↓ 79 callers
Method
ToProto
ToProto converts the handwritten type to proto generated type return type, nil if everything converts safely, otherwise nil, error
types/vote.go:206
↓ 77 callers
Method
Close
Close stops accepting new connections, but does not close active connections.
internal/p2p/transport.go:56
↓ 76 callers
Method
SetLogger
reset the timer
internal/consensus/ticker.go:23
↓ 73 callers
Function
Sum
Sum returns the SHA256 of the bz.
crypto/tmhash/hash.go:19
↓ 71 callers
Method
Copy
()
crypto/merkle/types.go:22
↓ 71 callers
Method
ID
()
internal/p2p/peer.go:26
↓ 67 callers
Method
MakePartSet
MakePartSet returns a PartSet containing parts of a serialized block. This is the form in which the block is gossipped to peers. CONTRACT: partSize is
types/block.go:129
↓ 67 callers
Function
signAddVotes
( cfg *config.Config, to *State, voteType tmproto.SignedMsgType, hash []byte, header types.PartSetHeader,
internal/consensus/common_test.go:261
↓ 64 callers
Function
NewValidatorSet
NewValidatorSet initializes a ValidatorSet by copying over the values from `valz`, a list of Validators. If valz is nil or empty, the new ValidatorSet
types/validator_set.go:70
↓ 63 callers
Method
Peers
()
internal/rpc/core/env.go:59
↓ 62 callers
Function
CRandBytes
This only uses the OS's randomness
crypto/random.go:20
↓ 61 callers
Method
Err
()
types/event_bus.go:29
↓ 61 callers
Function
NewPeerManager
NewPeerManager creates a new peer manager.
internal/p2p/peermanager.go:328
↓ 60 callers
Method
GetRoundState
GetRoundState returns a shallow copy of the internal consensus state.
internal/consensus/state.go:243
↓ 58 callers
Method
CheckTx
CheckTx executes a new transaction against the application to determine its validity and whether it should be added to the mempool.
internal/mempool/mempool.go:33
↓ 58 callers
Method
Context
Context returns the connection's context.
rpc/jsonrpc/types/types.go:258
↓ 58 callers
Method
Empty
Is Address Book Empty? Answer should not depend on being in your own address book, or private peers
internal/p2p/pex/addrbook.go:57
↓ 58 callers
Function
sovTypes
(x uint64)
proto/tendermint/types/types.pb.go:2176
↓ 57 callers
Method
Size
()
proto/tendermint/p2p/conn.pb.go:203
↓ 57 callers
Method
ToProto
ToProto takes the local state type and returns the equivalent proto type
internal/state/state.go:155
↓ 57 callers
Function
ensureNewRound
(roundCh <-chan tmpubsub.Message, height int64, round int32)
internal/consensus/common_test.go:547
↓ 56 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/types.pb.go:1862
↓ 55 callers
Method
Size
()
abci/types/types.pb.go:218
↓ 53 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
abci/types/types.pb.go:5708
↓ 52 callers
Method
Updates
Updates returns a channel for consuming peer updates.
internal/p2p/peermanager.go:84
↓ 51 callers
Method
Append
(peer types.NodeID)
internal/statesync/dispatcher.go:271
↓ 50 callers
Method
Out
()
types/event_bus.go:27
↓ 50 callers
Method
TotalVotingPower
TotalVotingPower returns the sum of the voting powers of all validators. It recomputes the total voting power if required.
types/validator_set.go:316
↓ 48 callers
Function
NewApplication
()
abci/example/kvstore/kvstore.go:73
↓ 47 callers
Method
Key
Key generates a snapshot key, used for lookups. It takes into account not only the height and format, but also the chunks, hash, and metadata in case
internal/statesync/snapshots.go:31
↓ 46 callers
Function
NewMockPV
()
types/priv_validator.go:69
↓ 46 callers
Method
TryDialNext
TryDialNext is equivalent to DialNext(), but immediately returns an empty address if no peers or connection slots are available.
internal/p2p/peermanager.go:556
↓ 45 callers
Method
Type
()
crypto/crypto.go:27
↓ 44 callers
Method
Bytes
forms individual evidence to be sent to the application
types/evidence.go:25
↓ 44 callers
Method
GetByAddress
(address []byte)
types/vote_set.go:395
↓ 44 callers
Function
configSetup
(t *testing.T)
internal/consensus/common_test.go:50
↓ 43 callers
Function
MustCompile
MustCompile compiles the query expression into an executable query. In case of error, MustCompile will panic. This is intended for use in program ini
libs/pubsub/query/query.go:49
↓ 42 callers
Method
Call
(ctx context.Context, method string, params map[string]interface{}, result interface{})
rpc/jsonrpc/client/http_json_client.go:116
↓ 41 callers
Function
NewBaseService
NewBaseService creates a new BaseService.
libs/service/service.go:112
↓ 41 callers
Method
Quit
Quit returns a channel, which is closed once service is stopped.
libs/service/service.go:46
↓ 41 callers
Function
sovTypes
(x uint64)
proto/tendermint/consensus/types.pb.go:1799
↓ 40 callers
Method
Height
()
internal/evidence/services.go:12
↓ 40 callers
Function
skipTypes
(dAtA []byte)
abci/types/types.pb.go:13412
↓ 39 callers
Method
Marshal
()
internal/libs/protoio/writer_test.go:51
↓ 39 callers
Function
NewBitArray
NewBitArray returns a new bit array. It returns nil if the number of bits is zero.
libs/bits/bit_array.go:27
↓ 39 callers
Method
Parse
Parse parses the complete input and returns the resulting query.
libs/pubsub/query/syntax/parser.go:124
↓ 39 callers
Method
Save
Save overwrites the previous state with the updated one
internal/state/store.go:87
↓ 39 callers
Method
SetLogger
SetLogger sets a logger.
libs/service/service.go:52
↓ 39 callers
Method
Size
()
proto/tendermint/types/evidence.pb.go:73
↓ 39 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/consensus/types.pb.go:1498
↓ 38 callers
Method
Accepted
Accepted marks an incoming peer connection successfully accepted. If the peer is already connected or we don't allow additional connections then this
internal/p2p/peermanager.go:752
↓ 38 callers
Method
Close
()
internal/p2p/conn/connection_test.go:601
↓ 38 callers
Function
PubKeyToProto
PubKeyToProto takes crypto.PubKey and transforms it to a protobuf Pubkey
crypto/encoding/codec.go:21
↓ 38 callers
Method
Size
Size returns the number of transactions in the mempool.
internal/mempool/mempool.go:95
↓ 37 callers
Method
Data
Data returns an original data published.
libs/pubsub/subscription.go:109
↓ 37 callers
Method
GenSignedHeader
GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader.
light/helpers_test.go:146
next →
1–100 of 9,600, ranked by callers