Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiloOweno/kernel-lab
/ functions
Functions
18,272 in github.com/MiloOweno/kernel-lab
⨍
Functions
18,272
◇
Types & classes
2,561
↓ 25 callers
Method
CreateApp
CreateApp creates an application with the given parameters and returns its ID
ledger/simulation/testing/utils.go:160
↓ 25 callers
Method
EventWithDetails
(category telemetryspec.Category, identifier telemetryspec.Event, details interface{})
logging/log.go:164
↓ 25 callers
Method
InsertOnlineAccount
(addr basics.Address, normBalance uint64, data BaseOnlineAccountData, updRound uint64, voteLastValid uint64)
ledger/store/trackerdb/interface.go:153
↓ 25 callers
Function
MakeBacklog
MakeBacklog creates a backlog
util/execpool/backlog.go:52
↓ 25 callers
Function
MakeBlockService
MakeBlockService creates a BlockService around the provider Ledger and registers it for HTTP callback on the block serving path
rpcs/blockService.go:137
↓ 25 callers
Function
MakeValidatedBlock
MakeValidatedBlock creates a validated block.
ledger/ledgercore/validatedBlock.go:44
↓ 25 callers
Method
ReceiveMessage
(sourceNode int, tag protocol.Tag, data []byte)
agreement/fuzzer/filter_test.go:31
↓ 25 callers
Function
Retry
Retry executes a function repeatedly as long as it returns an error that indicates database contention that warrants a retry. Sends warnings and error
util/db/dbutil.go:182
↓ 25 callers
Method
SetupNoStart
SetupNoStart is called to initialize the test fixture for the test(s) but does not start the network before returning. Call NC.Start() to start later
test/framework/fixtures/restClientFixture.go:54
↓ 25 callers
Method
StateProofKeys
(basics.Round)
stateproof/abstractions.go:59
↓ 25 callers
Method
UnfinishedBlock
UnfinishedBlock returns the underlying Block. It should only be used for statistics and testing purposes, as the block is not yet finished and ready f
ledger/ledgercore/validatedBlock.go:70
↓ 25 callers
Method
assemble
(self, source)
test/scripts/e2e_subs/goal/goal.py:361
↓ 25 callers
Function
crypto_pwhash_str_verify
crypto/libsodium-fork/src/libsodium/crypto_pwhash/crypto_pwhash.c:174
↓ 25 callers
Function
ensureWalletHandleMaybePassword
(dataDir string, walletName string, getPassword bool)
cmd/goal/commands.go:336
↓ 25 callers
Function
generateTestObjects
(numTxs, numAccs, noteOffset int, blockRound basics.Round)
data/transactions/verify/txn_test.go:207
↓ 25 callers
Function
makeSerErr
makeSerErr returns an serializableError that formats as the given error.
agreement/errors.go:48
↓ 25 callers
Function
newPartKey
(t testing.TB, parent basics.Address)
stateproof/worker_test.go:493
↓ 25 callers
Function
notFound
(ctx echo.Context, internal error, external string, log logging.Logger)
daemon/algod/api/server/v2/utils.go:73
↓ 25 callers
Function
readOnlyFixture100
()
agreement/common_test.go:75
↓ 25 callers
Function
secp256k1_ecdsa_sig_verify
crypto/secp256k1/libsecp256k1/src/ecdsa_impl.h:203
↓ 25 callers
Function
secp256k1_ecdsa_signature_parse_der
crypto/secp256k1/libsecp256k1/src/secp256k1.c:210
↓ 25 callers
Function
secp256k1_fe_equal_var
crypto/secp256k1/libsecp256k1/src/field_impl.h:31
↓ 25 callers
Method
wellFormed
wellFormed performs some stateless checks on the KeyReg transaction
data/transactions/keyreg.go:56
↓ 24 callers
Method
Broadcast
Broadcast attempts to send a slice of bytes under some protocol.Tag to all neighbors. Broadcast represents a best-effort, ordered delivery mechanism.
agreement/abstractions.go:274
↓ 24 callers
Method
ComputeValidityRounds
ComputeValidityRounds takes first, last and rounds provided by a user and resolves them into actual firstValid and lastValid. Resolution table validR
libgoal/libgoal.go:511
↓ 24 callers
Function
DecodeStream
DecodeStream is like Decode but reads from an io.Reader instead.
protocol/codec.go:212
↓ 24 callers
Method
EnqueueSignature
(sigVerifier SignatureVerifier, message Hashable, sig Signature)
crypto/batchverifier.go:49
↓ 24 callers
Method
GetByIdx
GetByIdx returns address and AccountData It does NOT check boundaries.
ledger/ledgercore/statedelta.go:470
↓ 24 callers
Method
Handle
(message IncomingMessage)
network/gossipNode.go:213
↓ 24 callers
Method
LookupLatest
(addr basics.Address)
daemon/algod/api/server/v2/handlers.go:106
↓ 24 callers
Function
MakePhonebook
MakePhonebook creates phonebookImpl with the passed configuration values
network/phonebook/phonebook.go:176
↓ 24 callers
Function
MakeTopic
MakeTopic Creates a Topic
network/topics.go:41
↓ 24 callers
Method
MakeUnauthenticatedVote
(t *testing.T, index int, r round, p period, s step, value proposalValue)
agreement/common_test.go:594
↓ 24 callers
Function
MakeVerifiedTransactionCache
MakeVerifiedTransactionCache creates an instance of verifiedTransactionCache and returns it.
data/transactions/verify/verifiedTxnCache.go:86
↓ 24 callers
Method
PendingTransactionInformation
Get a specific pending transaction. (GET /v2/transactions/pending/{txid})
daemon/algod/api/server/v2/generated/participating/public/routes.go:36
↓ 24 callers
Method
RewardUnits
RewardUnits returns the sum of reward units held under “participating” account status values (Online and Offline). It excludes units held by NotParti
ledger/ledgercore/totals.go:128
↓ 24 callers
Method
SetAppLocalState
SetAppLocalState setter for app local state.
ledger/store/trackerdb/data.go:704
↓ 24 callers
Method
ToDS
ToDS converts KeyDigest to DS
tools/network/dnssec/anchor.go:63
↓ 24 callers
Function
costly
(cost int)
data/transactions/logic/opcodes.go:235
↓ 24 callers
Method
put
put adds digest d into a cache. locking semantic: write lock must be taken
data/txDupCache.go:70
↓ 24 callers
Function
randString
()
crypto/crypto_test.go:34
↓ 24 callers
Method
repairAll
()
agreement/service_test.go:374
↓ 24 callers
Function
secp256k1_fe_normalize
crypto/secp256k1/libsecp256k1/src/field_5x52_impl.h:54
↓ 23 callers
Method
AddMetric
AddMetric adds metrics to a map, used for reporting in telemetry heartbeat messages.
util/metrics/registryCommon.go:31
↓ 23 callers
Method
CurrentProtocolParams
CurrentProtocolParams returns the consensus parameters that the network is currently using
ledger/simulation/testing/utils.go:59
↓ 23 callers
Function
DefaultRegistry
DefaultRegistry retrieves the default registry
util/metrics/registry.go:36
↓ 23 callers
Method
Deregister
Deregister deregisters the gauge with the default/specific registry
util/metrics/gauge.go:58
↓ 23 callers
Function
HashRep
HashRep appends the correct hashid before the message to be hashed.
crypto/util.go:38
↓ 23 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
ledger/encoded/msgp_gen.go:487
↓ 23 callers
Method
MergeAccounts
MergeAccounts applies other accounts into this StateDelta accounts
ledger/ledgercore/statedelta.go:425
↓ 23 callers
Method
PreCheck
PreCheck checks if the block header bh is a valid successor to the previous block's header, prev.
data/bookkeeping/block.go:740
↓ 23 callers
Method
RootHash
RootHash returns the root hash of all the elements in the trie
crypto/merkletrie/trie.go:115
↓ 23 callers
Method
ServeHTTP
(response http.ResponseWriter, request *http.Request)
catchup/universalFetcher_test.go:233
↓ 23 callers
Method
ToSlice
ToSlice converts Digest to slice, is used by bookkeeping.PaysetCommit
crypto/util.go:58
↓ 23 callers
Method
UnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
ledger/encoded/msgp_gen.go:523
↓ 23 callers
Method
UnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
ledger/ledgercore/msgp_gen.go:731
↓ 23 callers
Method
Wait
(r basics.Round)
daemon/algod/api/server/v2/handlers.go:117
↓ 23 callers
Method
WriteMetric
WriteMetric adds metrics in Prometheus exposition format to buf, including parentLabels tags if provided.
util/metrics/registryCommon.go:29
↓ 23 callers
Function
downloadDurationToRank
calculate the duration rank by mapping the range of [minDownloadDuration..maxDownloadDuration] into the rank range of [minRank..maxRank]
catchup/peerSelector.go:532
↓ 23 callers
Function
exit
(code int)
cmd/goal/commands.go:501
↓ 23 callers
Function
generateTestSigner
(firstValid, lastValid, keyLifetime uint64, a *require.Assertions)
crypto/merklesignature/merkleSignatureScheme_test.go:528
↓ 23 callers
Function
genesisHash
()
ledger/eval/prefetcher/prefetcher_alignment_test.go:49
↓ 23 callers
Function
getRegistry
(t testing.TB)
data/account/participationRegistry_test.go:50
↓ 23 callers
Method
hasPeers
()
network/p2pNetwork_test.go:56
↓ 23 callers
Method
inc
(sum uint, state map[coserviceType]uint)
agreement/coservice.go:48
↓ 23 callers
Function
registerTest
registerTest registers the given test with the suite
ledger/store/trackerdb/testsuite/utils_test.go:62
↓ 23 callers
Function
secp256k1_context_destroy
crypto/secp256k1/libsecp256k1/src/secp256k1.c:90
↓ 23 callers
Function
secp256k1_ec_pubkey_parse
crypto/secp256k1/libsecp256k1/src/secp256k1.c:148
↓ 23 callers
Function
secp256k1_ec_pubkey_serialize
crypto/secp256k1/libsecp256k1/src/secp256k1.c:163
↓ 23 callers
Function
testLogicRange
testLogicRange allows for running tests against a range of avm versions. Generally `start` will be the version that introduced the feature, and `stop`
data/transactions/logic/evalStateful_test.go:671
↓ 23 callers
Method
txns
(txns ...*txntest.Txn)
ledger/double_test.go:96
↓ 22 callers
Function
Eval
Eval is the main evaluator entrypoint (in addition to StartEvaluator) used by Ledger.Validate() Ledger.AddBlock() Ledger.trackerEvalVerified()(account
ledger/eval/eval.go:2060
↓ 22 callers
Method
FailNow
()
data/pools/transactionPool_test.go:65
↓ 22 callers
Method
GenerateBlock
(addrs []basics.Address)
data/pools/transactionPool.go:115
↓ 22 callers
Function
GenerateRoot
GenerateRoot uses the system's source of randomness to generate an account.
data/account/account.go:47
↓ 22 callers
Method
GetConnectionWaitTime
GetConnectionWaitTime will calculate and return the wait time to prevent exceeding connectionsRateLimitingCount. The connection should be established
network/phonebook/phonebook.go:119
↓ 22 callers
Method
GetPeers
GetPeers implements GossipNode
network/hybridNetwork.go:193
↓ 22 callers
Function
HashProgram
HashProgram takes program bytes and returns the Digest This Digest can be used as an Address for a logic controlled account.
data/transactions/logic/program.go:45
↓ 22 callers
Method
Less
(i, j int)
agreement/sort.go:43
↓ 22 callers
Method
Listen
Listen is called when network starts listening on an addr
network/p2p/streams.go:181
↓ 22 callers
Function
LoadLedger
LoadLedger creates a Ledger object to represent the ledger with the specified database file prefix, initializing it if necessary.
data/ledger.go:81
↓ 22 callers
Method
LookupWithoutRewards
(basics.Round, basics.Address)
ledger/eval/eval.go:48
↓ 22 callers
Function
MakeErasableAccessor
MakeErasableAccessor creates a new Accessor with the secure_delete pragma set; see https://www.sqlite.org/pragma.html#pragma_secure_delete It is not r
util/db/dbutil.go:91
↓ 22 callers
Method
Name
()
test/framework/fixtures/fixture.go:39
↓ 22 callers
Method
NormalizedOnlineBalance
NormalizedOnlineBalance getter for normalized online balance.
ledger/store/trackerdb/data.go:506
↓ 22 callers
Method
PrepareContext
(ctx context.Context, query string)
util/db/interfaces.go:34
↓ 22 callers
Function
RandomAddress
RandomAddress generates a random address TODO: this method is defined in ledgertesting, should be moved up to basics so it can be used in more plac
ledger/store/trackerdb/testsuite/utils_test.go:88
↓ 22 callers
Method
Seed
Seed returns the VRF seed that was agreed upon in a given round. The Seed is a source of cryptographic entropy which has bounded bias. It is used to
agreement/abstractions.go:139
↓ 22 callers
Method
SetAppParams
SetAppParams setter for app params.
ledger/store/trackerdb/data.go:745
↓ 22 callers
Method
Validate
Validate takes a given automata at zero state, drives it with the test case input, and validates the output.
agreement/state_machine_test.go:403
↓ 22 callers
Method
balance
(self, account, asa=None)
test/scripts/e2e_subs/goal/goal.py:344
↓ 22 callers
Function
computeBonus
computeBonus is the guts of NextBonus that can be unit tested more effectively.
data/bookkeeping/block.go:587
↓ 22 callers
Function
doDryrunRequest
unit-testable core of dryrun handler programs for execution are discovered in the following way: - LogicSig: stxn.Lsig.Logic - Application: Apps[i].Cl
daemon/algod/api/server/v2/dryrun.go:420
↓ 22 callers
Method
getSetCount
()
network/wsNetwork_test.go:1376
↓ 22 callers
Function
indexToAccount
(i uint64)
tools/block-generator/generator/utils.go:51
↓ 22 callers
Method
shouldDropAt
shouldDropAt is the same as shouldDrop but accepts the current time as a parameter in order to make it testable
data/appRateLimiter.go:170
↓ 22 callers
Function
wrapIOError
wrapIOError allows for SQL IO Errors to be represented as trackerdb.ErrIoErr in places which may enconter them.
ledger/store/trackerdb/sqlitedriver/sqlitedriver.go:369
↓ 21 callers
Method
Build
()
agreement/state_machine_test.go:505
↓ 21 callers
Method
Close
()
rpcs/txSyncer.go:42
↓ 21 callers
Function
ConsensusVersionMaxSize
MaxSize returns a maximum valid message size for this message type
protocol/msgp_gen.go:148
← previous
next →
501–600 of 18,272, ranked by callers