MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

MethodUnsubscribeAll
(ctx context.Context, subscriber string)
types/event_bus.go:100
MethodUnsubscribeAll
(ctx context.Context, subscriber string)
types/event_bus.go:256
MethodUnsubscribeAll
UnsubscribeAll from all events via WebSocket. More: https://docs.tendermint.com/master/rpc/#/Websocket/unsubscribe_all
internal/rpc/core/events.go:126
MethodUnsubscribeAll
(ctx context.Context, subscriber string)
light/rpc/client.go:593
MethodUnsubscribeAll
UnsubscribeAll implements EventsClient by using WSClient to unsubscribe given subscriber from all the queries. It returns an error if wsEvents is not
rpc/client/http/ws.go:177
MethodUnsubscribeAll
UnsubscribeAll provides a mock function with given fields: ctx, subscriber
rpc/client/mocks/client.go:768
MethodUnsubscribeAll
(ctx context.Context, subscriber string)
rpc/client/local/local.go:329
MethodUnsubscribeAll
UnsubscribeAll from all. Note the server must have a "unsubscribe_all" route defined.
rpc/jsonrpc/client/ws_client.go:521
MethodUnsubscribeAllWS
UnsubscribeAllWS calls original client's UnsubscribeAll using remote address as a subscriber.
light/rpc/client.go:658
MethodUnsubscribeWS
UnsubscribeWS calls original client's Unsubscribe using remote address as a subscriber.
light/rpc/client.go:648
MethodUnwrap
Unwrap implements the p2p Wrapper interface and unwraps a wrapped state sync proto message.
proto/tendermint/statesync/message.go:46
MethodUnwrap
Unwrap implements the p2p Wrapper interface and unwraps a wrapped PEX message.
proto/tendermint/p2p/pex.go:28
MethodUnwrap
Unwrap implements the p2p Wrapper interface and unwraps a wrapped consensus proto message.
proto/tendermint/consensus/message.go:48
MethodUnwrap
Unwrap implements the p2p Wrapper interface and unwraps a wrapped blockchain message.
proto/tendermint/blocksync/message.go:42
MethodUnwrap
()
internal/p2p/router_test.go:292
MethodUnwrap
Unwrap returns underlying reason.
light/errors.go:59
MethodUpdate
Lock() must be help by the caller during execution.
internal/mempool/v0/clist_mempool.go:586
MethodUpdate
Update removes all the given transactions from the mempool and the cache, and updates the current block height. The blockTxs and deliverTxResponses mu
internal/mempool/v1/mempool.go:384
MethodUpdate
( _ int64, _ types.Txs, _ []*abci.ResponseDeliverTx, _ mempool.PreCheckFunc, _ mempool.PostCheckFunc, )
internal/mempool/mock/mempool.go:26
MethodUpdate
(State, types.EvidenceList)
internal/state/services.go:60
MethodUpdate
Update provides a mock function with given fields: _a0, _a1
internal/state/mocks/evidence_pool.go:68
MethodUpdate
( _ int64, _ types.Txs, _ []*abci.ResponseDeliverTx, _ mempool.PreCheckFunc, _ mempool.PostCheckFunc, )
internal/consensus/replay_stubs.go:30
MethodUpdate
Update provides a mock function with given fields: ctx, now
light/rpc/mocks/light_client.go:58
MethodUpdate
Update sets the bA's bits to be that of the other bit array. The copying begins from the begin of both bit arrays.
libs/bits/bit_array.go:359
FunctionUpdateState
TODO: Remove dependence on all entities exported from this file. Every entity exported here is dependent on a private entity from the `state` packag
internal/state/export_test.go:22
MethodValidate
Validate verifies the proof. It returns nil if the RootHash matches the dataHash argument, and if the proof is internally consistent. Otherwise, it re
types/tx.go:96
MethodValidate
Validate validates the message returning an error upon failure.
proto/tendermint/statesync/message.go:78
MethodValidate
Validate validates a node.
test/e2e/pkg/testnet.go:320
MethodValidate
Validate validates the endpoint.
internal/p2p/transport.go:196
MethodValidate
Validate validates the options.
internal/p2p/peermanager.go:190
MethodValidate
()
libs/pubsub/pubsub.go:84
MethodValidate
Validate performs a basic validation of WSOptions.
rpc/client/http/ws.go:35
MethodValidateABCI
ValidateABCI validates the ABCI component of the evidence by checking the timestamp, byzantine validators and total voting power all match. ABCI compo
types/evidence.go:420
MethodValidateBasic
ValidateBasic performs basic validation.
types/block_meta.go:69
MethodValidateBasic
()
types/validator_set.go:82
MethodValidateBasic
ValidateBasic performs basic validation.
types/validator.go:36
MethodValidateBasic
ValidateBasic performs basic validation.
types/part_set.go:30
MethodValidateBasic
ValidateBasic performs basic validation.
types/part_set.go:116
MethodValidateBasic
ValidateBasic performs basic validation that doesn't involve state data. It checks the internal consistency of the block. Further validation is done u
types/block.go:54
MethodValidateBasic
ValidateBasic performs stateless validation on a Header returning an error if any validation fails. NOTE: Timestamp validation is subtle and handled
types/block.go:386
MethodValidateBasic
ValidateBasic performs basic validation that doesn't involve state data. Does not actually check the cryptographic signatures.
types/block.go:877
MethodValidateBasic
ValidateBasic performs basic validation. NOTE: it expects the LeafHash and the elements of Aunts to be of size tmhash.Size, and it expects at most Max
crypto/merkle/proof.go:98
MethodValidateBasic
ValidateBasic performs basic validation.
internal/consensus/msgs.go:140
MethodValidateBasic
ValidateBasic performs basic validation.
internal/consensus/msgs.go:210
MethodValidateBasic
ValidateBasic performs basic validation.
light/trust_options.go:39
MethodValidateBasic
ValidateBasic performs basic validation (checking param bounds, etc.) and returns an error if any check fails.
config/config.go:329
MethodValidateBasic
ValidateBasic performs basic validation (checking param bounds, etc.) and returns an error if any check fails.
config/config.go:597
MethodValidateBasic
ValidateBasic performs basic validation (checking param bounds, etc.) and returns an error if any check fails.
config/config.go:819
MethodValidateBasic
ValidateBasic performs basic validation (checking param bounds, etc.) and returns an error if any check fails.
config/config.go:925
MethodValidateBasic
ValidateBasic performs basic validation.
config/config.go:1020
MethodValidateBasic
ValidateBasic performs basic validation.
config/config.go:1096
MethodValidateBasic
ValidateBasic performs basic validation (checking param bounds, etc.) and returns an error if any check fails.
config/config.go:1233
MethodValidateBasic
ValidateBasic performs basic validation (checking param bounds, etc.) and returns an error if any check fails.
config/config.go:1351
FunctionValidateValidatorUpdates
ValidateValidatorUpdates is an alias for validateValidatorUpdates exported from execution.go, exclusively and explicitly for testing.
internal/state/export_test.go:34
MethodValidatorUpdates
(vals []abci.ValidatorUpdate)
types/protobuf.go:52
MethodValidators
Validators gets the validator set at the given block height. If no height is provided, it will fetch the latest validator set. Note the validators ar
internal/rpc/core/consensus.go:20
MethodValidators
Validators fetches and verifies validators.
light/rpc/client.go:549
MethodValidators
( ctx context.Context, height *int64, page, perPage *int, )
rpc/client/http/http.go:564
MethodValidators
Validators provides a mock function with given fields: ctx, height, page, perPage
rpc/client/mocks/client.go:782
MethodValidators
(ctx context.Context, height *int64, page, perPage *int)
rpc/client/local/local.go:193
MethodValidators
(ctx context.Context, height *int64, page, perPage *int)
rpc/client/mock/client.go:168
FunctionValueOpDecoder
(pop tmcrypto.ProofOp)
crypto/merkle/proof_value.go:40
MethodVerify
(chainID string, pubKey crypto.PubKey)
types/vote.go:147
MethodVerify
Verify that the Proof proves the root hash. Check sp.Index/sp.Total manually if needed
crypto/merkle/proof.go:52
MethodVerifyHeader
VerifyHeader verifies a new header against the trusted state. It returns immediately if newHeader exists in trustedStore (no verification is needed).
light/client.go:446
MethodVerifyLightBlockAtHeight
VerifyLightBlockAtHeight provides a mock function with given fields: ctx, height, now
light/rpc/mocks/light_client.go:81
MethodVerifySignature
(msg []byte, sig []byte)
crypto/ed25519/ed25519.go:167
MethodVerifySignature
VerifySignature verifies a signature of the form R || S. It rejects signatures which are not in lower-S form.
crypto/secp256k1/secp256k1.go:198
MethodVerifySignature
(msg []byte, sigBytes []byte)
crypto/sr25519/pubkey.go:47
MethodVerifyValue
(root []byte, keypath string, value []byte)
crypto/merkle/proof_op.go:35
MethodWait
Wait provides a mock function with given fields:
abci/client/mocks/client.go:801
MethodWait
Wait provides a mock function with given fields:
internal/p2p/mocks/peer.go:332
MethodWait
()
internal/p2p/pex/addrbook.go:172
MethodWait
Wait blocks until all internal goroutines are finished. Supposed to be called after Stop.
internal/libs/autofile/group.go:155
MethodWait
()
internal/consensus/wal_generator.go:234
MethodWait
Wait waits for the the main routine to return. NOTE: be sure to Stop() the event switch and drain any event channels or this may deadlock
internal/consensus/state.go:477
MethodWait
()
internal/consensus/replay_test.go:285
MethodWait
Wait for the underlying autofile group to finish shutting down so it's safe to cleanup files.
internal/consensus/wal.go:177
MethodWait
()
internal/consensus/wal.go:433
MethodWait
Wait blocks until the service is stopped.
libs/service/service.go:213
MethodWait
NOTE: Not concurrency safe. Like Reap() but waits until all tasks have returned or panic'd.
libs/async/async.go:79
MethodWaitForConnection
(maxWait time.Duration)
privval/retry_signer_client.go:37
MethodWaitForConnection
WaitForConnection waits maxWait for a connection or returns a timeout error
privval/signer_listener_endpoint.go:100
MethodWaitSync
()
internal/inspect/rpc/rpc.go:94
MethodWebsocketHandler
WebsocketHandler upgrades the request/response (via http.Hijack) and starts the wsConnection.
rpc/jsonrpc/server/ws_handler.go:75
MethodWith
(keyVals ...interface{})
libs/log/default.go:94
FunctionWithMetrics
WithMetrics sets the metrics.
internal/mempool/v0/clist_mempool.go:129
FunctionWithMetrics
WithMetrics sets the mempool's metrics collector.
internal/mempool/v1/mempool.go:108
FunctionWithPostCheck
WithPostCheck sets a filter for the mempool to reject a tx if f(tx) returns false. This is ran after CheckTx. Only applies to the first created block.
internal/mempool/v0/clist_mempool.go:124
FunctionWithPreCheck
WithPreCheck sets a filter for the mempool to reject a tx if f(tx) returns false. This is ran before CheckTx. Only applies to the first created block.
internal/mempool/v0/clist_mempool.go:117
FunctionWithPreCheck
WithPreCheck sets a filter for the mempool to reject a transaction if f(tx) returns an error. This is executed before CheckTx. It only applies to the
internal/mempool/v1/mempool.go:96
MethodWrap
Wrap implements the p2p Wrapper interface and wraps a mempool message.
proto/tendermint/mempool/message.go:10
MethodWrap
Wrap implements the p2p Wrapper interface and wraps a state sync proto message.
proto/tendermint/statesync/message.go:11
MethodWrap
Wrap implements the p2p Wrapper interface and wraps a PEX message.
proto/tendermint/p2p/pex.go:10
MethodWrap
Wrap implements the p2p Wrapper interface and wraps a consensus proto message.
proto/tendermint/consensus/message.go:10
MethodWrap
(inner proto.Message)
internal/p2p/router_test.go:280
MethodWrite
(p []byte)
crypto/tmhash/hash.go:34
MethodWrite
Write implements net.Conn.
privval/socket_listeners.go:180
MethodWrite
Writes encrypted frames of `totalFrameSize + aeadSizeOverhead`. CONTRACT: data smaller than dataMaxSize is written atomically.
privval/secret_connection.go:191
MethodWrite
Writes encrypted frames of `totalFrameSize + aeadSizeOverhead`. CONTRACT: data smaller than dataMaxSize is written atomically.
internal/p2p/conn/secret_connection.go:189
← previousnext →8,401–8,500 of 9,600, ranked by callers