MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 3 callersFunctionsortMigrations
(scData []toMigrate)
scripts/scmigrate/migrate.go:69
↓ 3 callersFunctionstate
(nVals int, height int64)
node/node_test.go:607
↓ 3 callersFunctionstateAndStore
fresh state and mock store
internal/consensus/replay_test.go:1159
↓ 3 callersMethodstopAndRemovePeer
(peer Peer, reason interface{})
internal/p2p/switch.go:406
↓ 3 callersMethodstopTimer
------------------------------------------------------------- stop the timer and drain if necessary
internal/consensus/ticker.go:80
↓ 3 callersFunctionstringOrHexToBytes
NOTE: s is interpreted as a string unless prefixed with 0x
abci/cmd/abci-cli/abci-cli.go:655
↓ 3 callersMethodsumTotalFrac
return the power voted, the total, and the fraction
types/vote_set.go:599
↓ 3 callersFunctiontempDir
()
libs/cli/setup_test.go:57
↓ 3 callersMethodterminate
XXX: Maybe get rid of this
internal/blocksync/v2/routine.go:162
↓ 3 callersFunctiontestCreateDefaultPeer
Creates a peer with the default config
internal/p2p/pex/pex_reactor_test.go:578
↓ 3 callersFunctiontestCreatePeerWithSeed
Creates a peer which knows about the provided seed. Starting and stopping the peer is left to the caller
internal/p2p/pex/pex_reactor_test.go:613
↓ 3 callersFunctiontestCreateSeed
Creates a seed which knows about the provided addresses / source address pairs. Starting and stopping the seed is left to the caller
internal/p2p/pex/pex_reactor_test.go:584
↓ 3 callersFunctiontestInboundPeerConn
( transport *MConnTransport, conn net.Conn, )
internal/p2p/test_util.go:209
↓ 3 callersMethodtmState
()
internal/blocksync/v2/processor_context.go:15
↓ 3 callersFunctiontoChannelIDs
(bytes []byte)
internal/p2p/router.go:1104
↓ 3 callersFunctionunreflectResult
------------------------------------------------------------- NOTE: assume returns is result struct and error. If error is not nil, return it
rpc/jsonrpc/server/rpc_func.go:89
↓ 3 callersMethodupdateToState
Updates State and increments height to match that of state. The round becomes 0 and cs.Step becomes cstypes.RoundStepNewHeight.
internal/consensus/state.go:639
↓ 3 callersMethodupdateValidator
add, update, or remove a validator
abci/example/kvstore/persistent_kvstore.go:245
↓ 3 callersFunctionvalidateBlock
(block *types.Block, activeVals map[string]struct{})
internal/consensus/reactor_test.go:135
↓ 3 callersFunctionvalidateSkipCount
(page, perPage int)
internal/rpc/core/env.go:180
↓ 3 callersFunctionvalidateValidatorUpdates
(abciUpdates []abci.ValidatorUpdate, params types.ValidatorParams)
internal/state/execution.go:415
↓ 3 callersFunctionverifyCommitBatch
Batch verification verifyCommitBatch batch verifies commits. This routine is equivalent to verifyCommitSingle in behavior, just faster iff every sign
types/validation.go:152
↓ 3 callersFunctionverifyCommitSingle
Single Verification verifyCommitSingle single verifies commits. If a key does not support batch verification, or batch verification fails this will be
types/validation.go:265
↓ 3 callersMethodverifyLightBlock
(ctx context.Context, newLightBlock *types.LightBlock, now time.Time)
light/client.go:479
↓ 3 callersMethodverifySkipping
see VerifyHeader verifySkipping finds the middle light block between a trusted and new light block, reiterating the action until it verifies a light
light/client.go:629
↓ 3 callersFunctionverifyTimeStamp
(tableName string)
internal/state/indexer/sink/psql/psql_test.go:289
↓ 3 callersFunctionwaitUntilSwitchHasAtLeastNPeers
(sw *Switch, n int)
internal/p2p/switch_test.go:599
↓ 3 callersFunctionwithBlockPartSetHeader
Convenience: Return new vote with different blockParts
types/vote_set_test.go:555
↓ 3 callersFunctionwriteLots
(t *testing.T, wg *sync.WaitGroup, conn io.Writer, txt string, n int)
internal/p2p/conn/secret_connection_test.go:287
↓ 3 callersMethodwriteMessageWithDeadline
All writes to the websocket must (re)set the write deadline. If some writes don't set it while others do, they may timeout incorrectly (https://github
rpc/jsonrpc/server/ws_handler.go:473
↓ 3 callersFunctionwriteStateJSONToFile
writeStateToFile pretty JSON encodes an object and writes it to file composed of dir and filename. It returns an error upon failure to encode or write
cmd/tendermint/commands/debug/io.go:108
↓ 2 callersMethodABCIQueryWithOptions
( ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions)
rpc/client/mock/abci.go:35
↓ 2 callersMethodABCIQueryWithOptions
( ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions)
rpc/client/mock/abci.go:115
↓ 2 callersMethodABCIQueryWithOptions
( ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions)
rpc/client/mock/abci.go:195
↓ 2 callersMethodAdd
(key crypto.PubKey, msg, signature []byte)
crypto/ed25519/ed25519.go:203
↓ 2 callersMethodAddBlock
AddBlock validates that the block comes from the peer it was expected from and calls the requester to store it. TODO: ensure that blocks come in order
internal/blocksync/v0/pool.go:262
↓ 2 callersMethodAddOurAddress
(*NetAddress)
internal/p2p/switch.go:58
↓ 2 callersMethodAddProvider
AddProvider adds a providers to the light clients set NOTE: The light client does not check for uniqueness
light/client.go:829
↓ 2 callersMethodAddVote
Returns added=true if vote is valid and new. Otherwise returns err=ErrVote[ UnexpectedStep | InvalidIndex | InvalidAddress | InvalidSignature | In
types/vote_set.go:143
↓ 2 callersMethodAnyBound
AnyBound returns either the lower bound if non-nil, otherwise the upper bound.
internal/state/indexer/query_range.go:24
↓ 2 callersMethodApp
App extracts out the application specific configuration parameters
test/e2e/node/config.go:31
↓ 2 callersMethodAppHash
AppHash returns the app hash after the given height has been committed.
internal/statesync/stateprovider.go:36
↓ 2 callersMethodApplySnapshotChunk
(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption)
abci/types/types.pb.go:3160
↓ 2 callersMethodApplySnapshotChunkSync
(context.Context, types.RequestApplySnapshotChunk)
internal/proxy/app_conn.go:54
↓ 2 callersMethodApplyVoteSetBitsMessage
ApplyVoteSetBitsMessage updates the peer state for the bit-array of votes it claims to have for the corresponding BlockID. `ourVotes` is a BitArray of
internal/consensus/peer_state.go:496
↓ 2 callersMethodBack
()
internal/libs/clist/clist.go:280
↓ 2 callersMethodBackFillBlocksTotal
()
internal/statesync/reactor.go:137
↓ 2 callersMethodBackFilledBlocks
()
internal/statesync/reactor.go:136
↓ 2 callersMethodBeginBlock
(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption)
abci/types/types.pb.go:3155
↓ 2 callersMethodBeginBlockAsync
(context.Context, types.RequestBeginBlock)
abci/client/client.go:43
↓ 2 callersMethodBeginBlockSync
(context.Context, types.RequestBeginBlock)
internal/proxy/app_conn.go:23
↓ 2 callersFunctionBenchmarkKeyGeneration
BenchmarkKeyGeneration benchmarks the given key generation algorithm using a dummy reader.
crypto/internal/benchmarking/bench.go:27
↓ 2 callersFunctionBenchmarkSigning
BenchmarkSigning benchmarks the given signing algorithm using the provided privkey.
crypto/internal/benchmarking/bench.go:36
↓ 2 callersFunctionBenchmarkVerification
BenchmarkVerification benchmarks the given verification algorithm using the provided privkey on a constant message.
crypto/internal/benchmarking/bench.go:50
↓ 2 callersMethodBitArrayString
Return the bit-array of votes including the fraction of power that has voted like: "BA{29:xx__x__x_x___x__x_______xxx__} 856/1304 = 0.66"
types/vote_set.go:534
↓ 2 callersMethodBroadcastTxCommit
(ctx context.Context, tx types.Tx)
rpc/client/mock/abci.go:128
↓ 2 callersMethodBufferCapacity
BufferCapacity returns capacity of the internal server's queue.
libs/pubsub/pubsub.go:162
↓ 2 callersMethodBuffered
Buffered returns the size of the currently buffered data.
internal/libs/autofile/group.go:221
↓ 2 callersMethodByteSize
ByteSize returns the total byte size of all the evidence
types/block.go:1099
↓ 2 callersMethodBytes
Bytes returns the byte representation of the bits within the bitarray.
libs/bits/bit_array.go:343
↓ 2 callersMethodCheckHRS
CheckHRS checks the given height, round, step (HRS) against that of the FilePVLastSignState. It returns an error if the arguments constitute a regress
privval/file.go:95
↓ 2 callersMethodCheckTx
(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption)
abci/types/types.pb.go:3151
↓ 2 callersMethodCheckTxAsync
(context.Context, types.RequestCheckTx)
abci/client/client.go:39
↓ 2 callersMethodCheckTxSync
(context.Context, types.RequestCheckTx)
abci/client/client.go:55
↓ 2 callersFunctionCheckValid
CheckValid checks whether the specified config appears to be a valid Tendermint config file. This emulates how the node loads the config.
internal/libs/confix/confix.go:135
↓ 2 callersMethodChunkProcessAvgTime
()
internal/statesync/reactor.go:132
↓ 2 callersMethodCleanup
(func())
internal/evidence/mocks/block_store.go:63
↓ 2 callersMethodClear
Clear will empty out this batch of requests and return the number of requests that were cleared out.
rpc/client/http/http.go:191
↓ 2 callersMethodClose
Close implements Connection.
internal/p2p/transport_mconn.go:467
↓ 2 callersMethodCommit
(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption)
abci/types/types.pb.go:3153
↓ 2 callersFunctionCommitToVoteSet
CommitToVoteSet constructs a VoteSet from the Commit and validator set. Panics if signatures from the commit can't be added to the voteset. Inverse of
types/block.go:776
↓ 2 callersMethodComputeRootHash
Compute the root hash given a leaf hash. Does not verify the result.
crypto/merkle/proof.go:71
↓ 2 callersFunctionCreateRoutableAddr
nolint:gosec // G404: Use of weak random number generator
internal/p2p/test_util.go:41
↓ 2 callersMethodCreateTransport
CreateTransport creates a new memory transport endpoint with the given node ID and immediately begins listening on the address "memory:<id>". It panic
internal/p2p/transport_memory.go:48
↓ 2 callersMethodDB
DB returns the underlying Postgres connection used by the sink. This is exported to support testing.
internal/state/indexer/sink/psql/psql.go:54
↓ 2 callersFunctionDataFromProto
DataFromProto takes a protobuf representation of Data & returns the native type.
types/block.go:1060
↓ 2 callersFunctionDecryptSymmetric
secret must be 32 bytes long. Use something like Sha256(Bcrypt(passphrase)) The ciphertext is (secretbox.Overhead + 24) bytes longer than the plaintex
crypto/xsalsa20symmetric/symmetric.go:36
↓ 2 callersFunctionDefaultBlockSyncConfig
DefaultBlockSyncConfig returns a default configuration for the block sync service
config/config.go:1083
↓ 2 callersFunctionDefaultClientCreator
DefaultClientCreator returns a default ClientCreator, which will create a local client if addr is one of: 'kvstore', 'persistent_kvstore', 'e2e', or '
internal/proxy/client.go:18
↓ 2 callersFunctionDefaultHTTPClient
DefaultHTTPClient is used to create an http client with some default parameters. We overwrite the http.Client.Dial so we can do http over tcp or unix.
rpc/jsonrpc/client/http_json_client.go:399
↓ 2 callersFunctionDefaultInstrumentationConfig
DefaultInstrumentationConfig returns a default configuration for metrics reporting.
config/config.go:1334
↓ 2 callersFunctionDefaultRPCConfig
DefaultRPCConfig returns a default configuration for the RPC server
config/config.go:560
↓ 2 callersFunctionDefaultTxIndexConfig
DefaultTxIndexConfig returns a default configuration for the transaction indexer.
config/config.go:1298
↓ 2 callersMethodDeleteLightBlock
DeleteSignedHeaderAndValidatorSet deletes SignedHeader (h: height) and ValidatorSet (h: height). height must be > 0.
light/store/store.go:17
↓ 2 callersMethodDeliverTx
DeliverTx implements ABCI.
test/e2e/app/app.go:149
↓ 2 callersMethodDropConnection
IsConnected indicates if there is an active connection
privval/signer_endpoint.go:76
↓ 2 callersMethodEnableTxsAvailable
EnableTxsAvailable enables the mempool to trigger events when transactions are available on a block by block basis.
internal/mempool/v1/mempool.go:146
↓ 2 callersFunctionEncryptSymmetric
secret must be 32 bytes long. Use something like Sha256(Bcrypt(passphrase)) The ciphertext is (secretbox.Overhead + 24) bytes longer than the plaintex
crypto/xsalsa20symmetric/symmetric.go:19
↓ 2 callersMethodEndBlock
(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption)
abci/types/types.pb.go:3156
↓ 2 callersMethodEndBlockSync
(context.Context, types.RequestEndBlock)
internal/proxy/app_conn.go:25
↓ 2 callersMethodEnsureVoteBitArrays
EnsureVoteBitArrays ensures the bit-arrays have been allocated for tracking what votes this peer has received. NOTE: It's important to make sure that
internal/consensus/peer_state.go:294
↓ 2 callersMethodEventBus
()
rpc/client/local/local.go:51
↓ 2 callersFunctionEventSinksFromConfig
EventSinksFromConfig constructs a slice of indexer.EventSink using the provided configuration.
internal/state/indexer/sink/sink.go:16
↓ 2 callersMethodEvents
Events returns events, which matched the client's query.
libs/pubsub/subscription.go:112
↓ 2 callersMethodEvidenceWaitChan
EvidenceWaitChan is a channel that closes once the first evidence in the list is there. i.e Front is not nil.
internal/evidence/pool.go:248
↓ 2 callersMethodExitCode
()
libs/cli/setup.go:81
↓ 2 callersMethodExtend
Change replaces the key at index i. func (pkz privKeys) Change(i int) privKeys { res := make(privKeys, len(pkz)) copy(res, pkz) res[i] = ed25519.Ge
light/helpers_test.go:44
↓ 2 callersFunctionFileExists
(filePath string)
libs/os/os.go:47
↓ 2 callersMethodFinish
()
internal/libs/progressbar/progressbar.go:39
↓ 2 callersMethodFirstTrustedHeight
FirstTrustedHeight returns a first trusted height. -1 and nil are returned if there are no trusted headers. Safe for concurrent use by multiple gorou
light/client.go:797
← previousnext →1,901–2,000 of 9,600, ranked by callers