MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 1,293 callersMethodEqual
(interface{})
proto/tendermint/crypto/keys.pb.go:71
↓ 716 callersMethodError
()
internal/proxy/app_conn.go:41
↓ 497 callersMethodError
(msg string, keyVals ...interface{})
libs/log/logger.go:35
↓ 490 callersMethodGet
(string)
internal/p2p/peer.go:43
↓ 480 callersMethodUnlock
Unlock unlocks the mempool.
internal/mempool/mempool.go:57
↓ 467 callersMethodLock
Lock locks the mempool. The consensus must be able to hold lock to safely update.
internal/mempool/mempool.go:54
↓ 441 callersMethodAdd
Add appends an entry into the BatchVerifier.
crypto/crypto.go:48
↓ 386 callersMethodHash
bytes which comprise the evidence
types/evidence.go:26
↓ 308 callersMethodInfo
(msg string, keyvals ...interface{})
libs/os/os.go:13
↓ 279 callersMethodDebug
(msg string, keyVals ...interface{})
libs/log/logger.go:33
↓ 257 callersMethodRun
([][]byte)
crypto/merkle/proof_op.go:22
↓ 247 callersFunctionTestingLogger
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 callersMethodWith
(keyVals ...interface{})
libs/log/logger.go:37
↓ 232 callersMethodDone
()
internal/libs/flowrate/io.go:19
↓ 216 callersMethodStart
service methods
internal/consensus/wal.go:66
↓ 212 callersMethodClose
Close closes the connection with the database
internal/state/store.go:97
↓ 197 callersMethodString
height of the infraction
types/evidence.go:28
↓ 158 callersMethodCleanup
(func())
internal/p2p/mocks/peer.go:338
↓ 157 callersMethodAddress
()
crypto/crypto.go:23
↓ 143 callersMethodStop
()
internal/consensus/wal.go:67
↓ 138 callersMethodGet
Get returns the transaction specified by hash or nil if the transaction is not indexed or stored.
internal/state/indexer/indexer.go:21
↓ 137 callersFunctionsovTypes
(x uint64)
abci/types/types.pb.go:7187
↓ 134 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
abci/types/types.pb.go:6058
↓ 133 callersMethodSleep
Sleep returns a channel that blocks until Wake() is called.
internal/libs/sync/waker.go:18
↓ 128 callersMethodSet
(string, interface{})
internal/p2p/peer.go:42
↓ 126 callersFunctionhash
(s string)
light/helpers_test.go:241
↓ 121 callersMethodBytes
()
crypto/crypto.go:24
↓ 116 callersMethodLen
()
internal/p2p/conn_tracker.go:13
↓ 110 callersMethodPubKey
()
crypto/crypto.go:33
↓ 102 callersMethodHeader
(ctx context.Context, height *int64)
rpc/client/interface.go:81
↓ 102 callersMethodWait
()
internal/consensus/wal.go:68
↓ 99 callersMethodAdd
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 callersMethodIsRunning
IsRunning reports whether the client is running.
rpc/client/interface.go:44
↓ 94 callersMethodStop
Stop will halt further activity on the ticker channel
internal/p2p/trust/ticker.go:16
↓ 93 callersMethodWrite
(WALMessage)
internal/consensus/wal.go:59
↓ 92 callersFunctionGenPrivKey
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 callersMethodMarshal
()
abci/types/types.pb.go:5693
↓ 89 callersMethodGetPubKey
(context.Context)
types/priv_validator.go:29
↓ 88 callersFunctionsubscribe
subscribe subscribes test client to the given query and returns a channel with cap = 1.
internal/consensus/state_test.go:1975
↓ 87 callersMethodValidateBasic
time of the infraction
types/evidence.go:30
↓ 80 callersMethodError
()
abci/client/client.go:32
↓ 80 callersMethodUnmarshal
(dAtA []byte)
abci/types/types.pb.go:12327
↓ 79 callersMethodContains
(id ChannelID)
internal/p2p/router.go:1099
↓ 79 callersMethodSize
()
internal/p2p/peer_set.go:16
↓ 79 callersMethodToProto
ToProto converts the handwritten type to proto generated type return type, nil if everything converts safely, otherwise nil, error
types/vote.go:206
↓ 77 callersMethodClose
Close stops accepting new connections, but does not close active connections.
internal/p2p/transport.go:56
↓ 76 callersMethodSetLogger
reset the timer
internal/consensus/ticker.go:23
↓ 73 callersFunctionSum
Sum returns the SHA256 of the bz.
crypto/tmhash/hash.go:19
↓ 71 callersMethodCopy
()
crypto/merkle/types.go:22
↓ 71 callersMethodID
()
internal/p2p/peer.go:26
↓ 67 callersMethodMakePartSet
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 callersFunctionsignAddVotes
( cfg *config.Config, to *State, voteType tmproto.SignedMsgType, hash []byte, header types.PartSetHeader,
internal/consensus/common_test.go:261
↓ 64 callersFunctionNewValidatorSet
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 callersMethodPeers
()
internal/rpc/core/env.go:59
↓ 62 callersFunctionCRandBytes
This only uses the OS's randomness
crypto/random.go:20
↓ 61 callersMethodErr
()
types/event_bus.go:29
↓ 61 callersFunctionNewPeerManager
NewPeerManager creates a new peer manager.
internal/p2p/peermanager.go:328
↓ 60 callersMethodGetRoundState
GetRoundState returns a shallow copy of the internal consensus state.
internal/consensus/state.go:243
↓ 58 callersMethodCheckTx
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 callersMethodContext
Context returns the connection's context.
rpc/jsonrpc/types/types.go:258
↓ 58 callersMethodEmpty
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 callersFunctionsovTypes
(x uint64)
proto/tendermint/types/types.pb.go:2176
↓ 57 callersMethodSize
()
proto/tendermint/p2p/conn.pb.go:203
↓ 57 callersMethodToProto
ToProto takes the local state type and returns the equivalent proto type
internal/state/state.go:155
↓ 57 callersFunctionensureNewRound
(roundCh <-chan tmpubsub.Message, height int64, round int32)
internal/consensus/common_test.go:547
↓ 56 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/types.pb.go:1862
↓ 55 callersMethodSize
()
abci/types/types.pb.go:218
↓ 53 callersMethodMarshalToSizedBuffer
(dAtA []byte)
abci/types/types.pb.go:5708
↓ 52 callersMethodUpdates
Updates returns a channel for consuming peer updates.
internal/p2p/peermanager.go:84
↓ 51 callersMethodAppend
(peer types.NodeID)
internal/statesync/dispatcher.go:271
↓ 50 callersMethodOut
()
types/event_bus.go:27
↓ 50 callersMethodTotalVotingPower
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 callersFunctionNewApplication
()
abci/example/kvstore/kvstore.go:73
↓ 47 callersMethodKey
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 callersFunctionNewMockPV
()
types/priv_validator.go:69
↓ 46 callersMethodTryDialNext
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 callersMethodType
()
crypto/crypto.go:27
↓ 44 callersMethodBytes
forms individual evidence to be sent to the application
types/evidence.go:25
↓ 44 callersMethodGetByAddress
(address []byte)
types/vote_set.go:395
↓ 44 callersFunctionconfigSetup
(t *testing.T)
internal/consensus/common_test.go:50
↓ 43 callersFunctionMustCompile
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 callersMethodCall
(ctx context.Context, method string, params map[string]interface{}, result interface{})
rpc/jsonrpc/client/http_json_client.go:116
↓ 41 callersFunctionNewBaseService
NewBaseService creates a new BaseService.
libs/service/service.go:112
↓ 41 callersMethodQuit
Quit returns a channel, which is closed once service is stopped.
libs/service/service.go:46
↓ 41 callersFunctionsovTypes
(x uint64)
proto/tendermint/consensus/types.pb.go:1799
↓ 40 callersMethodHeight
()
internal/evidence/services.go:12
↓ 40 callersFunctionskipTypes
(dAtA []byte)
abci/types/types.pb.go:13412
↓ 39 callersMethodMarshal
()
internal/libs/protoio/writer_test.go:51
↓ 39 callersFunctionNewBitArray
NewBitArray returns a new bit array. It returns nil if the number of bits is zero.
libs/bits/bit_array.go:27
↓ 39 callersMethodParse
Parse parses the complete input and returns the resulting query.
libs/pubsub/query/syntax/parser.go:124
↓ 39 callersMethodSave
Save overwrites the previous state with the updated one
internal/state/store.go:87
↓ 39 callersMethodSetLogger
SetLogger sets a logger.
libs/service/service.go:52
↓ 39 callersMethodSize
()
proto/tendermint/types/evidence.pb.go:73
↓ 39 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/consensus/types.pb.go:1498
↓ 38 callersMethodAccepted
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 callersMethodClose
()
internal/p2p/conn/connection_test.go:601
↓ 38 callersFunctionPubKeyToProto
PubKeyToProto takes crypto.PubKey and transforms it to a protobuf Pubkey
crypto/encoding/codec.go:21
↓ 38 callersMethodSize
Size returns the number of transactions in the mempool.
internal/mempool/mempool.go:95
↓ 37 callersMethodData
Data returns an original data published.
libs/pubsub/subscription.go:109
↓ 37 callersMethodGenSignedHeader
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