MCPcopy Create free account

hub / github.com/algorand/go-algorand / functions

Functions18,629 in github.com/algorand/go-algorand

↓ 4,508 callersMethodEqual
Equal compares two MultisigSig structs for equality
crypto/multisig.go:370
↓ 2,887 callersFunctionPartitionTest
PartitionTest checks if the current partition should run this test, and skips it if not.
test/partitiontest/filtering.go:28
↓ 1,939 callersMethodErrorf
(string, ...interface{})
logging/log.go:117
↓ 1,064 callersMethodString
String returns a string description of an event.
agreement/events.go:36
↓ 915 callersMethodErrorf
(format string, args ...interface{})
data/pools/transactionPool_test.go:66
↓ 796 callersMethodEqual
Equal checks whether two StateDeltas are equal. We don't check for nilness equality because an empty map will encode/decode as nil. So if our generate
data/basics/teal.go:78
↓ 783 callersMethodError
Error logs a message at level Error.
logging/log.go:115
↓ 712 callersMethodJoin
(topic string)
network/p2p/p2p_test.go:309
↓ 657 callersMethodRun
(string, func(T))
crypto/batchverifier_test.go:33
↓ 643 callersMethodPrintf
Printf tunnel the log string into the log file.
logging/telemetryhook.go:219
↓ 614 callersMethodFatal
Fatal logs a message at level Fatal.
logging/log.go:120
↓ 573 callersMethodAdd
Add adds a given transaction group and its associated group context to the cache. If any of the transactions already appear in the cache, the new entr
data/transactions/verify/verifiedTxnCache.go:59
↓ 528 callersMethodContains
Contains checks the membership of an element in the set.
util/set.go:44
↓ 505 callersFunctiontestProg
(t testing.TB, source string, ver uint64, expected ...expect)
data/transactions/logic/assembler_test.go:671
↓ 434 callersMethodEqual
Equal compares two group contexts to see if they would represent the same verification context for a given transaction.
data/transactions/verify/txn.go:157
↓ 409 callersMethodSetBytes
([]byte)
daemon/algod/api/client/restClient.go:159
↓ 402 callersFunctionBase
Base returns the default Logger logging to
logging/log.go:363
↓ 396 callersFunctionGetDefaultLocal
GetDefaultLocal returns a copy of the current defaultLocal config
config/config.go:135
↓ 381 callersFunctionreportErrorf
(format string, args ...interface{})
cmd/goal/commands.go:494
↓ 359 callersMethodUnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
agreement/msgp_gen.go:8653
↓ 358 callersMethodID
()
network/p2p/p2p.go:65
↓ 343 callersFunctionRandBytes
RandBytes fills the provided structure with a set of random bytes
crypto/rand.go:63
↓ 339 callersFunctiontestAccepts
(t *testing.T, program string, introduced uint64)
data/transactions/logic/eval_test.go:4687
↓ 309 callersMethodName
()
data/pools/transactionPool_test.go:68
↓ 294 callersFunctionRandUint64
RandUint64 returns a random 64-bit unsigned integer
crypto/rand.go:47
↓ 292 callersFunctionexp
(l int, s string, extra ...int)
data/transactions/logic/assembler_test.go:625
↓ 289 callersMethodSkip
(args ...interface{})
test/framework/fixtures/fixture.go:41
↓ 280 callersMethodMsgIsZero
MsgIsZero returns whether this is a zero value
agreement/msgp_gen.go:8687
↓ 275 callersMethodEmpty
Empty returns true if the set is empty.
util/set.go:39
↓ 272 callersMethodClose
cleanup
ledger/store/trackerdb/store.go:54
↓ 271 callersFunctiontestApp
(t *testing.T, program string, ep *EvalParams, problems ...string)
data/transactions/logic/evalStateful_test.go:575
↓ 267 callersMethodClose
()
network/p2p/p2p.go:64
↓ 265 callersFunctionEncode
Encode returns a msgpack-encoded byte buffer for a given object.
protocol/codec.go:129
↓ 257 callersMethodtxn
txn will add a transaction to the current block. If no block is currently being built, it will start one, and end it after the transaction is added. I
ledger/double_test.go:80
↓ 247 callersMethodZero
Zero returns a reset Clock. TimeoutAt channels will use the point at which Zero was called as their reference point.
util/timers/interface.go:28
↓ 241 callersMethodAddress
()
rpcs/txSyncer.go:41
↓ 241 callersMethodSign
(message crypto.Hashable)
network/netidentity.go:100
↓ 237 callersMethodUnmarshalMsgWithState
(bts []byte, st msgp.UnmarshalState)
data/transactions/msgp_gen.go:8472
↓ 235 callersMethodErrorf
(format string, args ...interface{})
test/framework/fixtures/fixture.go:31
↓ 234 callersMethodRound
()
agreement/abstractions.go:94
↓ 230 callersFunctionTestingLog
TestingLog is a test-only convenience function to configure logging for testing
logging/testingLogger.go:57
↓ 227 callersMethodWarnf
(string, ...interface{})
logging/log.go:112
↓ 223 callersMethodError
(args ...interface{})
test/framework/fixtures/fixture.go:30
↓ 222 callersMethodMsgIsZero
MsgIsZero returns whether this is a zero value
data/transactions/msgp_gen.go:8486
↓ 216 callersFunctionproto
(signature string, effects ...string)
data/transactions/logic/opcodes.go:431
↓ 215 callersMethodSet
(key, value []byte)
ledger/store/trackerdb/generickv/accounts_writer.go:29
↓ 211 callersFunctionsodium_free
crypto/libsodium-fork/src/libsodium/sodium/utils.c:629
↓ 209 callersFunctionsodium_malloc
crypto/libsodium-fork/src/libsodium/sodium/utils.c:605
↓ 208 callersMethodget
(name string)
data/transactions/logic/fields.go:40
↓ 207 callersMethodLogf
(format string, args ...interface{})
test/framework/fixtures/fixture.go:39
↓ 204 callersMethodInfof
(string, ...interface{})
logging/log.go:107
↓ 201 callersMethodMsgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
agreement/msgp_gen.go:8681
↓ 200 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
agreement/msgp_gen.go:8638
↓ 199 callersFunctionHash
Hash computes the SHASum512_256 hash of an array of bytes
crypto/util.go:92
↓ 194 callersFunctionDecode
Decode attempts to decode a msgpack-encoded byte buffer into an object instance pointed to by objptr.
protocol/codec.go:203
↓ 192 callersMethodLoad
()
cmd/tealdbg/util.go:66
↓ 188 callersFunctionSynchronizedTest
SynchronizedTest generates a testing.TB compatible test for a given testing.TB interface. calling SynchronizedTest with the same tb would return the e
test/framework/fixtures/fixture.go:73
↓ 187 callersFunctionmakeAddress
(seed int)
ledger/eval/prefetcher/prefetcher_test.go:45
↓ 185 callersFunctionRunEncodingTest
RunEncodingTest runs several iterations of encoding/decoding consistency testing of object type specified by template.
protocol/codec_tester.go:564
↓ 183 callersMethodStart
()
network/p2p/p2p.go:63
↓ 178 callersFunctionGroup
Group turns a list of Txns into a slice of SignedTxns with GroupIDs set properly to make them a transaction group. The input Txns are modified with th
data/txntest/txn.go:354
↓ 175 callersMethodLog
(args ...interface{})
test/framework/fixtures/fixture.go:38
↓ 175 callersMethodwrite
write a single persistedKVData to the lruKV cache. when writing the entry, the round number would be used to determine if it's a newer version of what
ledger/lrukv.go:110
↓ 171 callersMethodt
t returns the eventType associated with the event.
agreement/events.go:33
↓ 171 callersMethodu
()
agreement/vote.go:203
↓ 170 callersMethodBlock
(basics.Round)
ledger/tracker.go:164
↓ 164 callersFunctionShutdownSynchronizedTest
ShutdownSynchronizedTest should be called within each test using synchTest. It ensures the base test will no longer get t.finished modified and cause
test/framework/fixtures/fixture.go:98
↓ 163 callersMethodAtomic
Atomic executes a piece of code with respect to the database atomically. For transactions where readOnly is false, sync determines whether or not to w
util/db/dbutil.go:226
↓ 160 callersFunctionprint
crypto/libsodium-fork/test/default/core6.c:20
↓ 159 callersFunctionAssembleString
AssembleString takes an entire program in a string and assembles it to bytecode using AssemblerDefaultVersion
data/transactions/logic/assembler.go:2741
↓ 158 callersMethodWait
(basics.Round)
stateproof/abstractions.go:41
↓ 156 callersMethodLen
Len implements sort.Interface
ledger/onlinetopheap.go:31
↓ 155 callersMethodLatest
()
ledger/tracker.go:163
↓ 155 callersFunctionsodium_memzero
crypto/libsodium-fork/src/libsodium/sodium/utils.c:102
↓ 152 callersFunctionUnmarshalChecksumAddress
UnmarshalChecksumAddress tries to unmarshal the checksummed address string. Algorand strings addresses ( base32 encoded ) have a postamble which serve
data/basics/address.go:54
↓ 147 callersMethodStop
Close sockets. Stop threads.
network/gossipNode.go:102
↓ 144 callersMethodInc
Inc increases counter by 1 Much faster if labels is nil or empty.
util/metrics/counter.go:74
↓ 144 callersFunctionmuladd
crypto/libsodium-fork/src/libsodium/crypto_pwhash/argon2/blamka-round-avx512f.h:9
↓ 143 callersMethodappend
(line string)
logging/logBuffer.go:41
↓ 142 callersMethodMakeVerifiedVote
(t *testing.T, index int, r round, p period, s step, value proposalValue)
agreement/common_test.go:566
↓ 142 callersMethodthreshold
threshold returns the threshold necessary for the given step. Do not compare values to the output of this function directly; instead, use s.reachesQuo
agreement/types.go:145
↓ 140 callersMethodGet
Get looks up the account data for an address, ignoring application and asset data If the account is known to be empty, then err should be nil and the
ledger/apply/apply.go:49
↓ 140 callersFunctionMakeCounter
MakeCounter create a new counter with the provided name and description.
util/metrics/counter.go:30
↓ 139 callersMethodNewApp
NewApp add a new AVM app to the Ledger. In most uses, it only sets up the id and schema but no code, as testing will want to try many different code
data/transactions/logic/ledger_test.go:130
↓ 138 callersMethodNewTxn
NewTxn sets network-specific values to the given transaction
ledger/simulation/testing/utils.go:65
↓ 136 callersMethodExec
(query string, args ...interface{})
util/db/interfaces.go:44
↓ 135 callersMethodGetUnencryptedWalletHandle
GetUnencryptedWalletHandle returns the unencrypted wallet handle. If there is no unencrypted wallet, it creates one first. This should never be used o
libgoal/unencryptedWallet.go:45
↓ 132 callersMethodDebugf
(string, ...interface{})
logging/log.go:102
↓ 132 callersMethodRemove
Remove removes e from l if e is an element of list l. The element must not be nil.
util/list.go:94
↓ 132 callersFunctiontestPanics
(t *testing.T, program string, introduced uint64, pattern ...string)
data/transactions/logic/eval_test.go:4700
↓ 131 callersMethodWrite
([]byte)
data/transactions/logic/assembler.go:48
↓ 131 callersMethodtransition
#todo eventually, post refactor, these methods should be equivalent to the listener interface. However, listener currently requires router and player,
agreement/state_machine_test.go:276
↓ 128 callersMethodBytes
Bytes returns the underlying byte slice
protocol/codec.go:305
↓ 128 callersMethodfullBlock
(txs ...*txntest.Txn)
ledger/double_test.go:140
↓ 125 callersMethodMsgIsZero
MsgIsZero returns whether this is a zero value
data/bookkeeping/msgp_gen.go:1239
↓ 123 callersMethodStatus
()
cmd/algoh/client.go:28
↓ 121 callersMethodClose
()
ledger/store/trackerdb/generickv/accounts_reader.go:45
↓ 121 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
data/transactions/msgp_gen.go:8460
↓ 121 callersMethodStore
(other int)
cmd/tealdbg/util.go:62
↓ 120 callersMethodMsgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
data/transactions/msgp_gen.go:8481
next →1–100 of 18,629, ranked by callers