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
↓ 128 callers
Function
IncrementAndPrintRound
IncrementAndPrintRound increments the given variable, and prints the message for the beginning of the round
integrationTests/testInitializer.go:1151
↓ 128 callers
Function
WithCoreComponents
WithCoreComponents sets up the Node core components
node/options.go:35
↓ 127 callers
Method
GetExistingAccount
(address []byte)
state/interface.go:71
↓ 127 callers
Method
SetSCAddress
(addr []byte)
vm/interface.go:88
↓ 126 callers
Method
PubKey
()
sharding/nodesCoordinator/interface.go:16
↓ 126 callers
Function
createMockArgumentsForValidatorSC
()
vm/systemSmartContracts/validator_test.go:77
↓ 125 callers
Method
MiniBlocks
()
dataRetriever/interface.go:234
↓ 124 callers
Function
NewDelegationSystemSC
NewDelegationSystemSC creates a new delegation system SC
vm/systemSmartContracts/delegation.go:86
↓ 124 callers
Function
createMockSmartContractProcessorArguments
()
process/smartContract/processorV2/process_test.go:87
↓ 123 callers
Method
Encode
(pkBytes []byte)
cmd/keygenerator/main.go:53
↓ 123 callers
Function
NewSmartContractProcessorV2
NewSmartContractProcessorV2 creates a smart contract processor that creates and interprets VM data
process/smartContract/processorV2/processV2.go:118
↓ 123 callers
Function
createMockArgumentsForDelegation
()
vm/systemSmartContracts/delegation_test.go:29
↓ 121 callers
Method
GetStorage
(key []byte)
vm/interface.go:47
↓ 120 callers
Method
ID
()
process/interface.go:580
↓ 120 callers
Method
SetJobDone
(key string, subroundId int, value bool)
consensus/spos/interface.go:238
↓ 120 callers
Method
Str
Str appends a string to the data string.
testscommon/txDataBuilder/builder.go:110
↓ 118 callers
Method
Close
()
factory/interface.go:389
↓ 118 callers
Function
NewIndexHashedNodesCoordinator
NewIndexHashedNodesCoordinator creates a new index hashed group selector
sharding/nodesCoordinator/indexHashedNodesCoordinator.go:115
↓ 118 callers
Function
WithStateComponents
WithStateComponents sets up the Node state components
node/options.go:131
↓ 117 callers
Method
Marshal
Marshal -
process/mock/marshalizerStub.go:10
↓ 117 callers
Function
NewNodeFacade
NewNodeFacade creates a new Facade with a NodeWrapper
facade/nodeFacade.go:74
↓ 117 callers
Function
NewSubround
NewSubround creates a new SubroundId object
consensus/spos/subround.go:47
↓ 115 callers
Method
SaveKeyValue
(key []byte, value []byte)
state/interface.go:257
↓ 115 callers
Method
SetHeader
(header data.HeaderHandler)
consensus/spos/interface.go:216
↓ 114 callers
Function
NewStakingSmartContract
NewStakingSmartContract creates a staking smart contract
vm/systemSmartContracts/staking.go:62
↓ 114 callers
Function
createMockArguments
()
facade/nodeFacade_test.go:41
↓ 114 callers
Function
getAllPubKeys
TODO: Make a subcomponent which will register to epoch notifier to display config only upon epoch change
integrationTests/vm/staking/configDisplayer.go:21
↓ 113 callers
Function
NewBlockChainHookImpl
NewBlockChainHookImpl creates a new BlockChainHookImpl instance
process/smartContract/hooks/blockChainHook.go:110
↓ 113 callers
Function
createMockBlockChainHookArgs
()
process/smartContract/hooks/blockChainHook_test.go:48
↓ 113 callers
Function
createMockStakingScArguments
()
vm/systemSmartContracts/staking_test.go:70
↓ 111 callers
Method
Index
Index returns the current round
epochStart/interface.go:42
↓ 111 callers
Function
NewArgumentParser
NewArgumentParser creates a full argument parser component
process/smartContract/argumentParser.go:16
↓ 110 callers
Function
NewPubkeyConverterMock
NewPubkeyConverterMock -
testscommon/pubkeyConverterMock.go:15
↓ 110 callers
Method
String
()
process/interface.go:132
↓ 110 callers
Function
getDefaultCoreComponents
()
node/node_test.go:5341
↓ 109 callers
Function
NewTransactionCoordinator
NewTransactionCoordinator creates a transaction coordinator to run and coordinate preprocessors and processors
process/coordinator/process.go:107
↓ 108 callers
Method
Contains
(peerID core.PeerID)
process/interface.go:1146
↓ 108 callers
Method
Get
(round int64)
process/interface.go:851
↓ 108 callers
Function
NewEconomicsData
NewEconomicsData will create an object with information about economics parameters
process/economics/economicsData.go:52
↓ 108 callers
Function
NewStorerMock
NewStorerMock -
testscommon/genericMocks/storerMock.go:26
↓ 108 callers
Function
getDefaultStateComponents
()
node/nodeTesting_test.go:412
↓ 107 callers
Method
GetData
()
common/interface.go:409
↓ 107 callers
Method
GetShardValidatorsInfoMap
()
state/interface.go:289
↓ 107 callers
Method
RoundHandler
()
consensus/spos/interface.go:35
↓ 107 callers
Method
Zero
Zero returns the additive identity (0)
factory/mock/scalarMock.go:38
↓ 105 callers
Method
GetRootHash
()
common/interface.go:264
↓ 104 callers
Function
startWebServer
(group shared.GroupHandler, path string, apiConfig config.ApiRoutesConfig)
api/groups/common_test.go:18
↓ 103 callers
Function
createMockBaseArgs
()
heartbeat/sender/baseSender_test.go:14
↓ 102 callers
Method
Unmarshal
(dAtA []byte)
vm/systemSmartContracts/esdt.pb.go:2942
↓ 101 callers
Method
Marshal
Marshal converts the input object in a slice of bytes
consensus/mock/marshalizerMock.go:17
↓ 100 callers
Method
Clear
()
dataRetriever/interface.go:198
↓ 100 callers
Method
GetNodeHandler
(shardID uint32)
node/chainSimulator/interface.go:20
↓ 98 callers
Method
AddressBytes
()
state/interface.go:148
↓ 98 callers
Method
Marshal
()
process/block/bootstrapStorage/bootstrapData.pb.go:968
↓ 98 callers
Function
createComponentsForEpochStart
()
epochStart/bootstrap/process_test.go:80
↓ 97 callers
Method
GenerateTransaction
GenerateTransaction generates a new transaction with sender, receiver, amount and code
node/nodeTesting.go:268
↓ 97 callers
Method
Marshal
Marshal converts the input object in a slice of bytes
epochStart/mock/marshalizerMock.go:16
↓ 96 callers
Function
NewChainSimulator
NewChainSimulator will create a new instance of simulator
node/chainSimulator/chainSimulator.go:88
↓ 95 callers
Function
AdaptStructureValueBasedOnPath
AdaptStructureValueBasedOnPath will try to update the value specified at the given path in any structure the structure must be of type pointer, otherw
common/reflectcommon/structFieldsUpdate.go:36
↓ 95 callers
Function
createMockComponentHolders
()
process/block/metablock_test.go:46
↓ 95 callers
Function
createMockMetaArguments
( coreComponents *mock.CoreComponentsMock, dataComponents *mock.DataComponentsMock, bootstrapComponents *mo
process/block/metablock_test.go:90
↓ 94 callers
Method
SilentEncode
SilentEncode -
testscommon/pubkeyConverterStub.go:51
↓ 94 callers
Function
generateValidatorMap
( nodesPerShard int, nbShards uint32, )
sharding/nodesCoordinator/hashValidatorShuffler_test.go:97
↓ 93 callers
Function
DisplayAndStartNodes
DisplayAndStartNodes prints each nodes shard ID, sk and pk, and then starts the node
integrationTests/testInitializer.go:1682
↓ 93 callers
Function
NewMultiShardCoordinator
NewMultiShardCoordinator returns a new multiShardCoordinator and initializes the masks
sharding/multiShardCoordinator.go:24
↓ 93 callers
Function
loadResponse
(rsp io.Reader, destination interface{})
api/groups/common_test.go:26
↓ 92 callers
Method
Compute
Compute -
vm/mock/hasherStub.go:10
↓ 92 callers
Function
NewEpochStartBootstrap
NewEpochStartBootstrap will return a new instance of epochStartBootstrap
epochStart/bootstrap/process.go:214
↓ 91 callers
Function
CreatePreparedTxProcessorWithVMs
CreatePreparedTxProcessorWithVMs -
integrationTests/vm/testInitializer.go:1192
↓ 91 callers
Method
GetHash
()
common/interface.go:263
↓ 91 callers
Function
createMockEpochStartBootstrapArgs
( coreMock *mock.CoreComponentsMock, cryptoMock *mock.CryptoComponentsMock, )
epochStart/bootstrap/process_test.go:128
↓ 91 callers
Function
initDataPool
()
process/block/preprocess/transactions_test.go:117
↓ 90 callers
Method
IsFlagEnabledInEpoch
(flag core.EnableEpochFlag, epoch uint32)
common/interface.go:307
↓ 89 callers
Method
Datapool
()
factory/interface.go:227
↓ 89 callers
Method
GetPublicKey
()
state/interface.go:306
↓ 89 callers
Method
Marshal
Marshal converts the input object in a slice of bytes
node/mock/marshalizerFake.go:16
↓ 89 callers
Function
NewResolverRequestHandler
NewResolverRequestHandler creates a requestHandler interface implementation with request functions
dataRetriever/requestHandlers/requestHandler.go:57
↓ 89 callers
Function
newValidatorMock
(pubKey []byte, chances uint32, index uint32)
sharding/nodesCoordinator/common_test.go:154
↓ 88 callers
Function
NewOneShardCoordinatorMock
NewOneShardCoordinatorMock -
process/mock/oneShardCoordinatorMock.go:14
↓ 87 callers
Method
GetBalance
(address string, options api.AccountQueryOptions)
integrationTests/interface.go:61
↓ 87 callers
Method
UpdateWithVersion
(key []byte, value []byte, version core.TrieNodeVersion)
trie/patriciaMerkleTrie_test.go:1103
↓ 87 callers
Function
formatExpectedErr
(err, innerErr error)
api/groups/addressGroup_test.go:1243
↓ 86 callers
Method
Func
Func sets the function to be invoked by the data string.
testscommon/txDataBuilder/builder.go:86
↓ 86 callers
Function
NewCache
NewCache creates a new cache from a cache config
storage/storageunit/storageunit.go:44
↓ 86 callers
Function
createArgsForTxProcessor
()
process/transaction/shardProcess_test.go:81
↓ 85 callers
Method
ToString
()
common/interface.go:214
↓ 84 callers
Method
GenerateAndMintWalletAddress
(targetShardID uint32, value *big.Int)
node/chainSimulator/interface.go:22
↓ 84 callers
Method
Len
()
dataRetriever/interface.go:206
↓ 84 callers
Method
SetStatus
(subroundId int, subroundStatus SubroundStatus)
consensus/spos/interface.go:254
↓ 83 callers
Method
Add
(key string, val Resolver)
dataRetriever/interface.go:65
↓ 83 callers
Method
AppStatusHandler
()
process/interface.go:1282
↓ 83 callers
Method
GetBalance
(addr []byte)
vm/interface.go:42
↓ 83 callers
Method
Marshal
()
trie/node.pb.go:351
↓ 83 callers
Function
NewTrieStorageManager
NewTrieStorageManager creates a new instance of trieStorageManager
trie/trieStorageManager.go:58
↓ 82 callers
Method
AccountsAdapter
()
factory/interface.go:340
↓ 82 callers
Function
CleanAccumulatedIntermediateTransactions
CleanAccumulatedIntermediateTransactions -
integrationTests/vm/txsFee/utils/utils.go:381
↓ 82 callers
Method
Div
Div returns the modular division between receiver and scalar s given as parameter
factory/mock/scalarMock.go:68
↓ 82 callers
Method
Increment
(key string)
cmd/termui/provider/interface.go:9
↓ 82 callers
Function
NewShardBlockTrack
NewShardBlockTrack creates an object for tracking the received shard blocks
process/track/shardBlockTrack.go:18
↓ 82 callers
Function
createArguments
()
sharding/nodesCoordinator/indexHashedNodesCoordinator_test.go:100
← previous
next →
101–200 of 34,085, ranked by callers