MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 2 callersMethodFlushAndSync
FlushAndSync writes any buffered data to the underlying file and commits the current content of the file to stable storage (fsync).
internal/libs/autofile/group.go:229
↓ 2 callersMethodFlushAppConn
FlushAppConn flushes the mempool connection to ensure async callback calls are done, e.g. from CheckTx. NOTE: 1. Lock/Unlock must be managed by calle
internal/mempool/mempool.go:78
↓ 2 callersMethodFlushAsync
Asynchronous requests
abci/client/client.go:35
↓ 2 callersMethodFlushSync
Synchronous requests
abci/client/client.go:51
↓ 2 callersMethodFromProto
FromProto sets BitArray to the given protoBitArray. It returns an error if protoBitArray is invalid.
libs/bits/bit_array.go:443
↓ 2 callersFunctionGenPrivKeySecp256k1
GenPrivKeySecp256k1 hashes the secret with SHA2, and uses that 32 byte output to create the private key. It makes sure the private key is a valid fie
crypto/secp256k1/secp256k1.go:107
↓ 2 callersMethodGenerate
(keyType string)
test/e2e/pkg/testnet.go:494
↓ 2 callersMethodGenerateABCI
GenerateABCI populates the ABCI component of the evidence. This includes the validator power, timestamp and total voting power.
types/evidence.go:176
↓ 2 callersMethodGenesisDoc
GenesisDoc returns the Node's GenesisDoc.
node/node.go:1078
↓ 2 callersMethodGetBlockRequest
()
proto/tendermint/blocksync/types.pb.go:329
↓ 2 callersMethodGetConsensusState
()
internal/consensus/reactor.go:1468
↓ 2 callersMethodGetHeight
()
types/vote_set.go:683
↓ 2 callersMethodGetLightBlockRequest
()
proto/tendermint/statesync/types.pb.go:148
↓ 2 callersMethodGetNoBlockResponse
()
proto/tendermint/blocksync/types.pb.go:336
↓ 2 callersMethodGetParamsRequest
()
proto/tendermint/statesync/types.pb.go:162
↓ 2 callersMethodGetParamsResponse
()
proto/tendermint/statesync/types.pb.go:169
↓ 2 callersMethodGetPeerState
(peerID types.NodeID)
internal/rpc/core/env.go:64
↓ 2 callersMethodGetPort
()
proto/tendermint/p2p/pex.pb.go:79
↓ 2 callersMethodGetPower
()
abci/types/types.pb.go:2646
↓ 2 callersMethodGetPubKey
-------------------------------------------------------- Implement PrivValidator GetPubKey retrieves a public key from a remote signer returns an erro
privval/grpc/client.go:57
↓ 2 callersMethodGetRemainingSyncTime
GetRemainingSyncTime returns the estimating time the node will be fully synced, if will return 0 if the blocksync does not perform or the number of bl
internal/consensus/reactor.go:112
↓ 2 callersMethodGetRound
()
types/vote_set.go:684
↓ 2 callersMethodGetSum
()
proto/tendermint/types/evidence.pb.go:86
↓ 2 callersMethodGetTrimmedHostWithPath
Get a trimmed address - useful for WS connections
rpc/jsonrpc/client/http_json_client.go:80
↓ 2 callersMethodGetTxs
()
proto/tendermint/types/types.pb.go:459
↓ 2 callersFunctionGroupCheckDuration
GroupCheckDuration allows you to overwrite default groupCheckDuration.
internal/libs/autofile/group.go:116
↓ 2 callersFunctionGroupHeadSizeLimit
GroupHeadSizeLimit allows you to overwrite default head size limit - 10MB.
internal/libs/autofile/group.go:123
↓ 2 callersFunctionGuessConfigVersion
GuessConfigVersion attempts to figure out which version of Tendermint created the specified config document. It returns "" if the creating version can
internal/libs/confix/confix.go:103
↓ 2 callersMethodHas
Has reports whether tx is present in the cache. Checking for presence is not treated as an access of the value.
internal/mempool/cache.go:28
↓ 2 callersMethodHas
Has returns true if the given height has been indexed. An error is returned upon database query failure.
internal/state/indexer/block/kv/kv.go:38
↓ 2 callersMethodHasAddress
HasAddress returns true if address given is in the validator set, false - otherwise.
types/validator_set.go:259
↓ 2 callersMethodHasBlock
HasBlock is not implemented by this sink, and reports an error for all queries.
internal/state/indexer/sink/psql/psql.go:254
↓ 2 callersMethodHasIP
(net.IP)
internal/p2p/conn_set.go:12
↓ 2 callersFunctionHashFromByteSlicesIterative
HashFromByteSliceIterative is an iterative alternative to HashFromByteSlice motivated by potential performance improvements. (#2611) had suggested tha
crypto/merkle/tree.go:68
↓ 2 callersMethodHeader
()
types/part_set.go:208
↓ 2 callersFunctionHeaderExpired
HeaderExpired return true if the given header expired.
light/verifier.go:183
↓ 2 callersMethodHeight
Height returns the last height at which the primary provider and witness provider had the same header. We use this as the height of the infraction rat
types/evidence.go:361
↓ 2 callersMethodID
ID returns the node's peer ID.
types/node_info.go:59
↓ 2 callersMethodIO
IO is a convenience method intended to wrap io.Reader and io.Writer method execution. It calls m.Update(n) and then returns (n, err) unmodified.
internal/libs/flowrate/flowrate.go:86
↓ 2 callersMethodImport
Import imports key/value pairs from JSON bytes, used for InitChain.AppStateBytes and state sync snapshots. It also saves the state once imported.
test/e2e/app/state.go:108
↓ 2 callersMethodIndexBlockEvents
IndexBlockEvents indexes the blockheader.
internal/state/indexer/eventsink.go:29
↓ 2 callersMethodIndexBlockEvents
(bh types.EventDataNewBlockHeader)
internal/state/indexer/sink/kv/kv.go:38
↓ 2 callersMethodIndexBlockEvents
IndexBlockEvents indexes the specified block header, part of the indexer.EventSink interface.
internal/state/indexer/sink/psql/psql.go:147
↓ 2 callersMethodIndexTxEvents
IndexTxEvents indexes the given result of transactions. To call it with multi transactions, must guarantee the index of given transactions are in orde
internal/state/indexer/eventsink.go:33
↓ 2 callersMethodIndexTxEvents
(txrs []*abci.TxResult)
internal/state/indexer/sink/psql/psql.go:182
↓ 2 callersMethodInfo
(req types.RequestInfo)
abci/example/kvstore/persistent_kvstore.go:62
↓ 2 callersMethodInfo
(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption)
abci/types/types.pb.go:3149
↓ 2 callersMethodInfoSync
(context.Context, types.RequestInfo)
abci/client/client.go:53
↓ 2 callersMethodInfoSync
(context.Context, types.RequestInfo)
internal/proxy/app_conn_test.go:22
↓ 2 callersMethodInitChain
(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption)
abci/types/types.pb.go:3154
↓ 2 callersFunctionInjectEvidence
InjectEvidence takes a running testnet and generates an amount of valid evidence and broadcasts it to a random node through the rpc endpoint `/broadca
test/e2e/runner/evidence.go:31
↓ 2 callersFunctionIsASCIIText
Returns true if s is a non-empty printable non-tab ascii character.
libs/strings/string.go:59
↓ 2 callersMethodIsCommit
()
types/vote_set.go:689
↓ 2 callersMethodIsConnected
IsConnected indicates with the signer is connected to a remote signing service
privval/signer_client.go:42
↓ 2 callersMethodIsCorsEnabled
IsCorsEnabled returns true if cross-origin resource sharing is enabled.
config/config.go:635
↓ 2 callersMethodIsDialingOrExistingAddress
IsDialingOrExistingAddress returns true if switch has a peer with the given address or dialing it at the moment.
internal/p2p/switch.go:606
↓ 2 callersMethodIsTLSEnabled
()
config/config.go:655
↓ 2 callersMethodIsValid
IsValid returns true if the step is valid, false if unknown/undefined.
internal/consensus/types/round_state.go:34
↓ 2 callersFunctionKeyFromHeight
(result *abci.TxResult)
internal/state/indexer/tx/kv/kv.go:554
↓ 2 callersFunctionKeyPathToKeys
Decode a path to a list of keys. Path must begin with `/`. Each key must use a known encoding.
crypto/merkle/proof_key_path.go:87
↓ 2 callersMethodLatestResult
(index int)
libs/async/async.go:45
↓ 2 callersMethodLeaf
Leaf returns the hash(tx), which is the leaf in the merkle tree which this proof refers to.
types/tx.go:90
↓ 2 callersMethodListSnapshots
(ctx context.Context, in *RequestListSnapshots, opts ...grpc.CallOption)
abci/types/types.pb.go:3157
↓ 2 callersMethodListSnapshotsSync
(context.Context, types.RequestListSnapshots)
internal/proxy/app_conn.go:51
↓ 2 callersMethodLoad
(hash []byte)
crypto/merkle/types.go:21
↓ 2 callersMethodLoadBlockPart
(height int64, index int)
internal/state/services.go:33
↓ 2 callersMethodLoadBlockPart
LoadBlockPart returns the Part at the given index from the block at the given height. If no part is found for the given height and index, it returns n
internal/store/store.go:207
↓ 2 callersFunctionLoadConfig
LoadConfig loads and parses the TOML document from path.
internal/libs/confix/confix.go:82
↓ 2 callersMethodLoadSnapshotChunk
(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption)
abci/types/types.pb.go:3159
↓ 2 callersMethodLoadSnapshotChunkSync
(context.Context, types.RequestLoadSnapshotChunk)
internal/proxy/app_conn.go:53
↓ 2 callersMethodLocalAddr
()
internal/p2p/conn/secret_connection.go:279
↓ 2 callersFunctionLookForRanges
LookForRanges returns a mapping of QueryRanges and the matching indexes in the provided query conditions.
internal/state/indexer/query_range.go:80
↓ 2 callersMethodLowerBoundValue
LowerBoundValue returns the value for the lower bound. If the lower bound is nil, nil will be returned.
internal/state/indexer/query_range.go:34
↓ 2 callersMethodMakeChannelNoCleanup
MakeChannelNoCleanup opens a channel, with automatic error handling. The caller must ensure proper cleanup of the channel.
internal/p2p/p2ptest/network.go:298
↓ 2 callersFunctionMakeConnectedSwitches
MakeConnectedSwitches returns n switches, connected according to the connect func. If connect==Connect2Switches, the switches will be fully connected.
internal/p2p/test_util.go:70
↓ 2 callersFunctionMakeGenesisDocFromFile
MakeGenesisDocFromFile reads and unmarshals genesis doc from the given file.
internal/state/state.go:325
↓ 2 callersMethodMakePeerUpdates
MakePeerUpdates opens a peer update subscription, with automatic cleanup. It checks that all updates have been consumed during cleanup.
internal/p2p/p2ptest/network.go:312
↓ 2 callersFunctionMakeSecretConnection
MakeSecretConnection performs handshake and returns a new authenticated SecretConnection. Returns nil if there is an error in handshake. Caller should
privval/secret_connection.go:96
↓ 2 callersFunctionMakeTenTxs
(height int64)
internal/test/factory/tx.go:14
↓ 2 callersMethodMarshal
()
abci/types/types.pb.go:5323
↓ 2 callersMethodMarshal
()
proto/tendermint/mempool/types.pb.go:164
↓ 2 callersMethodMarshal
()
proto/tendermint/p2p/pex.pb.go:635
↓ 2 callersMethodMarshal
()
proto/tendermint/version/types.pb.go:130
↓ 2 callersMethodMarshalTo
([]byte)
abci/types/types.pb.go:217
↓ 2 callersMethodMarshalTo
([]byte)
proto/tendermint/consensus/wal.pb.go:244
↓ 2 callersMethodMarshalTo
(data []byte)
internal/libs/protoio/io.go:58
↓ 2 callersFunctionMaxBlockLag
MaxBlockLag represents the maximum time difference between the realtime that a block is received and the timestamp of that block. One can approximate
light/client.go:110
↓ 2 callersFunctionMaxClockDrift
MaxClockDrift defines how much new header's time can drift into the future relative to the light clients local time. Default: 10s.
light/client.go:98
↓ 2 callersFunctionMedianTime
MedianTime computes a median time for a given Commit (based on Timestamp field of votes messages) and the corresponding validator set. The computed ti
internal/state/state.go:290
↓ 2 callersFunctionMigrate
(ctx context.Context, db dbm.DB)
scripts/scmigrate/migrate.go:166
↓ 2 callersMethodMinIndex
MinIndex returns index of the first file in the group.
internal/libs/autofile/group.go:193
↓ 2 callersFunctionMsgToProto
MsgToProto takes a consensus message type and returns the proto defined consensus message. TODO: This needs to be removed, but WALToProto depends on
internal/consensus/msgs.go:319
↓ 2 callersMethodNBlocks
NBlocks returns the number of blocks applied to the state.
internal/consensus/replay.go:237
↓ 2 callersFunctionNew
New returns a new xchachapoly1305 AEAD
crypto/xchacha20poly1305/xchachapoly.go:41
↓ 2 callersFunctionNew
New creates a new flow control monitor. Instantaneous transfer rate is measured and updated for each sampleRate interval. windowSize determines the we
internal/libs/flowrate/flowrate.go:49
↓ 2 callersFunctionNewABCIApplicationClient
(cc *grpc.ClientConn)
abci/types/types.pb.go:3167
↓ 2 callersFunctionNewAppConnConsensus
(appConn abciclient.Client, metrics *Metrics)
internal/proxy/app_conn.go:65
↓ 2 callersFunctionNewBlockMeta
NewBlockMeta returns a new BlockMeta.
types/block_meta.go:20
↓ 2 callersFunctionNewCommitSigForBlock
NewCommitSigForBlock returns new CommitSig with BlockIDFlagCommit.
types/block.go:612
↓ 2 callersFunctionNewGRPCApplication
(app Application)
abci/types/application.go:100
← previousnext →2,001–2,100 of 9,600, ranked by callers