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
↓ 59 callers
Method
MakeRandomProposalPayload
(t *testing.T, r round)
agreement/common_test.go:535
↓ 59 callers
Method
Round
Round returns the Round for which the Block is relevant
data/bookkeeping/block.go:346
↓ 59 callers
Method
dispatch
(t *tracer, state player, e event, src stateMachineTag, dest stateMachineTag, r round, p period, s step)
agreement/router.go:88
↓ 58 callers
Function
Disassemble
Disassemble produces a text form of program bytes. AssembleString(Disassemble()) should result in the same program bytes.
data/transactions/logic/assembler.go:3160
↓ 58 callers
Method
GetDataDir
GetDataDir provides read-only access to the controller's data directory
nodecontrol/algodControl.go:302
↓ 58 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
data/bookkeeping/msgp_gen.go:1171
↓ 58 callers
Method
Mul
Mul multiplies b by a with overflow detection
data/basics/overflow.go:122
↓ 58 callers
Method
Sub
Sub subtracts b from a with overflow detection
data/basics/overflow.go:113
↓ 58 callers
Function
main
main wraps up some TEAL source in a header and footer so that it is an app that does nothing at create time, but otherwise runs source, then approves,
ledger/simple_test.go:222
↓ 58 callers
Method
rankPeer
(psp *peerSelectorPeer, rank int)
catchup/peerSelector.go:118
↓ 57 callers
Function
defaultSigParams
(txns ...transactions.SignedTxn)
data/transactions/logic/eval_test.go:155
↓ 57 callers
Function
parseJSON
(jsonText []byte)
data/transactions/logic/eval.go:5924
↓ 57 callers
Function
reportErrorln
(args ...interface{})
cmd/goal/commands.go:485
↓ 56 callers
Method
Empty
Empty reports whether there was any difference at all.
tools/x-repo-types/typeAnalyzer/typeAnalyzer.go:141
↓ 56 callers
Method
Len
Len implements heap.Interface
network/peersheap.go:42
↓ 56 callers
Function
NewCounter
NewCounter is a shortcut to MakeCounter in one shorter line.
util/metrics/counter.go:50
↓ 56 callers
Method
verify
verify verifies that a vote that was received from the network is valid.
agreement/vote.go:97
↓ 55 callers
Method
read
(self, path)
test/scripts/latency_plot.py:26
↓ 54 callers
Function
expectNewPeriod
(t *testing.T, clocks []timers.Clock[TimeoutType], zeroes uint)
agreement/service_test.go:823
↓ 54 callers
Function
have_flag
crypto/secp256k1/libsecp256k1/src/bench_internal.c:327
↓ 54 callers
Function
requireTraceContains
(t *testing.T, trace ioTrace, expected event, playerN, eventN int)
agreement/player_permutation_test.go:403
↓ 54 callers
Function
secp256k1_scalar_sqr
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:101
↓ 53 callers
Function
EnsureSingleDataDir
EnsureSingleDataDir retrieves the exactly one data directory that exists. Reports and Error and exits when more than one data directories are availabl
cmd/util/datadir/datadir.go:57
↓ 53 callers
Method
GetVerifier
GetVerifier can be used to store the commitment and verifier for this signer.
crypto/merklesignature/merkleSignatureScheme.go:143
↓ 53 callers
Method
LatestRound
LatestRound returns the round number of the most recently committed block
ledger/simulation/testing/utils.go:54
↓ 53 callers
Method
ListAddresses
ListAddresses takes a wallet handle and returns the list of addresses associated with it. If no addresses are associated with the wallet, it returns a
libgoal/libgoal.go:302
↓ 53 callers
Method
Sign
Sign signs a transaction using a given Account's secrets.
data/transactions/transaction.go:264
↓ 53 callers
Method
Warn
Warn logs a message at level Warn.
logging/log.go:110
↓ 53 callers
Function
check
(program []byte, gi int, params *EvalParams, mode RunMode)
data/transactions/logic/eval.go:1377
↓ 53 callers
Method
error
(err error)
data/transactions/logic/assembler.go:1848
↓ 53 callers
Function
randombytes_uniform
crypto/libsodium-fork/src/libsodium/randombytes/randombytes.c:124
↓ 52 callers
Method
InnerID
InnerID returns something akin to Txid, but folds in the parent Txid and the index of the inner call.
data/transactions/transaction.go:249
↓ 52 callers
Function
appAddr
(id int)
data/transactions/logic/evalAppTxn_test.go:194
↓ 52 callers
Method
errorf
(format string, args ...interface{})
data/transactions/logic/assembler.go:1852
↓ 51 callers
Method
Hash
Hash converts a VRF proof to a VRF output without verifying the proof. TODO: Consider removing so that we don't accidentally hash an unverified proof
crypto/vrf.go:117
↓ 51 callers
Method
IsZero
IsZero checks if an address is the zero value.
data/basics/address.go:109
↓ 51 callers
Method
Len
Len returns size of a cache
data/txDupCache.go:89
↓ 51 callers
Function
simulationTest
(t *testing.T, f func(env simulationtesting.Environment) simulationTestCase)
ledger/simulation/simulation_eval_test.go:141
↓ 50 callers
Method
Marshal
Marshal Returns a hash representation of the element located in position pos
crypto/merklearray/array.go:33
↓ 50 callers
Method
Root
Root returns the root hash of the tree. In case the tree is empty, the return value is an empty GenericDigest.
crypto/merklearray/merkle.go:170
↓ 49 callers
Method
Close
()
util/watchdogStreamReader.go:63
↓ 49 callers
Method
GetBalanceAndRound
GetBalanceAndRound returns the current balance of an account and the current round for that balance
test/framework/fixtures/restClientFixture.go:140
↓ 49 callers
Method
String
String returns a string representation of Address
data/basics/address.go:84
↓ 49 callers
Function
crypto_onetimeauth_poly1305_update
crypto/libsodium-fork/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c:40
↓ 49 callers
Method
ensureAlgodClient
()
libgoal/libgoal.go:196
↓ 49 callers
Function
load_3
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:11
↓ 49 callers
Method
read
read the persistedKVData object that the lruKV has for the given key. thread locking semantics : read lock
ledger/lrukv.go:71
↓ 49 callers
Function
secp256k1_fe_add
crypto/secp256k1/libsecp256k1/src/field_5x52_impl.h:357
↓ 48 callers
Method
AddBlock
(bookkeeping.Block, agreement.Certificate)
catchup/service.go:64
↓ 48 callers
Method
GetBalance
GetBalance takes an address and returns its total balance; if the address doesn't exist, it returns 0.
libgoal/libgoal.go:861
↓ 48 callers
Method
MakeRandomProposalValue
()
agreement/common_test.go:529
↓ 48 callers
Method
SignBytes
(message []byte)
network/netidentity.go:100
↓ 47 callers
Method
IsHolding
IsHolding returns true if the resource flag is ResourceFlagsHolding
ledger/store/trackerdb/data.go:530
↓ 47 callers
Method
Next
()
ledger/store/trackerdb/generickv/accounts_reader.go:38
↓ 47 callers
Method
SignedTxn
SignedTxn produces a unsigned, transactions.SignedTransaction from the fields in this Txn. This seemingly pointless operation exists, again, for conv
data/txntest/txn.go:315
↓ 47 callers
Function
goValuesToTealValues
(goValues ...interface{})
ledger/simulation/simulation_eval_test.go:2462
↓ 46 callers
Method
Debug
Debug logs a message at level Debug.
logging/log.go:100
↓ 46 callers
Method
MakeAccountsReader
()
ledger/store/trackerdb/store.go:59
↓ 46 callers
Method
SendPaymentFromUnencryptedWallet
SendPaymentFromUnencryptedWallet signs a transaction using the default wallet and returns the resulted transaction id
libgoal/unencryptedWallet.go:32
↓ 46 callers
Function
getKey
(zone string, flags uint16)
tools/network/dnssec/testHarness.go:489
↓ 45 callers
Method
IsOwning
IsOwning returns true if the resource flag is ResourceFlagsOwnership
ledger/store/trackerdb/data.go:535
↓ 45 callers
Function
MicroAlgosMaxSize
MicroAlgosMaxSize returns maximum possible msgp encoded size of MicroAlgos in bytes. It is expected by msgp generated MaxSize functions
data/basics/units.go:122
↓ 45 callers
Function
ToAccountData
ToAccountData returns ledgercore.AccountData from basics.AccountData
ledger/ledgercore/accountdata.go:56
↓ 45 callers
Method
UpsertAssetResource
UpsertAssetResource adds AssetParams and AssetHolding delta
ledger/ledgercore/statedelta.go:509
↓ 45 callers
Method
WaitForAllTxnsToConfirm
WaitForAllTxnsToConfirm is as WaitForTxnConfirmation, but accepting a whole map of txids to their issuing address
test/framework/fixtures/restClientFixture.go:199
↓ 45 callers
Function
load_4
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:23
↓ 45 callers
Function
notrack
(program string)
data/transactions/logic/eval_test.go:4617
↓ 44 callers
Method
Info
Info logs a message at level Info.
logging/log.go:105
↓ 44 callers
Method
IsApp
IsApp returns true if the flag is ResourceFlagsEmptyApp and the fields are not empty.
ledger/store/trackerdb/data.go:561
↓ 44 callers
Method
IsAsset
IsAsset returns true if the flag is ResourceFlagsEmptyAsset and the fields are not empty.
ledger/store/trackerdb/data.go:586
↓ 44 callers
Method
Type
()
data/transactions/logic/fields.go:31
↓ 44 callers
Method
committedUpTo
committedUpTo informs the tracker that the block database has committed all blocks up to and including rnd to persistent storage. This can allow the
ledger/tracker.go:91
↓ 44 callers
Function
equal
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:572
↓ 44 callers
Function
lookup
lookup gets the current accountdata for an address
ledger/simple_test.go:230
↓ 44 callers
Function
secp256k1_scalar_set_b32
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:47
↓ 44 callers
Function
waitReady
(t testing.TB, wn *WebsocketNetwork, timeout <-chan time.Time)
network/wsNetwork_test.go:287
↓ 43 callers
Method
AddUint64
AddUint64 increases counter by x If labels is nil this is much faster than if labels is not nil.
util/metrics/counter.go:84
↓ 43 callers
Method
Encode
Encode serializes the Clock into a byte slice.
util/timers/interface.go:44
↓ 43 callers
Function
EncodeJSON
EncodeJSON returns a JSON-encoded byte buffer for a given object
protocol/codec.go:148
↓ 43 callers
Method
GetAddress
()
network/wsPeer.go:289
↓ 43 callers
Method
Header
()
network/requestLogger.go:98
↓ 43 callers
Method
ID
ID is the effective Genesis identifier - the combination of the network and the ledger schema version
data/bookkeeping/genesis.go:101
↓ 43 callers
Function
ge25519_p3_to_cached
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:500
↓ 43 callers
Function
helperFillSignBroadcast
(client libgoal.Client, wh []byte, sender string, tx transactions.Transaction, err error)
test/e2e-go/features/transactions/asset_test.go:43
↓ 43 callers
Function
omitEmpty
omitEmpty defines a handy impl for all comparable types to convert from default value to nil ptr
daemon/algod/api/server/v2/utils.go:119
↓ 43 callers
Method
processIncomingTxn
processIncomingTxn decodes a transaction group from incoming message and enqueues into the back log for processing. The function also performs some in
data/txHandler.go:841
↓ 43 callers
Method
trackerDB
()
ledger/tracker.go:157
↓ 42 callers
Method
BookkeepingBlock
BookkeepingBlock takes a round and returns its block
libgoal/libgoal.go:828
↓ 42 callers
Function
DecodeJSON
DecodeJSON attempts to decode a JSON-encoded byte buffer into an object instance pointed to by objptr
protocol/codec.go:219
↓ 42 callers
Method
Equal
Equal compares two EvalDeltas and returns whether or not they are equivalent. It does not care about nilness equality of LocalDeltas, because the msgp
data/transactions/teal.go:56
↓ 42 callers
Method
GetAddresses
GetAddresses(N) returns up to N addresses, but may return fewer
network/phonebook/phonebook.go:109
↓ 42 callers
Method
GetNodeController
GetNodeController returns the node controller that is associated with the given node name.
test/framework/fixtures/libgoalFixture.go:440
↓ 42 callers
Function
MakeBlock
MakeBlock constructs a new valid block with an empty payset and an unset Seed.
data/bookkeeping/block.go:607
↓ 42 callers
Function
NetIdentityDedupNames
NetIdentityDedupNames is an option to set the deduplication names for the identity challenge scheme
network/netidentity.go:142
↓ 42 callers
Function
NewIdentityChallengeScheme
NewIdentityChallengeScheme will create a default Identification Scheme
network/netidentity.go:156
↓ 42 callers
Function
NewLogger
NewLogger returns a new Logger logging to out.
logging/log.go:368
↓ 42 callers
Method
SendPaymentFromWallet
SendPaymentFromWallet signs a transaction using the given wallet and returns the resulted transaction id
libgoal/libgoal.go:454
↓ 42 callers
Method
SignAndBroadcastTransaction
SignAndBroadcastTransaction signs the unsigned transaction with keys from the default wallet, and broadcasts it
libgoal/transactions.go:200
↓ 42 callers
Function
expectNoNewPeriod
(t *testing.T, clocks []timers.Clock[TimeoutType], zeroes uint)
agreement/service_test.go:831
↓ 41 callers
Function
EncodeMsgp
EncodeMsgp returns a msgpack-encoded byte buffer, requiring that we pre-generated the code for doing so using msgp.
protocol/codec.go:120
← previous
next →
201–300 of 18,272, ranked by callers