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
↓ 4,508 callers
Method
Equal
Equal compares two MultisigSig structs for equality
crypto/multisig.go:370
↓ 2,887 callers
Function
PartitionTest
PartitionTest checks if the current partition should run this test, and skips it if not.
test/partitiontest/filtering.go:28
↓ 1,939 callers
Method
Errorf
(string, ...interface{})
logging/log.go:117
↓ 1,064 callers
Method
String
String returns a string description of an event.
agreement/events.go:36
↓ 915 callers
Method
Errorf
(format string, args ...interface{})
data/pools/transactionPool_test.go:66
↓ 796 callers
Method
Equal
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 callers
Method
Error
Error logs a message at level Error.
logging/log.go:115
↓ 712 callers
Method
Join
(topic string)
network/p2p/p2p_test.go:309
↓ 657 callers
Method
Run
(string, func(T))
crypto/batchverifier_test.go:33
↓ 643 callers
Method
Printf
Printf tunnel the log string into the log file.
logging/telemetryhook.go:219
↓ 614 callers
Method
Fatal
Fatal logs a message at level Fatal.
logging/log.go:120
↓ 573 callers
Method
Add
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 callers
Method
Contains
Contains checks the membership of an element in the set.
util/set.go:44
↓ 505 callers
Function
testProg
(t testing.TB, source string, ver uint64, expected ...expect)
data/transactions/logic/assembler_test.go:671
↓ 434 callers
Method
Equal
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 callers
Method
SetBytes
([]byte)
daemon/algod/api/client/restClient.go:159
↓ 402 callers
Function
Base
Base returns the default Logger logging to
logging/log.go:363
↓ 396 callers
Function
GetDefaultLocal
GetDefaultLocal returns a copy of the current defaultLocal config
config/config.go:135
↓ 381 callers
Function
reportErrorf
(format string, args ...interface{})
cmd/goal/commands.go:494
↓ 359 callers
Method
UnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
agreement/msgp_gen.go:8653
↓ 358 callers
Method
ID
()
network/p2p/p2p.go:65
↓ 343 callers
Function
RandBytes
RandBytes fills the provided structure with a set of random bytes
crypto/rand.go:63
↓ 339 callers
Function
testAccepts
(t *testing.T, program string, introduced uint64)
data/transactions/logic/eval_test.go:4687
↓ 309 callers
Method
Name
()
data/pools/transactionPool_test.go:68
↓ 294 callers
Function
RandUint64
RandUint64 returns a random 64-bit unsigned integer
crypto/rand.go:47
↓ 292 callers
Function
exp
(l int, s string, extra ...int)
data/transactions/logic/assembler_test.go:625
↓ 289 callers
Method
Skip
(args ...interface{})
test/framework/fixtures/fixture.go:41
↓ 280 callers
Method
MsgIsZero
MsgIsZero returns whether this is a zero value
agreement/msgp_gen.go:8687
↓ 275 callers
Method
Empty
Empty returns true if the set is empty.
util/set.go:39
↓ 272 callers
Method
Close
cleanup
ledger/store/trackerdb/store.go:54
↓ 271 callers
Function
testApp
(t *testing.T, program string, ep *EvalParams, problems ...string)
data/transactions/logic/evalStateful_test.go:575
↓ 267 callers
Method
Close
()
network/p2p/p2p.go:64
↓ 265 callers
Function
Encode
Encode returns a msgpack-encoded byte buffer for a given object.
protocol/codec.go:129
↓ 257 callers
Method
txn
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 callers
Method
Zero
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 callers
Method
Address
()
rpcs/txSyncer.go:41
↓ 241 callers
Method
Sign
(message crypto.Hashable)
network/netidentity.go:100
↓ 237 callers
Method
UnmarshalMsgWithState
(bts []byte, st msgp.UnmarshalState)
data/transactions/msgp_gen.go:8472
↓ 235 callers
Method
Errorf
(format string, args ...interface{})
test/framework/fixtures/fixture.go:31
↓ 234 callers
Method
Round
()
agreement/abstractions.go:94
↓ 230 callers
Function
TestingLog
TestingLog is a test-only convenience function to configure logging for testing
logging/testingLogger.go:57
↓ 227 callers
Method
Warnf
(string, ...interface{})
logging/log.go:112
↓ 223 callers
Method
Error
(args ...interface{})
test/framework/fixtures/fixture.go:30
↓ 222 callers
Method
MsgIsZero
MsgIsZero returns whether this is a zero value
data/transactions/msgp_gen.go:8486
↓ 216 callers
Function
proto
(signature string, effects ...string)
data/transactions/logic/opcodes.go:431
↓ 215 callers
Method
Set
(key, value []byte)
ledger/store/trackerdb/generickv/accounts_writer.go:29
↓ 211 callers
Function
sodium_free
crypto/libsodium-fork/src/libsodium/sodium/utils.c:629
↓ 209 callers
Function
sodium_malloc
crypto/libsodium-fork/src/libsodium/sodium/utils.c:605
↓ 208 callers
Method
get
(name string)
data/transactions/logic/fields.go:40
↓ 207 callers
Method
Logf
(format string, args ...interface{})
test/framework/fixtures/fixture.go:39
↓ 204 callers
Method
Infof
(string, ...interface{})
logging/log.go:107
↓ 201 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
agreement/msgp_gen.go:8681
↓ 200 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
agreement/msgp_gen.go:8638
↓ 199 callers
Function
Hash
Hash computes the SHASum512_256 hash of an array of bytes
crypto/util.go:92
↓ 194 callers
Function
Decode
Decode attempts to decode a msgpack-encoded byte buffer into an object instance pointed to by objptr.
protocol/codec.go:203
↓ 192 callers
Method
Load
()
cmd/tealdbg/util.go:66
↓ 188 callers
Function
SynchronizedTest
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 callers
Function
makeAddress
(seed int)
ledger/eval/prefetcher/prefetcher_test.go:45
↓ 185 callers
Function
RunEncodingTest
RunEncodingTest runs several iterations of encoding/decoding consistency testing of object type specified by template.
protocol/codec_tester.go:564
↓ 183 callers
Method
Start
()
network/p2p/p2p.go:63
↓ 178 callers
Function
Group
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 callers
Method
Log
(args ...interface{})
test/framework/fixtures/fixture.go:38
↓ 175 callers
Method
write
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 callers
Method
t
t returns the eventType associated with the event.
agreement/events.go:33
↓ 171 callers
Method
u
()
agreement/vote.go:203
↓ 170 callers
Method
Block
(basics.Round)
ledger/tracker.go:164
↓ 164 callers
Function
ShutdownSynchronizedTest
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 callers
Method
Atomic
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 callers
Function
print
crypto/libsodium-fork/test/default/core6.c:20
↓ 159 callers
Function
AssembleString
AssembleString takes an entire program in a string and assembles it to bytecode using AssemblerDefaultVersion
data/transactions/logic/assembler.go:2741
↓ 158 callers
Method
Wait
(basics.Round)
stateproof/abstractions.go:41
↓ 156 callers
Method
Len
Len implements sort.Interface
ledger/onlinetopheap.go:31
↓ 155 callers
Method
Latest
()
ledger/tracker.go:163
↓ 155 callers
Function
sodium_memzero
crypto/libsodium-fork/src/libsodium/sodium/utils.c:102
↓ 152 callers
Function
UnmarshalChecksumAddress
UnmarshalChecksumAddress tries to unmarshal the checksummed address string. Algorand strings addresses ( base32 encoded ) have a postamble which serve
data/basics/address.go:54
↓ 147 callers
Method
Stop
Close sockets. Stop threads.
network/gossipNode.go:102
↓ 144 callers
Method
Inc
Inc increases counter by 1 Much faster if labels is nil or empty.
util/metrics/counter.go:74
↓ 144 callers
Function
muladd
crypto/libsodium-fork/src/libsodium/crypto_pwhash/argon2/blamka-round-avx512f.h:9
↓ 143 callers
Method
append
(line string)
logging/logBuffer.go:41
↓ 142 callers
Method
MakeVerifiedVote
(t *testing.T, index int, r round, p period, s step, value proposalValue)
agreement/common_test.go:566
↓ 142 callers
Method
threshold
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 callers
Method
Get
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 callers
Function
MakeCounter
MakeCounter create a new counter with the provided name and description.
util/metrics/counter.go:30
↓ 139 callers
Method
NewApp
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 callers
Method
NewTxn
NewTxn sets network-specific values to the given transaction
ledger/simulation/testing/utils.go:65
↓ 136 callers
Method
Exec
(query string, args ...interface{})
util/db/interfaces.go:44
↓ 135 callers
Method
GetUnencryptedWalletHandle
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 callers
Method
Debugf
(string, ...interface{})
logging/log.go:102
↓ 132 callers
Method
Remove
Remove removes e from l if e is an element of list l. The element must not be nil.
util/list.go:94
↓ 132 callers
Function
testPanics
(t *testing.T, program string, introduced uint64, pattern ...string)
data/transactions/logic/eval_test.go:4700
↓ 131 callers
Method
Write
([]byte)
data/transactions/logic/assembler.go:48
↓ 131 callers
Method
transition
#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 callers
Method
Bytes
Bytes returns the underlying byte slice
protocol/codec.go:305
↓ 128 callers
Method
fullBlock
(txs ...*txntest.Txn)
ledger/double_test.go:140
↓ 125 callers
Method
MsgIsZero
MsgIsZero returns whether this is a zero value
data/bookkeeping/msgp_gen.go:1239
↓ 123 callers
Method
Status
()
cmd/algoh/client.go:28
↓ 121 callers
Method
Close
()
ledger/store/trackerdb/generickv/accounts_reader.go:45
↓ 121 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
data/transactions/msgp_gen.go:8460
↓ 121 callers
Method
Store
(other int)
cmd/tealdbg/util.go:62
↓ 120 callers
Method
Msgsize
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