MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 9 callersMethodDialPeerWithAddress
DialPeerWithAddress dials the given peer and runs sw.addPeer if it connects and authenticates successfully. If we're currently dialing this address or
internal/p2p/switch.go:586
↓ 9 callersMethodDiscard
Discard discards a chunk. It will be removed from the queue, available for allocation, and can be added and returned via Next() again. If the chunk is
internal/statesync/chunks.go:161
↓ 9 callersMethodExecute
()
libs/cli/setup.go:24
↓ 9 callersFunctionGenPrivKeyFromSecret
GenPrivKeyFromSecret hashes the secret with SHA2, and uses that 32 byte output to create the private key. NOTE: secret should be the output of a KDF l
crypto/ed25519/ed25519.go:141
↓ 9 callersMethodGetChannels
GetChannels returns the list of MConnection.ChannelDescriptor. Make sure that each ID is unique across all the reactors added to the switch.
internal/p2p/base_reactor.go:23
↓ 9 callersMethodGetSelection
Send a selection of addresses to peers
internal/p2p/pex/addrbook.go:73
↓ 9 callersMethodGetSum
()
proto/tendermint/consensus/types.pb.go:703
↓ 9 callersMethodHash
Hash returns the hash of the header and the commonHeight. This is designed to cause hash collisions with evidence that have the same conflicting heade
types/evidence.go:349
↓ 9 callersMethodMakeChannelsNoCleanup
MakeChannelsNoCleanup makes a channel on all nodes and returns them, automatically doing error checks. The caller must ensure proper cleanup of all th
internal/p2p/p2ptest/network.go:152
↓ 9 callersMethodMakeCommit
-------------------------------------------------------------------------------- Commit MakeCommit constructs a Commit from the VoteSet. It only inclu
types/vote_set.go:613
↓ 9 callersFunctionMakeSecretConnection
MakeSecretConnection performs handshake and returns a new authenticated SecretConnection. Returns nil if there is an error in handshake. Caller should
internal/p2p/conn/secret_connection.go:92
↓ 9 callersFunctionMarshalDelimited
(msg proto.Message)
internal/libs/protoio/writer.go:110
↓ 9 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/state/types.pb.go:670
↓ 9 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/p2p/pex.pb.go:458
↓ 9 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/blocksync/types.pb.go:575
↓ 9 callersFunctionNewEventSwitch
()
libs/events/events.go:62
↓ 9 callersMethodPickAddress
Pick an address to dial
internal/p2p/pex/addrbook.go:60
↓ 9 callersFunctionPostCheckMaxGas
PostCheckMaxGas checks that the wanted gas is smaller or equal to the passed maxGas. Returns nil if maxGas is -1.
internal/mempool/mempool.go:127
↓ 9 callersMethodPropose
Propose returns the amount of time to wait for a proposal
config/config.go:1192
↓ 9 callersMethodPrune
Prune removes headers & the associated validator sets when Store reaches a defined size (number of header & validator set pairs).
light/store/store.go:44
↓ 9 callersMethodRanked
Ranked returns a list of peers ordered by score (better peers first). Peers with equal scores are returned in an arbitrary order. The returned list mu
internal/p2p/peermanager.go:1445
↓ 9 callersMethodReadGroupInfo
Returns info after scanning all files in g.Head's dir.
internal/libs/autofile/group.go:349
↓ 9 callersFunctionReadMessage
ReadMessage reads a varint length-delimited protobuf message.
abci/types/messages.go:22
↓ 9 callersMethodReapMaxTxs
ReapMaxTxs reaps up to max transactions from the mempool. If max is negative, there is no cap on the size of all returned transactions (~ all availabl
internal/mempool/mempool.go:50
↓ 9 callersMethodRoutable
Routable returns true if the address is routable.
types/netaddress.go:182
↓ 9 callersMethodShutdown
Shutdown will kill the test harness and attempt to close all open sockets gracefully. If the supplied error is nil, it is assumed that the exit code s
tools/tm-signer-harness/internal/test_harness.go:319
↓ 9 callersMethodStatus
(context.Context)
rpc/client/interface.go:116
↓ 9 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/statesync/types.pb.go:2499
↓ 9 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/privval/types.pb.go:2475
↓ 9 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/consensus/types.pb.go:2467
↓ 9 callersMethodUnwrap
Unwrap will unwrap the inner message contained in this message.
internal/p2p/router.go:122
↓ 9 callersMethodUpdate
Update attempts to advance the state by downloading the latest light block and verifying it. It returns a new light block on a successful update. Othe
light/client.go:356
↓ 9 callersFunctionValidateHash
ValidateHash returns an error if the hash is not empty, but its size != tmhash.Size.
types/validation.go:134
↓ 9 callersMethodVerifyCommitLight
LIGHT CLIENT VERIFICATION METHODS VerifyCommitLight verifies +2/3 of the set had signed the given commit.
types/validator_set.go:665
↓ 9 callersMethodWrap
Wrap will take a message and wrap it in this one if possible.
internal/p2p/router.go:119
↓ 9 callersFunctionWriteMessage
WriteMessage writes a varint length-delimited protobuf message.
abci/types/messages.go:15
↓ 9 callersFunctionassertGroupInfo
(t *testing.T, gInfo GroupInfo, minIndex, maxIndex int, totalSize, headSize int64)
internal/libs/autofile/group_test.go:38
↓ 9 callersFunctioncheckScResults
checkScResults checks scheduler handler test results
internal/blocksync/v2/scheduler_test.go:1370
↓ 9 callersFunctionencodeVarintValidator
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/validator.pb.go:386
↓ 9 callersFunctiongetHTTPClient
(t *testing.T, conf *config.Config)
rpc/client/rpc_test.go:32
↓ 9 callersMethodgetStateAtHeight
(height int64)
internal/blocksync/v2/scheduler.go:325
↓ 9 callersMethodload_from_digital_ocean
Get JSON from DigitalOcean API
networks/remote/ansible/inventory/digital_ocean.py:387
↓ 9 callersFunctionmakeVote
( t *testing.T, val PrivValidator, chainID string, valIndex int32, height int64, round int32, step int, block
types/evidence_test.go:235
↓ 9 callersFunctionnewMockTickerFunc
(onlyOnce bool)
internal/consensus/common_test.go:882
↓ 9 callersFunctionnewSnapshotPool
newSnapshotPool creates a new empty snapshot pool.
internal/statesync/snapshots.go:60
↓ 9 callersFunctionrandNetAddressPairs
(t *testing.T, n int)
internal/p2p/pex/addrbook_test.go:181
↓ 9 callersFunctionrandValidatorPrivValSet
(numValidators int, votingPower int64)
types/vote_set_test.go:501
↓ 9 callersFunctionsetupNetwork
setup setups a test suite with a network of nodes. Mocknodes represent the hollow nodes that the test can listen and send on
internal/p2p/pex/reactor_test.go:356
↓ 9 callersMethodsignAddVote
sign the vote and publish on internalMsgQueue
internal/consensus/state.go:2302
↓ 9 callersFunctionskipTypes
(dAtA []byte)
proto/tendermint/statesync/types.pb.go:2604
↓ 9 callersFunctionsovConn
(x uint64)
proto/tendermint/p2p/conn.pb.go:685
↓ 9 callersMethodstart
starts up the pex reactors for each node
internal/p2p/pex/reactor_test.go:434
↓ 9 callersFunctiontrailsFromByteSlices
trails[0].Hash is the leaf hash for items[0]. trails[i].Parent.Parent....Parent == root for all i.
crypto/merkle/proof.go:219
↓ 9 callersFunctiontxResultWithEvents
(events []abci.Event)
internal/state/indexer/tx/kv/kv_test.go:321
↓ 8 callersMethodABCIInfo
Reading from abci app
rpc/client/interface.go:64
↓ 8 callersMethodAddEvidence
(types.Evidence)
internal/state/services.go:47
↓ 8 callersMethodAdvertise
Advertise returns a list of peer addresses to advertise to a peer. It sorts all peers in the peer store, and assembles a list of peers that is most l
internal/p2p/peermanager.go:965
↓ 8 callersMethodApplyBlock
ApplyBlock validates the block against the state, executes it against the app, fires the relevant events, commits the app, and saves the new state and
internal/state/execution.go:151
↓ 8 callersMethodCheckTx
(context.Context, types.Tx)
rpc/client/interface.go:150
↓ 8 callersMethodChooseAtLeast
(r *rand.Rand, num int)
test/e2e/generator/random.go:79
↓ 8 callersMethodCommit
(ctx context.Context, height *int64)
rpc/client/interface.go:83
↓ 8 callersFunctionDefaultConfig
DefaultConfig returns a config with values that have been tested and produce desirable results
internal/p2p/trust/config.go:24
↓ 8 callersMethodDialNext
DialNext finds an appropriate peer address to dial, and marks it as dialing. If no peer is found, or all connection slots are full, it blocks until on
internal/p2p/peermanager.go:539
↓ 8 callersMethodForBlock
ForBlock returns true if CommitSig is for the block.
types/block.go:636
↓ 8 callersFunctionGenesisDocFromJSON
------------------------------------------------------------ Make genesis state from file GenesisDocFromJSON unmarshalls JSON data into a GenesisDoc.
types/genesis.go:112
↓ 8 callersMethodGetByIndex
(int32)
types/vote_set.go:688
↓ 8 callersMethodGetState
()
internal/rpc/core/env.go:41
↓ 8 callersMethodGetSum
()
proto/tendermint/statesync/types.pb.go:113
↓ 8 callersMethodGetSum
()
proto/tendermint/privval/types.pb.go:587
↓ 8 callersMethodHasTwoThirdsAny
()
types/vote_set.go:430
↓ 8 callersMethodHasTwoThirdsMajority
()
types/vote_set.go:408
↓ 8 callersMethodIsComplete
IsComplete returns true if this is a valid BlockID of a non-nil block.
types/block.go:1214
↓ 8 callersFunctionIsVoteTypeValid
IsVoteTypeValid returns true if t is a valid vote type.
types/signed_msg_type.go:6
↓ 8 callersMethodLess
(i, j int)
internal/p2p/pqueue.go:31
↓ 8 callersMethodLightBlock
LightBlock returns the LightBlock that corresponds to the given height. 0 - the latest. height must be >= 0. If the provider fails to fetch the Ligh
light/provider/provider.go:24
↓ 8 callersMethodLoadABCIResponses
LoadABCIResponses loads the abciResponse for a given height
internal/state/store.go:83
↓ 8 callersMethodLoadConsensusParams
LoadConsensusParams loads the consensus params for a given height
internal/state/store.go:85
↓ 8 callersFunctionMakeBlockIDWithHash
(hash []byte)
internal/test/factory/block.go:39
↓ 8 callersFunctionMakeCommit
(blockID types.BlockID, height int64, round int32, voteSet *types.VoteSet, validators []types.PrivValidator,
internal/test/factory/commit.go:12
↓ 8 callersFunctionMakeVote
( val types.PrivValidator, chainID string, valIndex int32, height int64, round int32, step int, blockID
internal/test/factory/vote.go:11
↓ 8 callersMethodMarshal
()
proto/tendermint/p2p/conn.pb.go:439
↓ 8 callersMethodMarshal
Marshal needed for protobuf compatibility
libs/bytes/bytes.go:20
↓ 8 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/consensus/wal.pb.go:427
↓ 8 callersFunctionNewMConnTransport
NewMConnTransport sets up a new MConnection transport. This uses the proprietary Tendermint MConnection protocol, which is implemented as conn.MConnec
internal/p2p/transport_mconn.go:57
↓ 8 callersFunctionNewTxIndex
NewTxIndex creates new KV indexer.
internal/state/indexer/tx/kv/kv.go:32
↓ 8 callersMethodNextTick
NextInterval manually sends Time on the ticker channel
internal/p2p/trust/ticker.go:42
↓ 8 callersMethodNextWaitChan
NextWaitChan can be used to wait until Next becomes not nil. Once it does, channel will be closed.
internal/libs/clist/clist.go:108
↓ 8 callersMethodOpenChannel
OpenChannel opens a new channel for the given message type. The caller must close the channel when done, before stopping the Router. messageType is th
internal/p2p/router.go:376
↓ 8 callersMethodPeers
Peers returns all known peers, primarily for testing. The order is arbitrary.
internal/p2p/peermanager.go:1196
↓ 8 callersFunctionPrepareBaseCmd
PrepareBaseCmd is meant for tendermint and other servers
libs/cli/setup.go:28
↓ 8 callersMethodPruneBlocks
PruneBlocks removes block up to (but not including) a height. It returns the number of blocks pruned.
internal/store/store.go:307
↓ 8 callersMethodReapMaxBytesMaxGas
ReapMaxBytesMaxGas reaps transactions from the mempool up to maxBytes bytes total with the condition that the total gasWanted must be less than maxGas
internal/mempool/mempool.go:45
↓ 8 callersMethodRemoveListener
(listenerID string)
libs/events/events.go:51
↓ 8 callersMethodRemovePeer
RemovePeer is called by the switch when the peer is stopped (due to error or other reason).
internal/p2p/base_reactor.go:39
↓ 8 callersMethodRound
()
internal/consensus/types/height_vote_set.go:78
↓ 8 callersMethodSendMessage
SendMessage sends a message on the connection. Returns io.EOF if closed. FIXME: For compatibility with the legacy P2P stack, it returns an additional
internal/p2p/transport.go:99
↓ 8 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
rpc/jsonrpc/server/http_server.go:257
↓ 8 callersMethodSignVote
Implements PrivValidator.
types/priv_validator.go:86
↓ 8 callersMethodSize
()
proto/tendermint/p2p/pex.pb.go:335
↓ 8 callersMethodSize
()
proto/tendermint/blocksync/types.pb.go:297
← previousnext →501–600 of 9,600, ranked by callers