MCPcopy Create free account

hub / github.com/MiloOweno/kernel-lab / functions

Functions18,272 in github.com/MiloOweno/kernel-lab

↓ 118 callersFunctionev
* Utils for player testing */ wrap actions as events so we can test player as a listener
agreement/state_machine_test.go:539
↓ 114 callersMethodLen
()
data/transactions/sort.go:26
↓ 113 callersMethodStore
(other int)
cmd/tealdbg/util.go:62
↓ 112 callersMethodLen
Len implements sort.Interface
ledger/onlinetopheap.go:31
↓ 112 callersMethodWriteHeader
(statusCode int)
network/requestLogger.go:111
↓ 110 callersMethodShutdown
Shutdown should be called for a single-use fixture shutdown / cleanup It requires a valid t.Testing to be assigned.
test/framework/fixtures/fixture.go:59
↓ 109 callersMethodGetPeers
Get a list of Peers we could potentially send a direct message to.
network/gossipNode.go:96
↓ 109 callersFunctiontestLogicBytes
(t *testing.T, program []byte, ep *EvalParams, problems ...string)
data/transactions/logic/eval_test.go:2215
↓ 108 callersMethodNewAccount
NewAccount adds a new account with a given balance to the Ledger.
data/transactions/logic/ledger_test.go:123
↓ 108 callersMethodUnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
data/bookkeeping/msgp_gen.go:487
↓ 106 callersMethodAddField
AddField adds a named field segment to a TypePath. The modification is done using append, so this action may mutate the input TypePath. NOTE: There i
test/reflectionhelpers/helpers.go:91
↓ 106 callersMethodDoV1Request
DoV1Request accepts a request from kmdapi/requests and
daemon/kmd/client/requests.go:30
↓ 105 callersFunctionfe25519_mul
crypto/libsodium-fork/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h:242
↓ 104 callersMethodTxn
Txn produces a transactions.Transaction from the fields in this Txn
data/txntest/txn.go:220
↓ 103 callersMethodSetLevel
Set the logging version (Info by default)
logging/log.go:136
↓ 100 callersMethodRead
(p []byte)
util/watchdogStreamReader.go:62
↓ 100 callersMethodWith
Add one key-value to log
logging/log.go:130
↓ 99 callersFunctionrandombytes_buf
crypto/libsodium-fork/src/libsodium/randombytes/randombytes.c:149
↓ 98 callersMethodString
()
ledger/store/trackerdb/interface.go:49
↓ 98 callersMethodVerify
()
crypto/batchverifier.go:51
↓ 97 callersMethodSince
Since returns the time spent between the last time the clock was zeroed out and the current wall clock time.
util/timers/interface.go:32
↓ 96 callersMethodBytes
Bytes returns the underlying byte slice
protocol/codec.go:301
↓ 95 callersMethodappendUnvalidatedTx
(t *testing.T, initAccounts map[basics.Address]basics.AccountData, initSecrets map[basics.Address]*crypto.Sign
ledger/ledger_test.go:84
↓ 94 callersMethodArgs
Args returns a new Txn with the given strings as app args
data/txntest/txn.go:144
↓ 94 callersMethodLen
()
tools/network/dnssec/sort.go:27
↓ 93 callersMethodDecode
(objptr interface{})
protocol/codec.go:47
↓ 92 callersMethodSetup
Setup is called to initialize the test fixture for the test(s)
test/framework/fixtures/restClientFixture.go:47
↓ 90 callersMethodQueryRow
(query string, args ...interface{})
util/db/interfaces.go:37
↓ 90 callersFunctiontestLine
(t *testing.T, line string, ver uint64, expected string, col ...int)
data/transactions/logic/assembler_test.go:748
↓ 89 callersMethodHelper
()
test/framework/fixtures/fixture.go:36
↓ 89 callersFunctionOpenLedger
OpenLedger creates a Ledger object, using SQLite database filenames based on dbPathPrefix (in-memory if dbMem is true). genesisInitState.Blocks and ge
ledger/ledger.go:115
↓ 88 callersMethodclose
close terminates the tracker, reclaiming any resources like open database connections or goroutines. close may be called even if loadFromDisk() is no
ledger/tracker.go:123
↓ 88 callersFunctiontoPtr
(constVar T)
test/e2e-go/restAPI/simulate/simulateRestAPI_test.go:670
↓ 87 callersFunctionHashObj
HashObj computes a hash of a Hashable object and its type
crypto/util.go:97
↓ 85 callersFunctionsecp256k1_scalar_mul
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:88
↓ 84 callersFunctionAddressMaxSize
MaxSize returns a maximum valid message size for this message type
data/basics/msgp_gen.go:1567
↓ 84 callersFunctionfe25519_sq
crypto/libsodium-fork/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h:333
↓ 82 callersFunctionMakeAccessor
MakeAccessor creates a new Accessor.
util/db/dbutil.go:84
↓ 81 callersMethodAddInOutPair
(input event, output event)
agreement/state_machine_test.go:509
↓ 81 callersMethodWaitForRound
WaitForRound waits up to the specified amount of time for the network to reach or pass the specified round
test/framework/fixtures/restClientFixture.go:81
↓ 80 callersFunctiongoValuesToAvmValues
(goValues ...interface{})
test/e2e-go/restAPI/simulate/simulateRestAPI_test.go:772
↓ 79 callersMethodFail
()
test/framework/fixtures/fixture.go:31
↓ 79 callersMethodIsEmpty
IsEmpty returns true if the resource flag is not an app or asset.
ledger/store/trackerdb/data.go:540
↓ 79 callersMethodShutdown
()
util/execpool/pool.go:40
↓ 78 callersMethodFillUnsignedTxTemplate
FillUnsignedTxTemplate fills in header fields in a partially-filled-in transaction.
libgoal/transactions.go:472
↓ 78 callersMethodUint64
Uint64 returns a pseudo-random 64-bit value as a uint64.
agreement/abstractions.go:306
↓ 77 callersMethodLen
Len returns number of stored accounts
ledger/ledgercore/statedelta.go:464
↓ 77 callersMethodSetOutput
Sets the output target
logging/log.go:142
↓ 75 callersMethodBroadcast
(ctx context.Context, tag protocol.Tag, data []byte, wait bool, except Peer)
network/gossipNode.go:81
↓ 75 callersMethodClose
Close any resources used to implement the interface.
data/account/participationRegistry.go:272
↓ 75 callersFunctionGenerateSignatureSecrets
GenerateSignatureSecrets creates SignatureSecrets from a source of entropy.
crypto/curve25519.go:215
↓ 75 callersMethodReset
()
util/watchdogStreamReader.go:61
↓ 75 callersFunctionRoundMaxSize
MaxSize returns a maximum valid message size for this message type
data/basics/msgp_gen.go:4993
↓ 75 callersFunctionerrorResponse
errorResponse sets the specified status code (should != 200), and fills in the the response envelope by setting Error to true and a Message to the pas
daemon/kmd/api/v1/handlers.go:44
↓ 75 callersFunctionreportInfof
(format string, args ...interface{})
cmd/goal/commands.go:450
↓ 74 callersMethodErr
Err returns an error that was set during opening the file
util/s3/fileIterator.go:62
↓ 74 callersMethodIsZero
IsZero returns true if the challenge is empty (used to indicate no challenege)
ledger/apply/challenge.go:82
↓ 74 callersMethodLastRound
()
catchup/service.go:66
↓ 74 callersMethodUnmarshal
([]byte)
agreement/fuzzer/filter_test.go:51
↓ 74 callersFunctionrandomBlockHash
()
agreement/common_test.go:123
↓ 73 callersMethodGenerateAddress
GenerateAddress takes a wallet handle, generate an additional address for it and returns the public address
libgoal/libgoal.go:373
↓ 73 callersMethodMsgIsZero
MsgIsZero returns whether this is a zero value
ledger/store/trackerdb/msgp_gen.go:2826
↓ 73 callersMethodTransaction
transaction support
ledger/store/trackerdb/store.go:44
↓ 73 callersMethodUnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
ledger/store/trackerdb/msgp_gen.go:2594
↓ 73 callersMethodgetTrace
getTrace returns the trace of the execution so far. note that it always starts at initialization, at the start state.
agreement/state_machine_test.go:283
↓ 73 callersFunctionsecp256k1_fe_sqr
crypto/secp256k1/libsecp256k1/src/field_5x52_impl.h:389
↓ 73 callersFunctionsodium_misuse
crypto/libsodium-fork/src/libsodium/sodium/core.c:186
↓ 72 callersFunctionNewDoubleLedger
NewDoubleLedger creates a new DoubleLedger with the supplied balances and consensus version.
ledger/double_test.go:63
↓ 71 callersMethodClose
()
ledger/double_test.go:57
↓ 71 callersMethodContains
test helpers
agreement/state_machine_test.go:139
↓ 71 callersFunctioncoalesceErrors
helpers
ledger/store/trackerdb/dualdriver/dualdriver.go:540
↓ 70 callersMethodDigest
Digest returns a cryptographic digest summarizing the Block.
data/bookkeeping/block.go:341
↓ 69 callersMethodFatalf
(string, ...interface{})
logging/log.go:122
↓ 69 callersFunctionsecp256k1_scalar_set_int
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:19
↓ 69 callersFunctionsetupP
* * Automata-style trace based integration tests. * --------------------------------------------- * There is significant overlap with the tests abo
agreement/player_test.go:502
↓ 69 callersFunctionsodium_bin2hex
Derived from original code by CodesInChaos */
crypto/libsodium-fork/src/libsodium/sodium/codecs.c:13
↓ 68 callersFunctionFilterTimeout
FilterTimeout is the duration of the first agreement step.
agreement/types.go:58
↓ 68 callersMethodSignTransactionWithWallet
SignTransactionWithWallet signs the passed transaction with keys from the wallet associated with the passed walletHandle
libgoal/transactions.go:38
↓ 67 callersMethodAccountData
(addr basics.Address)
data/transactions/logic/eval.go:247
↓ 67 callersMethodExecContext
(ctx context.Context, query string, args ...interface{})
util/db/interfaces.go:45
↓ 67 callersMethodPanicf
(string, ...interface{})
logging/log.go:127
↓ 67 callersMethodReplacePeerList
ReplacePeerList merges a set of addresses with that passed in for networkName new entries in dnsAddresses are being added existing items that aren't i
network/phonebook/phonebook.go:130
↓ 66 callersMethodSubSaturate
SubSaturate subtracts x rounds with saturation arithmetic that does not wrap around past zero, and instead returns 0 on underflow.
data/basics/units.go:152
↓ 66 callersFunctionrequireActionCount
(t *testing.T, trace ioTrace, expectedCount, playerN, eventN int)
agreement/player_permutation_test.go:399
↓ 66 callersFunctiontriggerGlobalTimeout
(d time.Duration, timeoutType TimeoutType, clocks []timers.Clock[TimeoutType], activityMonitor *activityMonito
agreement/service_test.go:838
↓ 65 callersMethodAccountInformation
Get account information. (GET /v2/accounts/{address})
daemon/algod/api/server/v2/generated/nonparticipating/public/routes.go:27
↓ 65 callersMethodClone
Clone returns a copy of a TealKeyValue that may be modified without affecting the original
data/basics/teal.go:188
↓ 65 callersMethodEmpty
Empty does the obvious. But the meaning is not obvious. An empty BoxRef just adds to the read/write quota of the transaction. In tx.Access, _any_ empt
data/transactions/application.go:347
↓ 65 callersFunctiondetDefault
()
data/transactions/logic/opcodes.go:198
↓ 65 callersFunctioninternalError
(ctx echo.Context, internal error, external string, log logging.Logger)
daemon/algod/api/server/v2/utils.go:69
↓ 64 callersMethodBroadcastTransaction
BroadcastTransaction broadcasts a signed transaction to the network using algod
libgoal/transactions.go:165
↓ 64 callersFunctionsodium_hex2bin
crypto/libsodium-fork/src/libsodium/sodium/codecs.c:40
↓ 63 callersFunctionmakeTestWebsocketNode
(t testing.TB, opts ...testWebsocketOption)
network/wsNetwork_test.go:165
↓ 62 callersMethodAddress
()
network/gossipNode.go:80
↓ 62 callersFunctionEncodeReflect
EncodeReflect returns a msgpack-encoded byte buffer for a given object, using reflection.
protocol/codec.go:105
↓ 62 callersMethodWaitForRoundWithTimeout
WaitForRoundWithTimeout waits for a given round to reach. The implementation also ensures to limit the wait time for each round to the globals.MaxTime
test/framework/fixtures/restClientFixture.go:99
↓ 62 callersFunctionmakeMockLedgerForTracker
(t testing.TB, inMemory bool, initialBlocksCount basics.Round, consensusVersion protocol.ConsensusVersion, acc
ledger/acctupdates_test.go:149
↓ 61 callersMethodMarshalMsg
The following msgp objects are implemented in this file: Block |-----> (*) MarshalMsg |-----> (*) CanMarshalMsg |-----> (*) UnmarshalMsg |-----> (*) U
data/bookkeeping/msgp_gen.go:143
↓ 61 callersFunctionbadRequest
(ctx echo.Context, internal error, external string, log logging.Logger)
daemon/algod/api/server/v2/utils.go:57
↓ 61 callersFunctionge25519_p1p1_to_p3
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:441
← previousnext →101–200 of 18,272, ranked by callers