Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorand/go-algorand
/ functions
Functions
18,629 in github.com/algorand/go-algorand
⨍
Functions
18,629
◇
Types & classes
2,600
↓ 26 callers
Function
MakeBacklog
MakeBacklog creates a backlog
util/execpool/backlog.go:52
↓ 26 callers
Function
MakeVerifiedTransactionCache
MakeVerifiedTransactionCache creates an instance of verifiedTransactionCache and returns it.
data/transactions/verify/verifiedTxnCache.go:86
↓ 26 callers
Method
PushFront
PushFront inserts a new element e with value v at the front of list l and returns e.
util/list.go:104
↓ 26 callers
Method
Register
Register is fired on program creation
data/transactions/logic/debugger.go:44
↓ 26 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:194
↓ 26 callers
Method
Shutdown
Shutdown stops the kmd instance if it's running and cleans up the dataDir if there was no test failure
test/framework/fixtures/kmdFixture.go:72
↓ 26 callers
Method
Start
Start notifies the network that the agreement service is ready to start receiving messages.
agreement/abstractions.go:298
↓ 26 callers
Function
Verify
Verify ensures that the positions in elems correspond to the respective hashes in a tree with the given root hash. The proof is expected to be the pr
crypto/merklearray/merkle.go:330
↓ 26 callers
Method
VerifyBytes
VerifyBytes verifies that a merklesignature sig is valid, on a specific round, under a given public key
crypto/merklesignature/merkleSignatureScheme.go:266
↓ 26 callers
Function
b64
(s string)
daemon/algod/api/server/v2/dryrun_test.go:67
↓ 26 callers
Function
crypto_generichash_blake2b_update
crypto/libsodium-fork/src/libsodium/crypto_generichash/blake2b/ref/generichash_blake2b.c:94
↓ 26 callers
Function
crypto_pwhash_argon2i_str_needs_rehash
crypto/libsodium-fork/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c:278
↓ 26 callers
Method
dump
()
agreement/service_test.go:556
↓ 26 callers
Method
ensureKmdClient
()
libgoal/libgoal.go:187
↓ 26 callers
Function
generateTestObjects
(numTxs, numAccs, noteOffset int, blockRound basics.Round)
data/transactions/verify/txn_test.go:203
↓ 26 callers
Method
newBase
()
ledger/tracker.go:312
↓ 26 callers
Function
printColor
(message, color=NORMAL_TEXT_COLOR)
scripts/buildtools/check_tests.py:57
↓ 26 callers
Function
random_scalar_order_test
crypto/secp256k1/libsecp256k1/src/tests.c:110
↓ 26 callers
Function
secp256k1_ec_pubkey_create
crypto/secp256k1/libsecp256k1/src/secp256k1.c:402
↓ 26 callers
Function
sliceOrNil
(s []T)
daemon/algod/api/server/v2/utils.go:96
↓ 26 callers
Function
testAppBytes
(t *testing.T, program []byte, ep *EvalParams, problems ...string)
data/transactions/logic/evalStateful_test.go:587
↓ 25 callers
Method
CreateApp
CreateApp creates an application with the given parameters and returns its ID
ledger/simulation/testing/utils.go:161
↓ 25 callers
Method
EnqueueSignature
(sigVerifier SignatureVerifier, message Hashable, sig Signature)
crypto/batchverifier.go:50
↓ 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:159
↓ 25 callers
Method
Len
()
cmd/algofix/fix.go:26
↓ 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:136
↓ 25 callers
Function
MultisigAddrGen
MultisigAddrGen identifes the exact group, version, and devices (Public keys) that it requires to sign Hash("MultisigAddr" || version uint8 || thresho
crypto/multisig.go:96
↓ 25 callers
Function
NewJSONDecoder
NewJSONDecoder returns a json decoder object reading bytes from [r].
protocol/codec.go:244
↓ 25 callers
Method
PendingTransactionInformation
Get a specific pending transaction. (GET /v2/transactions/pending/{txid})
daemon/algod/api/server/v2/generated/participating/public/routes.go:36
↓ 25 callers
Method
ReceiveMessage
(sourceNode int, tag protocol.Tag, data []byte)
agreement/fuzzer/filter_test.go:31
↓ 25 callers
Method
SetAppLocalState
SetAppLocalState setter for app local state.
ledger/store/trackerdb/data.go:707
↓ 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:52
↓ 25 callers
Method
StateProofKeys
(basics.Round)
stateproof/abstractions.go:59
↓ 25 callers
Method
assemble
(self, source)
test/scripts/e2e_subs/goal/goal.py:361
↓ 25 callers
Function
auNewBlock
(t *testing.T, rnd basics.Round, au *accountUpdates, base map[basics.Address]basics.AccountData, data auNewBlo
ledger/acctupdates_test.go:2342
↓ 25 callers
Function
crypto_pwhash_str_verify
crypto/libsodium-fork/src/libsodium/crypto_pwhash/crypto_pwhash.c:174
↓ 25 callers
Function
makeAddressPtr
(seed int)
ledger/eval/prefetcher/prefetcher_test.go:37
↓ 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:494
↓ 25 callers
Function
notFound
(ctx echo.Context, internal error, external string, log logging.Logger)
daemon/algod/api/server/v2/utils.go:74
↓ 25 callers
Method
pretend
pretend adds the `before` addresses to the Accounts. It "pretends" that the addresses were prefetched, so we can get agreement with what was actually
ledger/eval/prefetcher/prefetcher_alignment_test.go:321
↓ 25 callers
Function
readOnlyFixture100
()
agreement/common_test.go:76
↓ 25 callers
Function
run
(t *testing.T, l *prefetcherAlignmentTestLedger, txn transactions.Transaction)
ledger/eval/prefetcher/prefetcher_alignment_test.go:368
↓ 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
↓ 24 callers
Method
AddMetric
AddMetric adds metrics to a map, used for reporting in telemetry heartbeat messages.
util/metrics/registryCommon.go:31
↓ 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
Function
DecodeStream
DecodeStream is like Decode but reads from an io.Reader instead.
protocol/codec.go:216
↓ 24 callers
Method
GetByIdx
GetByIdx returns address and AccountData It does NOT check boundaries.
ledger/ledgercore/statedelta.go:490
↓ 24 callers
Method
Handle
(message IncomingMessage)
network/gossipNode.go:218
↓ 24 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
↓ 24 callers
Method
LookupLatest
(addr basics.Address)
daemon/algod/api/server/v2/handlers.go:124
↓ 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:595
↓ 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
SetAppParams
SetAppParams setter for app params.
ledger/store/trackerdb/data.go:749
↓ 24 callers
Method
ToDS
ToDS converts KeyDigest to DS
tools/network/dnssec/anchor.go:63
↓ 24 callers
Method
Wait
(r basics.Round)
daemon/algod/api/server/v2/handlers.go:138
↓ 24 callers
Method
Warnf
(format string, args ...interface{})
config/localTemplate.go:893
↓ 24 callers
Method
WriteMetric
WriteMetric adds metrics in Prometheus exposition format to buf, including parentLabels tags if provided.
util/metrics/registryCommon.go:29
↓ 24 callers
Function
costly
(cost int)
data/transactions/logic/opcodes.go:235
↓ 24 callers
Function
ensureWalletHandleMaybePassword
(dataDir string, walletName string, getPassword bool)
cmd/goal/commands.go:333
↓ 24 callers
Function
generateAccounts
generateAccounts reduces boilerplate in these tests.
data/pools/transactionPool_test.go:157
↓ 24 callers
Method
put
put adds digest d into a cache. locking semantic: write lock must be taken
data/txDupCache.go:71
↓ 24 callers
Function
randString
()
crypto/crypto_test.go:34
↓ 24 callers
Method
repairAll
()
agreement/service_test.go:375
↓ 24 callers
Function
secp256k1_fe_normalize
crypto/secp256k1/libsecp256k1/src/field_5x52_impl.h:54
↓ 24 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:172
↓ 23 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:510
↓ 23 callers
Method
CurrentProtocolParams
CurrentProtocolParams returns the consensus parameters that the network is currently using
ledger/simulation/testing/utils.go:60
↓ 23 callers
Method
DecompressVote
DecompressVote decodes a compressed vote in src and appends it to dst. To re-use dst, run like: dst = dec.DecompressVote(dst[:0], src)
network/vpack/vpack.go:233
↓ 23 callers
Method
Deregister
Deregister deregisters the gauge with the default/specific registry
util/metrics/gauge.go:58
↓ 23 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:2160
↓ 23 callers
Function
HashRep
HashRep appends the correct hashid before the message to be hashed.
crypto/util.go:38
↓ 23 callers
Method
Key
()
ledger/store/trackerdb/generickv/accounts_reader.go:40
↓ 23 callers
Method
Listen
Listen is called when network starts listening on an addr
network/p2p/streams.go:279
↓ 23 callers
Function
MakeGenesisBalances
MakeGenesisBalances returns the information needed to bootstrap the ledger based on the current time
data/bookkeeping/genesis.go:208
↓ 23 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
ledger/encoded/msgp_gen.go:477
↓ 23 callers
Method
MergeAccounts
MergeAccounts applies other accounts into this StateDelta accounts
ledger/ledgercore/statedelta.go:445
↓ 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:235
↓ 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:513
↓ 23 callers
Method
UnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
ledger/ledgercore/msgp_gen.go:731
↓ 23 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:440
↓ 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:498
↓ 23 callers
Function
generateTestSigner
(firstValid, lastValid, keyLifetime uint64, a *require.Assertions)
crypto/merklesignature/merkleSignatureScheme_test.go:527
↓ 23 callers
Function
getRegistry
(t testing.TB)
data/account/participationRegistry_test.go:50
↓ 23 callers
Method
getSetCount
()
network/wsNetwork_test.go:1370
↓ 23 callers
Method
hasPeers
()
network/p2pNetwork_test.go:55
↓ 23 callers
Method
inc
(sum uint, state map[coserviceType]uint)
agreement/coservice.go:48
↓ 23 callers
Function
makeMockLedger
(t TestingT, initAccounts map[basics.Address]basics.AccountData)
data/pools/transactionPool_test.go:111
↓ 23 callers
Function
registerTest
registerTest registers the given test with the suite
ledger/store/trackerdb/testsuite/utils_test.go:63
↓ 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
← previous
next →
501–600 of 18,629, ranked by callers