MCPcopy Create free account

hub / github.com/DeAI-Artist/Linkis / functions

Functions9,565 in github.com/DeAI-Artist/Linkis

↓ 15 callersFunctionNewServer
NewServer returns a new server. See the commentary on the Option functions for a detailed description of how to configure buffering. If no options are
libs/pubsub/pubsub.go:108
↓ 15 callersMethodNodeKeyFile
NodeKeyFile returns the full path to the node_key.json file
config/config.go:281
↓ 15 callersMethodPublish
(eventType string, eventData TMEventData)
types/event_bus.go:102
↓ 15 callersMethodPublish
Publish publishes the given message. An error will be returned to the caller if the context is canceled.
libs/pubsub/pubsub.go:269
↓ 15 callersMethodReset
Reset resets the cache to an empty state.
mempool/cache.go:17
↓ 15 callersMethodSend
actual address of the socket Deprecated: entities looking to act as peers should implement SendEnvelope instead. Send will be removed in v0.37.
p2p/peer.go:42
↓ 15 callersMethodStart
()
p2p/peer_test.go:168
↓ 15 callersMethodStopForError
(err error)
abci/client/grpc_client.go:129
↓ 15 callersMethodToProto
ToProto takes the local state type and returns the equivalent proto type
state/state.go:134
↓ 15 callersMethodToProto
ToProto converts a NetAddress to Protobuf.
p2p/netaddress.go:180
↓ 15 callersMethodTxSearch
TxSearch defines a method to search for a paginated set of transactions by DeliverTx event search criteria.
rpc/client/interface.go:76
↓ 15 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/types/types.pb.go:2285
↓ 15 callersMethodVerify
Verify that the Proof proves the root hash. Check sp.Index/sp.Total manually if needed
crypto/merkle/proof.go:52
↓ 15 callersMethodfinishAsyncCall
finishAsyncCall creates a ReqRes for an async call, and immediately populates it with the response. We don't complete it until it's been ordered via t
abci/client/grpc_client.go:305
↓ 15 callersFunctionfromHex
(bits string)
crypto/xchacha20poly1305/vector_test.go:13
↓ 15 callersFunctionsProcessedBlockEv
(current, expected string, reactorError error)
blockchain/v1/reactor_fsm_test.go:93
↓ 15 callersFunctionsovCanonical
(x uint64)
proto/tendermint/types/canonical.pb.go:670
↓ 15 callersFunctionsovEvidence
(x uint64)
proto/tendermint/types/evidence.pb.go:717
↓ 15 callersFunctionsovProof
(x uint64)
proto/tendermint/crypto/proof.pb.go:678
↓ 15 callersFunctionsovWal
(x uint64)
proto/tendermint/consensus/wal.pb.go:818
↓ 14 callersMethodBroadcastEnvelope
--------------------------------------------------------------------- Peers BroadcastEnvelope runs a go routine for each attempted send, which will bl
p2p/switch.go:272
↓ 14 callersMethodDialString
()
p2p/netaddress.go:224
↓ 14 callersMethodEncode
Encode writes the custom encoding of v to the stream. It returns an error if the encoded size of v is greater than 1MB. Any error encountered during t
consensus/wal.go:300
↓ 14 callersMethodFlushSync
----------------------------------------
abci/client/socket_client.go:284
↓ 14 callersMethodHeight
()
blockchain/v2/reactor.go:29
↓ 14 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
statesync/snapshots.go:30
↓ 14 callersMethodMakeBlock
------------------------------------------------------------------------ Create a block from the latest state MakeBlock builds a block from the curren
state/state.go:234
↓ 14 callersFunctionMakeConnectedSwitches
MakeConnectedSwitches returns n switches, connected according to the connect func. If connect==Connect2Switches, the switches will be fully connected.
p2p/test_util.go:79
↓ 14 callersMethodNodeInfo
close original connection
p2p/peer.go:36
↓ 14 callersMethodPublishWithEvents
PublishWithEvents publishes the given message with the set of events. The set is matched with clients queries. If there is a match, the message is sen
libs/pubsub/pubsub.go:276
↓ 14 callersMethodQuery
Query connection
proxy/multi_app_conn.go:29
↓ 14 callersMethodSetAddrBook
SetAddrBook allows to set address book on Switch.
p2p/switch.go:480
↓ 14 callersMethodSetRoot
SetRoot sets the RootDir for all Config structs
config/config.go:115
↓ 14 callersMethodUnmarshal
Unmarshal needed for protobuf compatibility
libs/bytes/bytes.go:18
↓ 14 callersMethodValidateBlock
ValidateBlock validates the given block against the given state. If the block is invalid, it returns an error. Validation does not mutate state, but d
state/execution.go:117
↓ 14 callersMethodcallback
-------------------------------------------------------
abci/client/local_client.go:328
↓ 14 callersFunctioncreateTempFileName
(prefix string)
p2p/pex/addrbook_test.go:719
↓ 14 callersFunctionencodeVarintParams
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/params.pb.go:845
↓ 14 callersMethodfinishSyncCall
finishSyncCall waits for an async call to complete. It is necessary to call all sync calls asynchronously as well, to maintain call and response order
abci/client/grpc_client.go:315
↓ 14 callersFunctionmakeBlockIDRandom
()
types/block_test.go:175
↓ 14 callersFunctionnewMockTickerFunc
------------------------------------ mock ticker
consensus/common_test.go:853
↓ 14 callersFunctionnewTestHarnessError
(code int, err error, info string)
tools/tm-signer-harness/internal/test_harness.go:384
↓ 14 callersFunctionrandIPv4Address
(t *testing.T)
p2p/pex/addrbook_test.go:193
↓ 14 callersFunctionsetup
(t testing.TB, cacheSize int, options ...TxMempoolOption)
mempool/v1/mempool_test.go:75
↓ 14 callersFunctionsetupTestCase
setupTestCase does setup common to all test cases.
state/state_test.go:28
↓ 14 callersFunctionsimplePeer
Sets up a simple peer mock with an ID
statesync/syncer_test.go:44
↓ 14 callersFunctionsubscribeToVoter
(cs *State, addr []byte)
consensus/common_test.go:346
↓ 13 callersMethodCopyIncrementProposerPriority
CopyIncrementProposerPriority increments ProposerPriority and updates the proposer on a copy, and returns it.
types/validator_set.go:107
↓ 13 callersFunctionExit
(s string)
libs/os/os.go:43
↓ 13 callersMethodHasTwoThirdsAny
()
types/vote_set.go:429
↓ 13 callersMethodInfo
Info/Query Connection
abci/types/application.go:13
↓ 13 callersMethodIsOK
IsOK returns true if Code is OK.
abci/types/result.go:35
↓ 13 callersMethodMarshal
()
proto/tendermint/types/types.pb.go:1173
↓ 13 callersMethodNewABCIClient
NewABCIClient returns a new ABCI client.
proxy/client.go:19
↓ 13 callersFunctionNewTxIndex
NewTxIndex creates new KV indexer.
state/txindex/kv/kv.go:33
↓ 13 callersMethodPriority
()
blockchain/v2/types.go:12
↓ 13 callersFunctionProposalSignBytes
ProposalSignBytes returns the proto-encoding of the canonicalized Proposal, for signing. Panics if the marshaling fails. The encoded Protobuf message
types/proposal.go:110
↓ 13 callersMethodToProto
ToProto converts Data to protobuf
types/block.go:1035
↓ 13 callersFunctionassertReceive
HELPERS
libs/pubsub/pubsub_test.go:493
↓ 13 callersFunctionencodeVarintCanonical
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/canonical.pb.go:569
↓ 13 callersFunctionencodeVarintEvidence
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/evidence.pb.go:603
↓ 13 callersFunctionencodeVarintProof
(dAtA []byte, offset int, v uint64)
proto/tendermint/crypto/proof.pb.go:568
↓ 13 callersFunctionencodeVarintWal
(dAtA []byte, offset int, v uint64)
proto/tendermint/consensus/wal.pb.go:685
↓ 13 callersFunctionnewMempoolWithApp
(cc proxy.ClientCreator)
mempool/v0/clist_mempool_test.go:60
↓ 13 callersFunctionskipTypes
(dAtA []byte)
proto/tendermint/types/types.pb.go:4489
↓ 12 callersMethodBool
Bool returns a uniformly random boolean
libs/rand/random.go:287
↓ 12 callersMethodCancelled
()
types/event_bus.go:26
↓ 12 callersMethodCheckEvidence
CheckEvidence takes an array of evidence from a block and verifies all the evidence there. If it has already verified the evidence then it jumps to th
evidence/pool.go:192
↓ 12 callersMethodClient
Client returns an RPC client for a node.
test/e2e/pkg/testnet.go:470
↓ 12 callersMethodDeliverTx
Signals the beginning of a block
abci/types/application.go:23
↓ 12 callersMethodGetIndex
GetIndex returns the bit at index i within the bit array. The behavior is undefined if i >= bA.Bits
libs/bits/bit_array.go:44
↓ 12 callersMethodGetPeers
GetPeers returns the peers for a snapshot.
statesync/snapshots.go:139
↓ 12 callersMethodGetRoundState
GetRoundState returns an shallow copy of the PeerRoundState. There's no point in mutating it since it won't change PeerState.
test/maverick/consensus/reactor.go:1043
↓ 12 callersMethodHasTwoThirdsMajority
()
types/vote_set.go:407
↓ 12 callersMethodIndex
Index analyzes, indexes and stores a single transaction.
state/txindex/indexer.go:21
↓ 12 callersMethodIndex
Index indexes a single transaction using the given list of events. Each key that indexed from the tx's events is a composite of the event type and the
state/txindex/kv/kv.go:109
↓ 12 callersMethodLoadBlock
LoadBlock returns the block with the given height. If no block is found for that height, it returns nil.
store/store.go:93
↓ 12 callersMethodMarshal
Marshal needed for protobuf compatibility
libs/bytes/bytes.go:13
↓ 12 callersFunctionNewBaseReactor
(name string, impl Reactor)
p2p/base_reactor.go:73
↓ 12 callersFunctionNewWeightedTime
NewWeightedTime with time and weight.
types/time/time.go:27
↓ 12 callersMethodPrint
(buffer string)
libs/pubsub/query/query.peg.go:89
↓ 12 callersMethodStop
()
p2p/peer_test.go:185
↓ 12 callersMethodTxsAvailable
TxsAvailable returns a channel which fires once for every height, and only when transactions are available in the mempool. NOTE: 1. The returned chan
mempool/mempool.go:88
↓ 12 callersMethodWriteSync
(WALMessage)
consensus/wal.go:60
↓ 12 callersFunctioncdcEncode
cdcEncode returns nil if the input is nil, otherwise returns proto.Marshal(<type>Value{Value: item})
types/encoding_helper.go:11
↓ 12 callersFunctioncheckTxs
(t *testing.T, txmp *TxMempool, numTxs int, peerID uint16)
mempool/v1/mempool_test.go:108
↓ 12 callersFunctiondecideProposal
Create proposal block from cs1 but sign it with vs.
consensus/common_test.go:202
↓ 12 callersFunctionfireEvents
fireEvents takes an EventSwitch and fires a thousand integers under a given `event` with the integers mootonically increasing from `offset` to `offset
libs/events/events_test.go:478
↓ 12 callersMethodlbKey
(height int64)
light/store/db/db.go:292
↓ 12 callersFunctionmakeVote
func makeEquivocationEvidence() *types.LightClientAttackEvidence { } func makeAmnesiaEvidence() *types.LightClientAttackEvidence { }
evidence/verify_test.go:530
↓ 12 callersFunctionmustCheckTx
mustCheckTx invokes txmp.CheckTx for the given transaction and waits until its callback has finished executing. It fails t if CheckTx fails.
mempool/v1/mempool_test.go:98
↓ 12 callersFunctionrootify
----------------------------------------------------------------------------- Utils helper function to make config creation independent of root dir
config/config.go:1201
↓ 12 callersFunctionsetupChunkQueue
(t *testing.T)
statesync/chunks_test.go:13
↓ 12 callersMethodsignAddVote
sign the vote and publish on internalMsgQueue
test/maverick/consensus/state.go:1867
↓ 12 callersFunctionsovTypes
(x uint64)
proto/tendermint/blockchain/types.pb.go:843
↓ 12 callersFunctionstopConsensusNet
(logger log.Logger, reactors []*Reactor, eventBuses []*types.EventBus)
consensus/reactor_test.go:97
↓ 11 callersMethodAddEvidence
AddEvidence checks the evidence is valid and adds it to the pool.
evidence/pool.go:134
↓ 11 callersMethodByteSize
()
types/part_set.go:252
↓ 11 callersFunctionDefaultStateSyncConfig
DefaultStateSyncConfig returns a default configuration for the state sync service
config/config.go:818
↓ 11 callersMethodFirstError
Returns the firstmost (by task index) error as discovered by all previous Reap() calls.
libs/async/async.go:110
← previousnext →301–400 of 9,565, ranked by callers