MCPcopy Create free account

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

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

↓ 11 callersMethodGetByIndex
(index int)
crypto/merkle/types.go:15
↓ 11 callersFunctionGetMinersForServiceType
GetMinersForServiceType retrieves the list of miners for a given service type from the database.
abci/example/kvstore/database.go:93
↓ 11 callersMethodGetPubKey
Implements PrivValidator.
types/priv_validator.go:68
↓ 11 callersMethodHasHeader
(header PartSetHeader)
types/part_set.go:218
↓ 11 callersFunctionHashFromByteSlices
HashFromByteSlices computes a Merkle tree where the leaves are the byte slice, in the provided order. It follows RFC-6962.
crypto/merkle/tree.go:9
↓ 11 callersMethodInitPeer
InitPeer is called by the switch before the peer is started. Use it to initialize data for the peer (e.g. peer state). NOTE: The switch won't call Ad
p2p/base_reactor.go:31
↓ 11 callersMethodInt64
()
libs/rand/random.go:208
↓ 11 callersFunctionLoadOrGenNodeKey
LoadOrGenNodeKey attempts to load the NodeKey from the given filePath. If the file does not exist, it generates and saves a new NodeKey.
p2p/key.go:50
↓ 11 callersFunctionLoadServiceRequests
(db db.DB)
abci/example/kvstore/database.go:448
↓ 11 callersFunctionNew
Return CList with MaxLength. CList will panic if it goes beyond MaxLength.
libs/clist/clist.go:243
↓ 11 callersFunctionNewPersistentKVStoreApplication
(dbDir string)
abci/example/kvstore/persistent_kvstore.go:38
↓ 11 callersMethodOnStop
()
libs/service/service.go:35
↓ 11 callersMethodPendingEvidence
PendingEvidence is used primarily as part of block proposal and returns up to maxNum of uncommitted evidence.
evidence/pool.go:87
↓ 11 callersMethodReactor
Reactor returns the reactor with the given name. NOTE: Not goroutine safe.
p2p/switch.go:205
↓ 11 callersMethodReceive
Receive is called by the switch when msgBytes is received from the peer. NOTE reactor can not keep msgBytes around after Receive completes without co
p2p/base_reactor.go:53
↓ 11 callersMethodRemotePubKey
RemotePubKey returns authenticated remote pubkey
p2p/conn/secret_connection.go:183
↓ 11 callersMethodRemovePeer
RemovePeer is called by the switch when the peer is stopped (due to error or other reason).
p2p/base_reactor.go:39
↓ 11 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/p2p/conn.pb.go:914
↓ 11 callersMethodUnsubscribeAll
UnsubscribeAll unsubscribes given subscriber from all the queries.
rpc/client/interface.go:130
↓ 11 callersMethodUnwrap
Unwrap implements the p2p Wrapper interface and unwraps a wrapped PEX message.
proto/tendermint/p2p/pex.go:23
↓ 11 callersMethodWriteLine
WriteLine writes line into the current head of the group. It also appends "\n". NOTE: Writes are buffered so they don't write synchronously TODO: Make
libs/autofile/group.go:213
↓ 11 callersFunctionabciResponses
(n int, code uint32)
mempool/v0/clist_mempool_test.go:699
↓ 11 callersFunctioncreateReactor
(conf *ReactorConfig)
p2p/pex/pex_reactor_test.go:666
↓ 11 callersFunctiongenMockNode
( chainID string, blockSize int64, valSize int, valVariation float32, bTime time.Time)
light/helpers_test.go:230
↓ 11 callersMethodhandleMsg
state transitions on complete-proposal, 2/3-any, 2/3-one
consensus/state.go:799
↓ 11 callersFunctionmakeBlockID
(hash []byte, partSetSize uint32, partSetHash []byte)
evidence/verify_test.go:573
↓ 11 callersFunctionnewMultiplexTransport
newMultiplexTransport returns a tcp connected multiplexed peer using the default MConnConfig. It's a convenience function used for testing.
p2p/transport_test.go:28
↓ 11 callersFunctionsovValidator
(x uint64)
proto/tendermint/types/validator.pb.go:456
↓ 11 callersFunctionstartConsensusNet
(t *testing.T, css []*State, n int)
consensus/reactor_test.go:50
↓ 11 callersFunctiontimeoutWaitGroup
(t *testing.T, n int, f func(int), css []*State)
consensus/reactor_test.go:684
↓ 11 callersFunctionwithBlockHash
Convenience: Return new vote with different blockHash
types/vote_set_test.go:519
↓ 10 callersMethodAddPart
(part *Part)
types/part_set.go:266
↓ 10 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
state/execution.go:131
↓ 10 callersMethodBlock
(ctx context.Context, height *int64)
rpc/client/interface.go:67
↓ 10 callersFunctionBlockFromProto
FromProto sets a protobuf Block to the given pointer. It returns an error if the block is invalid.
types/block.go:242
↓ 10 callersFunctionBlockIDFromProto
FromProto sets a protobuf BlockID to the given pointer. It returns an error if the block id is invalid.
types/block.go:1235
↓ 10 callersMethodCommit
(ctx context.Context, height *int64)
rpc/client/interface.go:70
↓ 10 callersMethodFloat64
()
proto/tendermint/types/params.pb.go:878
↓ 10 callersFunctionGenFilePV
GenFilePV generates a new validator with randomly generated private key and sets the filePaths, but does not call Save().
privval/file.go:171
↓ 10 callersMethodGetByIndex
(int32)
types/vote_set.go:687
↓ 10 callersMethodGetSelectionWithBias
Send a selection of addresses with bias
p2p/pex/addrbook.go:76
↓ 10 callersMethodID
ID returns the peer's canonical ID - the hash of its public key.
p2p/key.go:33
↓ 10 callersMethodID
()
p2p/mock/peer.go:57
↓ 10 callersMethodInitChain
Validate a tx for the mempool Consensus Connection
abci/types/application.go:21
↓ 10 callersMethodLoadABCIResponses
LoadABCIResponses loads the abciResponse for a given height
state/store.go:64
↓ 10 callersMethodLoadFromDBOrGenesisDoc
LoadFromDBOrGenesisDoc loads the most recent state. If the chain is new it will use the genesis doc as the current state.
state/store.go:58
↓ 10 callersFunctionLoadOrGenFilePV
LoadOrGenFilePV loads a FilePV from the given filePaths or else generates a new one and saves it to the filePaths.
privval/file.go:228
↓ 10 callersMethodMakeCommit
-------------------------------------------------------------------------------- Commit MakeCommit constructs a Commit from the VoteSet. It only inclu
types/vote_set.go:612
↓ 10 callersMethodMarshal
()
proto/tendermint/privval/types.pb.go:1061
↓ 10 callersMethodMarshal
()
proto/tendermint/consensus/types.pb.go:1093
↓ 10 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/types/evidence.pb.go:375
↓ 10 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/state/types.pb.go:766
↓ 10 callersFunctionNewBpPeer
NewBpPeer creates a new peer.
blockchain/v1/peer.go:42
↓ 10 callersFunctionNewPeer
NewPeer creates and starts a new mock peer. If the ip is nil, random routable address is used.
p2p/mock/peer.go:23
↓ 10 callersFunctionNewVoteSet
Constructs a new VoteSet struct used to accumulate votes for given height/round.
types/vote_set.go:78
↓ 10 callersFunctionNewWALDecoder
NewWALDecoder returns a new decoder that reads from rd.
consensus/wal.go:360
↓ 10 callersMethodPropose
Propose returns the amount of time to wait for a proposal
config/config.go:1002
↓ 10 callersMethodRead
(buf []byte)
crypto/internal/benchmarking/bench.go:18
↓ 10 callersMethodRead
CONTRACT: data smaller than dataMaxSize is read atomically.
p2p/conn/secret_connection.go:232
↓ 10 callersFunctionReadMessage
ReadMessage reads a varint length-delimited protobuf message.
abci/types/messages.go:25
↓ 10 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
mempool/mempool.go:50
↓ 10 callersMethodSize
Safe for concurrent use by multiple goroutines.
mempool/v0/clist_mempool.go:144
↓ 10 callersMethodState
State returns the current state of the evpool.
evidence/pool.go:253
↓ 10 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/consensus/types.pb.go:2804
↓ 10 callersFunctionVerifyLightClientAttack
VerifyLightClientAttack verifies LightClientAttackEvidence against the state of the full node. This involves the following checks: - the common header
evidence/verify.go:113
↓ 10 callersFunctionWriteMessage
WriteMessage writes a varint length-delimited protobuf message.
abci/types/messages.go:16
↓ 10 callersFunctioncheckTxs
(t *testing.T, mp mempool.Mempool, count int, peerID uint16)
mempool/v0/clist_mempool_test.go:99
↓ 10 callersMethodcreateProposalBlock
Create the next block to propose and return it. Returns nil block upon error. We really only need to return the parts, but the block is returned for
consensus/state.go:1189
↓ 10 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/blockchain/types.pb.go:698
↓ 10 callersMethodenterNewRound
----------------------------------------------------------------------------- State functions Used internally by handleTimeout and handleMsg to make s
consensus/state.go:976
↓ 10 callersFunctiongetSignerTestCases
(t *testing.T)
privval/signer_client_test.go:27
↓ 10 callersFunctioninitializeValidatorState
(privVal types.PrivValidator, height int64)
evidence/pool_test.go:387
↓ 10 callersFunctionmakeIndexedEvent
makeIndexedEvent constructs an event from the specified composite key and value. If the key has the form "type.name", the event will have a single att
state/indexer/sink/psql/psql.go:130
↓ 10 callersFunctionmustEncode
mustEncode proto encodes a proto.message and panics if fails
store/store.go:497
↓ 10 callersFunctionrandConsensusNet
(nValidators int, testName string, tickerFunc func() TimeoutTicker, appFunc func() abci.Application, configOp
consensus/common_test.go:716
↓ 10 callersMethodremovePeer
(peerID p2p.ID)
blockchain/v2/scheduler.go:241
↓ 10 callersFunctionskipTypes
(dAtA []byte)
proto/tendermint/privval/types.pb.go:2719
↓ 10 callersFunctionskipTypes
(dAtA []byte)
proto/tendermint/consensus/types.pb.go:3342
↓ 10 callersFunctionteardownReactor
(book AddrBook)
p2p/pex/pex_reactor_test.go:680
↓ 10 callersFunctiontestNode
testNode runs tests for testnet nodes. The callback function is given a single node to test, running as a subtest in parallel with other subtests. Th
test/e2e/tests/e2e_test.go:40
↓ 10 callersFunctiontoABCI
(s *snapshot)
statesync/syncer_test.go:688
↓ 9 callersMethodAbsent
Absent returns true if CommitSig is absent.
types/block.go:632
↓ 9 callersFunctionAddressHash
(bz []byte)
crypto/crypto.go:18
↓ 9 callersMethodBase
()
test/loadtime/report/report.go:21
↓ 9 callersMethodBlockAndPeerAtHeight
BlockAndPeerAtHeight retrieves the block and delivery peer at specified height. Returns errMissingBlock if a block was not found
blockchain/v1/pool.go:270
↓ 9 callersMethodCheckTx
(context.Context, types.Tx)
rpc/client/interface.go:137
↓ 9 callersFunctionDialTCPFn
DialTCPFn dials the given tcp addr, using the given timeoutReadWrite and privKey for the authenticated encryption handshake.
privval/socket_dialers.go:23
↓ 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
statesync/chunks.go:147
↓ 9 callersMethodEnableTxsAvailable
EnableTxsAvailable initializes the TxsAvailable channel, ensuring it will trigger once every height when transactions are available.
mempool/mempool.go:92
↓ 9 callersMethodGet
TODO make it return an index
crypto/merkle/types.go:14
↓ 9 callersMethodGetSelection
Send a selection of addresses to peers
p2p/pex/addrbook.go:74
↓ 9 callersMethodGetSum
()
proto/tendermint/consensus/types.pb.go:703
↓ 9 callersMethodIsComplete
IsComplete returns true if this is a valid BlockID of a non-nil block.
types/block.go:1205
↓ 9 callersFunctionIsVoteTypeValid
IsVoteTypeValid returns true if t is a valid vote type.
types/signed_msg_type.go:6
↓ 9 callersFunctionMakeSecretConnection
MakeSecretConnection performs handshake and returns a new authenticated SecretConnection. Returns nil if there is an error in handshake. Caller should
p2p/conn/secret_connection.go:92
↓ 9 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/blockchain/types.pb.go:576
↓ 9 callersFunctionMaxRetryAttempts
MaxRetryAttempts option can be used to set max attempts before replacing primary with a witness.
light/client.go:100
↓ 9 callersFunctionNewEventSwitch
()
libs/events/events.go:62
↓ 9 callersFunctionNewFilter
NewFilter wraps next and implements filtering. See the commentary on the Option functions for a detailed description of how to configure levels. If no
libs/log/filter.go:29
↓ 9 callersFunctionNewRPCFunc
NewRPCFunc wraps a function for introspection. f is the function, args are comma separated argument names
rpc/jsonrpc/server/rpc_func.go:64
← previousnext →401–500 of 9,565, ranked by callers