Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HerbertSpender/vault-core
/ functions
Functions
34,085 in github.com/HerbertSpender/vault-core
⨍
Functions
34,085
◇
Types & classes
3,181
↓ 81 callers
Method
GetList
()
state/interface.go:36
↓ 81 callers
Function
NewTestProcessorNode
NewTestProcessorNode returns a new TestProcessorNode instance with a libp2p messenger and the provided arguments
integrationTests/testProcessorNode.go:601
↓ 80 callers
Method
GetMiniBlockHeaderHandlers
GetMiniBlockHeaderHandlers -
testscommon/headerHandlerStub.go:291
↓ 80 callers
Function
GetSCCode
GetSCCode -
integrationTests/vm/wasm/utils.go:634
↓ 80 callers
Method
Put
(chunkIndex uint32, buff []byte)
process/interceptors/processor/trieNodeChunksProcessor.go:19
↓ 79 callers
Function
CreateShardTrackerMockArguments
()
process/track/baseBlockTrack_test.go:109
↓ 79 callers
Method
GetFacadeHandler
()
node/chainSimulator/process/interface.go:24
↓ 79 callers
Method
GetRandSeed
GetRandSeed -
testscommon/headerHandlerStub.go:142
↓ 79 callers
Function
MintAllNodes
MintAllNodes will take each shard node (n) and will mint all nodes that have their pk managed by the iterating node n
integrationTests/testInitializer.go:1108
↓ 78 callers
Function
NewCacherStub
NewCacherStub -
testscommon/cache/cacherStub.go:22
↓ 78 callers
Function
NewPresenterStatusHandler
NewPresenterStatusHandler will return an instance of the struct
cmd/termui/presenter/presenterStatusHandler.go:24
↓ 78 callers
Function
createArgsForEconomicsData
(gasModifier float64)
process/economics/economicsData_test.go:100
↓ 77 callers
Function
NewMemDbMock
NewMemDbMock creates a new memorydb object
testscommon/memDbMock.go:25
↓ 77 callers
Function
TestAccount
TestAccount -
integrationTests/vm/testInitializer.go:1620
↓ 77 callers
Function
createRequestMsg
(dataType dataRetriever.RequestDataType, val []byte)
dataRetriever/resolvers/common_test.go:10
↓ 76 callers
Method
Compute
Compute -
node/mock/hasherMock.go:10
↓ 76 callers
Function
InitConsensusCore
InitConsensusCore -
testscommon/consensus/mockTestInitializer.go:161
↓ 76 callers
Method
Marshalizer
()
consensus/spos/interface.go:33
↓ 76 callers
Method
StorageService
()
factory/interface.go:226
↓ 76 callers
Function
createVMInput
(callValue *big.Int, funcName string, callerAddr, recipientAddr []byte, arguments [][]byte)
vm/systemSmartContracts/governance_test.go:124
↓ 76 callers
Function
getBnAndCollapsedBn
(marshalizer marshal.Marshalizer, hasher hashing.Hasher)
trie/branchNode_test.go:38
↓ 75 callers
Method
GenerateBlocksUntilEpochIsReached
(targetEpoch int32)
integrationTests/chainSimulator/interface.go:16
↓ 75 callers
Method
GetIntermediateTransactions
GetIntermediateTransactions -
integrationTests/vm/testInitializer.go:170
↓ 75 callers
Method
NumberOfShards
()
process/interface.go:538
↓ 75 callers
Method
Start
()
api/shared/interface.go:27
↓ 75 callers
Function
createMockComponentHolders
()
process/factory/interceptorscontainer/shardInterceptorsContainerFactory_test.go:702
↓ 74 callers
Method
CheckValidity
()
process/interface.go:126
↓ 74 callers
Method
Error
Error -
testscommon/loggerStub.go:62
↓ 74 callers
Method
GetDeveloperFees
()
process/interface.go:223
↓ 74 callers
Method
Process
(shardValidatorInfo data.ShardValidatorInfoHandler)
process/interface.go:290
↓ 74 callers
Function
checkMetaData
( t *testing.T, cs testsChainSimulator.ChainSimulator, addressBytes []byte, token []byte, shardID uint32,
integrationTests/chainSimulator/vm/esdtImprovements_test.go:385
↓ 74 callers
Function
doStake
(t *testing.T, sc *stakingSC, callerAddr, stakerAddr, stakerPubKey []byte)
vm/systemSmartContracts/staking_test.go:3287
↓ 73 callers
Function
NewBuilder
NewBuilder creates a new txDataBuilder instance.
testscommon/txDataBuilder/builder.go:20
↓ 73 callers
Function
NewValidatorMock
NewValidatorMock creates a new instance of a validator
testscommon/shardingMocks/validatorMock.go:16
↓ 73 callers
Method
SetSystemSCContainer
(scContainer SystemSCContainer)
vm/interface.go:85
↓ 72 callers
Method
ConsensusState
ConsensusState -
consensus/spos/export_test.go:68
↓ 72 callers
Method
Current
Current returns the ID of the current subround
consensus/interface.go:44
↓ 72 callers
Method
ToByteArray
ToByteArray -
integrationTests/mock/keyMock.go:35
↓ 71 callers
Method
Add
(key []byte, val SystemSmartContract)
vm/interface.go:28
↓ 71 callers
Method
AddTrackedHeader
(header data.HeaderHandler, hash []byte)
process/interface.go:890
↓ 71 callers
Method
GetValue
()
genesis/interface.go:65
↓ 71 callers
Function
getDefaultArgs
()
storage/pruning/pruningStorer_test.go:54
↓ 70 callers
Function
CreatePreparedTxProcessorWithVMsMultiShard
CreatePreparedTxProcessorWithVMsMultiShard -
integrationTests/vm/testInitializer.go:1876
↓ 70 callers
Method
IsStartOfEpochBlock
IsStartOfEpochBlock -
testscommon/headerHandlerStub.go:79
↓ 70 callers
Method
RetrieveValue
(key []byte)
state/interface.go:256
↓ 70 callers
Function
ShardCacherIdentifier
ShardCacherIdentifier generates a string identifier between 2 shards
process/identifiers.go:10
↓ 69 callers
Function
NewValidatorStatisticsProcessor
NewValidatorStatisticsProcessor instantiates a new validatorStatistics structure responsible for keeping account of each validator actions in the co
process/peer/process.go:88
↓ 69 callers
Method
SetUInt64Value
SetUInt64Value method - will update the value for a key
cmd/termui/presenter/presenterStatusHandler.go:53
↓ 69 callers
Function
createMockComponentHolders
()
process/interceptors/factory/interceptedMetaHeaderDataFactory_test.go:66
↓ 69 callers
Function
createMockPubkeyConverter
()
process/block/preprocess/transactions_test.go:214
↓ 69 callers
Function
createMockTransactionCoordinatorArguments
()
process/coordinator/process_test.go:229
↓ 69 callers
Function
newEmptyTrie
()
trie/branchNode_test.go:74
↓ 68 callers
Method
EconomicsData
()
factory/interface.go:118
↓ 67 callers
Method
getVersion
()
trie/interface.go:47
↓ 66 callers
Function
GetDefaultMetaData
GetDefaultMetaData will return default meta data structure
integrationTests/vm/txsFee/common.go:36
↓ 66 callers
Function
GetDefaultTrieStorageManagerParameters
GetDefaultTrieStorageManagerParameters -
trie/export_test.go:97
↓ 66 callers
Method
GetLeader
()
consensus/spos/interface.go:178
↓ 66 callers
Method
GetPrevHash
GetPrevHash -
testscommon/headerHandlerStub.go:129
↓ 66 callers
Method
GetShardID
GetShardID -
testscommon/headerHandlerStub.go:93
↓ 66 callers
Method
SetCode
(code []byte)
state/interface.go:151
↓ 66 callers
Method
SetSelfPubKey
(selfPubKey string)
consensus/spos/interface.go:236
↓ 66 callers
Method
UnsignedTransactions
()
dataRetriever/interface.go:231
↓ 66 callers
Function
processTransaction
( tpn *integrationTests.TestProcessorNode, senderAddr []byte, receiverAddr []byte, txData string, value *
integrationTests/vm/delegation/delegationScenarios_test.go:1594
↓ 65 callers
Method
CreateBlockStarted
()
process/interface.go:232
↓ 65 callers
Function
NewMultipleShardsCoordinatorMock
NewMultipleShardsCoordinatorMock -
process/mock/multipleShardsCoordinatorMock.go:15
↓ 65 callers
Function
NewShardedDataStub
NewShardedDataStub -
testscommon/shardedDataStub.go:28
↓ 65 callers
Function
verifyDelegatorsStake
( t *testing.T, tpn *integrationTests.TestProcessorNode, funcName string, addresses [][]byte, delegationA
integrationTests/vm/delegation/delegationScenarios_test.go:1396
↓ 64 callers
Method
Contains
(key interface{})
storage/interface.go:170
↓ 64 callers
Method
GetProcessComponents
()
node/chainSimulator/process/interface.go:16
↓ 64 callers
Method
JournalLen
()
state/interface.go:78
↓ 64 callers
Function
NewConsensusMessageValidator
NewConsensusMessageValidator creates a new consensusMessageValidator object
consensus/spos/consensusMessageValidator.go:53
↓ 64 callers
Function
NewDefaultRootHashesHolder
NewDefaultRootHashesHolder creates a rootHashHolder without an epoch set
common/holders/rootHashHolder.go:24
↓ 64 callers
Function
NewErrChanWrapper
NewErrChanWrapper creates a new errChanWrapper
common/errChan/errChan.go:12
↓ 64 callers
Method
RemoveActiveFlags
RemoveActiveFlags -
testscommon/enableEpochsHandlerMock/enableEpochsHandlerStub.go:57
↓ 64 callers
Method
SelfPubKey
()
consensus/spos/interface.go:235
↓ 64 callers
Method
Set
Set -
integrationTests/mock/watchdogMock.go:12
↓ 64 callers
Function
generateValidatorList
(number int)
sharding/nodesCoordinator/hashValidatorShuffler_test.go:85
↓ 63 callers
Method
AddData
(key []byte, data interface{}, sizeInBytes int, cacheId string)
dataRetriever/interface.go:173
↓ 63 callers
Method
AddData
(key []byte, data interface{}, sizeInBytes int, cacheID string)
process/interface.go:1347
↓ 63 callers
Function
CreateMemUnit
CreateMemUnit creates a new in-memory storage unit
testscommon/utils.go:22
↓ 63 callers
Method
GetHeader
()
consensus/spos/interface.go:215
↓ 63 callers
Function
NewNoApiInterface
NewNoApiInterface will create a new instance of noAPIInterface
node/chainSimulator/components/api/noApiInterface.go:8
↓ 63 callers
Method
ProcessReceivedMessage
(message p2p.MessageP2P, fromConnectedPeer core.PeerID, source p2p.MessageHandler)
dataRetriever/interface.go:25
↓ 63 callers
Function
createDefaultConsensusMessageValidatorArgs
()
consensus/spos/consensusMessageValidator_test.go:25
↓ 62 callers
Function
CreateMemUnit
CreateMemUnit returns an in-memory storer implementation (the vast majority of tests do not require effective disk I/O)
integrationTests/testInitializer.go:389
↓ 62 callers
Method
Merge
Merge -
process/mock/uint64SyncMapCacherStub.go:34
↓ 61 callers
Method
Marshal
Marshal -
dataRetriever/mock/marshalizerStub.go:10
↓ 61 callers
Method
NewAddress
(creatorAddress []byte, creatorNonce uint64, vmType []byte)
process/interface.go:527
↓ 61 callers
Function
NewScheduledTxsExecution
NewScheduledTxsExecution creates a new object which handles the execution of scheduled transactions
process/block/preprocess/scheduledTxsExecution.go:51
↓ 60 callers
Method
Compute
Compute -
process/mock/hasherStub.go:10
↓ 60 callers
Method
Load
(shardId uint32)
dataRetriever/interface.go:189
↓ 60 callers
Function
NewShardBootstrap
NewShardBootstrap creates a new Bootstrap object
process/sync/shardblock.go:23
↓ 60 callers
Function
RespondWithValidationError
RespondWithValidationError should be called when the request cannot be satisfied due to a (request) validation error
api/shared/shared.go:70
↓ 60 callers
Method
Stop
Stop -
node/mock/watchdogMock.go:18
↓ 60 callers
Method
ToBytes
ToBytes returns the data as a slice of bytes.
testscommon/txDataBuilder/builder.go:63
↓ 60 callers
Function
createMockArgument
( coreComponents *mock.CoreComponentsMock, cryptoComponents *mock.CryptoComponentsMock, )
process/interceptors/factory/interceptedMetaHeaderDataFactory_test.go:121
↓ 59 callers
Function
NewGenericEpochNotifier
NewGenericEpochNotifier creates a new instance of a genericEpochNotifier component
common/forking/genericEpochNotifier.go:24
↓ 59 callers
Function
NewMetaBootstrap
NewMetaBootstrap creates a new Bootstrap object
process/sync/metablock.go:27
↓ 59 callers
Function
WithDataComponents
WithDataComponents sets up the Node data components
node/options.go:83
↓ 58 callers
Method
ChangeEpochSimple
ChangeEpochSimple -
storage/pruning/export_test.go:96
← previous
next →
201–300 of 34,085, ranked by callers