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
↓ 33 callers
Method
Size
()
network/p2p/capabilities.go:197
↓ 33 callers
Function
checkListPointers
(t *testing.T, l *List[T], es []*ListNode[T])
util/list_test.go:50
↓ 33 callers
Function
run_benchmark
crypto/secp256k1/libsecp256k1/src/bench.h:33
↓ 33 callers
Function
secp256k1_ecdsa_verify
crypto/secp256k1/libsecp256k1/src/secp256k1.c:291
↓ 33 callers
Method
update
(state player, r round, gc bool)
agreement/router.go:144
↓ 33 callers
Method
verify
(t *testing.T, expectedVotes, expectedProposals, expectedBundles uint32)
agreement/gossip/network_test.go:262
↓ 32 callers
Method
FullStop
FullStop stops the clients including graceful shutdown to algod and kmd
libgoal/libgoal.go:281
↓ 32 callers
Method
Prepare
Prepare should be used for making pre-benchmark ledger initialization like accounts funding, assets or apps creation
ledger/evalbench_test.go:60
↓ 32 callers
Method
fundedApp
(sender basics.Address, amount uint64, source string)
ledger/double_test.go:181
↓ 32 callers
Method
get
get performs a GET request to the specific path against the server
daemon/algod/api/client/restClient.go:258
↓ 32 callers
Method
len
()
ledger/acctdeltas.go:504
↓ 32 callers
Function
makeVote
makeVote creates a new unauthenticated vote from its constituent components. makeVote returns an error if it fails.
agreement/vote.go:158
↓ 32 callers
Function
uint64ToBytes
(num uint64)
ledger/simulation/simulation_eval_test.go:46
↓ 32 callers
Method
waitForQuiet
()
agreement/service_test.go:569
↓ 31 callers
Method
AddValue
AddValue adds a map, array, or slice value segment to a TypePath. The modification is done using append, so this action may mutate the input TypePath.
test/reflectionhelpers/helpers.go:82
↓ 31 callers
Function
DecodeReflect
DecodeReflect attempts to decode a msgpack-encoded byte buffer into an object instance pointed to by objptr, using reflection.
protocol/codec.go:170
↓ 31 callers
Method
GetUint64Value
GetUint64Value returns the value of the counter.
util/metrics/counter.go:99
↓ 31 callers
Method
LookupKeysByPrefixCursor
LookupKeysByPrefixCursor returns a page of key-value pairs matching prefix, starting after cursor. Keys present in exclude are skipped. Only key membe
ledger/store/trackerdb/interface.go:116
↓ 31 callers
Method
Proposer
Proposer returns the Block's proposer.
data/bookkeeping/block.go:381
↓ 31 callers
Method
SaveToDisk
SaveToDisk writes the non-default Local settings into a root/ConfigFilename file
config/localTemplate.go:708
↓ 31 callers
Method
Snapshot
snapshot support
ledger/store/trackerdb/store.go:40
↓ 31 callers
Method
Start
Start threads, listen on sockets.
network/p2pNetwork.go:429
↓ 31 callers
Method
UpdateEventsQueue
(queueName string, queueLength int)
agreement/demux.go:102
↓ 31 callers
Method
appendUnvalidated
(blk bookkeeping.Block)
ledger/ledger_test.go:72
↓ 31 callers
Function
immediates
(names ...string)
data/transactions/logic/opcodes.go:260
↓ 31 callers
Function
reportErrorf
(format string, args ...interface{})
cmd/catchpointdump/commands.go:134
↓ 31 callers
Function
strcmp
crypto/libsodium-fork/test/quirks/quirks.h:27
↓ 31 callers
Method
waitForActivity
()
agreement/service_test.go:565
↓ 30 callers
Method
AddMicrosecondsSince
AddMicrosecondsSince increases counter by microseconds between Time t and now. Fastest if labels is nil
util/metrics/counter.go:94
↓ 30 callers
Function
AfterProgram
AfterProgram creates a new Event with the type AfterProgramEvent
data/transactions/logic/mocktracer/tracer.go:131
↓ 30 callers
Function
BeforeProgram
BeforeProgram creates a new Event with the type BeforeProgramEvent
data/transactions/logic/mocktracer/tracer.go:104
↓ 30 callers
Function
Build
Build constructs a Merkle tree given an array. The tree can be used to generate proofs of membership on element. If a proof of position is require, a
crypto/merklearray/merkle.go:130
↓ 30 callers
Method
Failed
()
test/framework/fixtures/fixture.go:34
↓ 30 callers
Method
Get
Get a participation record.
data/account/participationRegistry.go:248
↓ 30 callers
Method
IsEmptyAppFields
IsEmptyAppFields returns true if the app fields are empty.
ledger/store/trackerdb/data.go:547
↓ 30 callers
Method
MakeUnsignedAssetSendTx
MakeUnsignedAssetSendTx creates a tx template for sending assets. To allocate a slot for a particular asset, send a zero amount to self. Call FillUns
libgoal/transactions.go:900
↓ 30 callers
Method
MakeValidVoteAcceptedVal
make a vote for specified proposal value
agreement/common_test.go:589
↓ 30 callers
Method
NewHash
NewHash generates a new hash.Hash to use.
crypto/hashes.go:109
↓ 30 callers
Method
PendingTxGroups
()
rpcs/txSyncer.go:35
↓ 30 callers
Method
RegisterHandlers
RegisterHandlers exposes global websocket handler registration
rpcs/registrar.go:32
↓ 30 callers
Method
Start
Start can be called to start the fixture's network if SetupNoStart() was used.
test/framework/fixtures/restClientFixture.go:63
↓ 30 callers
Method
WellFormed
WellFormed checks that the transaction looks reasonable on its own (but not necessarily valid against the actual ledger). It does not check signatures
data/transactions/transaction.go:342
↓ 30 callers
Method
avmType
()
data/transactions/logic/eval.go:84
↓ 30 callers
Method
lookupOnlineAccountData
lookupOnlineAccountData returns the online account data for a given address at a given round.
ledger/acctonline.go:657
↓ 30 callers
Function
sodium_is_zero
crypto/libsodium-fork/src/libsodium/sodium/utils.c:230
↓ 29 callers
Function
EvalSignature
EvalSignature evaluates the logicsig of the ith transaction in params. A program passes successfully if it finishes with one int element on the stack
data/transactions/logic/eval.go:1256
↓ 29 callers
Method
LookupAccount
(addr basics.Address)
ledger/store/trackerdb/interface.go:103
↓ 29 callers
Function
OpcodeEvents
OpcodeEvents returns a slice of events that represent calling `count` opcodes
data/transactions/logic/mocktracer/tracer.go:151
↓ 29 callers
Method
Quit
Quit directs the pseudonode to exit.
agreement/pseudonode.go:71
↓ 29 callers
Method
Setup
()
agreement/common_test.go:523
↓ 29 callers
Method
String
()
agreement/actions.go:68
↓ 29 callers
Function
checkSetMax
(value int, curMax *int)
config/consensus.go:721
↓ 29 callers
Function
peerAddress
peerAddress returns the peer's underlying address. The network.Peer object cannot be compared to itself, since the network package dynamically creatin
catchup/peerSelector.go:446
↓ 29 callers
Method
pop
pop takes a proposal from the proposalTable.
agreement/proposalTable.go:39
↓ 29 callers
Function
runRound
(t *testing.T, clocks []timers.Clock[TimeoutType], activityMonitor *activityMonitor, zeroes uint, filterTimeou
agreement/service_test.go:861
↓ 29 callers
Function
secp256k1_scalar_eq
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:110
↓ 29 callers
Function
testLogic
(t *testing.T, program string, v uint64, ep *EvalParams, problems ...string)
data/transactions/logic/eval_test.go:2215
↓ 28 callers
Method
BlockHdr
(rnd basics.Round)
ledger/eval/cow.go:63
↓ 28 callers
Function
FileExists
FileExists checks to see if the specified file (or directory) exists
util/io.go:120
↓ 28 callers
Method
GetCreator
GetCreator gets the address of the account that created a given creatable
ledger/apply/apply.go:83
↓ 28 callers
Function
MakeValidatedBlock
MakeValidatedBlock creates a validated block.
ledger/ledgercore/validatedBlock.go:44
↓ 28 callers
Method
Name
()
test/framework/fixtures/fixture.go:40
↓ 28 callers
Method
PaysetCommit
PaysetCommit computes the commitment to the payset, using the appropriate commitment plan based on the block's protocol.
data/bookkeeping/block.go:698
↓ 28 callers
Method
Query
(query string, args ...interface{})
util/db/interfaces.go:35
↓ 28 callers
Method
SendMessage
(sourceNode, targetNode int, tag protocol.Tag, data []byte)
agreement/fuzzer/filter_test.go:25
↓ 28 callers
Method
SetAssetParams
SetAssetParams setter for asset params.
ledger/store/trackerdb/data.go:618
↓ 28 callers
Method
SetTestContext
SetTestContext should be called within each test using a shared fixture. It ensures the current test context is set and then reset after the test ends
test/framework/fixtures/libgoalFixture.go:331
↓ 28 callers
Method
Setup
Setup validates input params and resolves inputs into canonical balance record structures. Programs for execution are discovered in the following way:
cmd/tealdbg/local.go:302
↓ 28 callers
Method
Start
()
daemon/algod/server.go:62
↓ 28 callers
Function
U8TO32_LE
crypto/libsodium-fork/src/libsodium/include/sodium/private/ed25519_ref10_sc_25_5.h:22
↓ 28 callers
Method
UnfinishedBlock
UnfinishedBlock returns the underlying Block. It should only be used for statistics and testing purposes, as the block is not yet finished and ready f
ledger/ledgercore/validatedBlock.go:70
↓ 28 callers
Method
abort
abort aborts the current catchpoint catchup process, reverting to node to standard operation.
catchup/catchpointService.go:731
↓ 28 callers
Function
genesisHash
()
ledger/eval/prefetcher/prefetcher_alignment_test.go:52
↓ 28 callers
Function
registryCloseTest
(t testing.TB, registry *participationDB, dbfilePrefix string)
data/account/participationRegistry_test.go:128
↓ 28 callers
Function
secp256k1_ecdsa_sign
crypto/secp256k1/libsecp256k1/src/secp256k1.c:343
↓ 28 callers
Function
secp256k1_scalar_get_num
crypto/secp256k1/libsecp256k1/src/scalar_impl.h:28
↓ 28 callers
Method
source
()
logging/log.go:330
↓ 28 callers
Method
wellFormed
wellFormed performs some stateless checks on the KeyReg transaction
data/transactions/keyreg.go:56
↓ 27 callers
Function
MakeAsyncVoteVerifier
MakeAsyncVoteVerifier creates an AsyncVoteVerifier with workers as the number of CPUs
agreement/asyncVoteVerifier.go:63
↓ 27 callers
Function
Muldiv
Muldiv computes a*b/c. The overflow flag indicates that the result was 2^64 or greater. `c` is not generic, because most call sites use a constant. M
data/basics/overflow.go:173
↓ 27 callers
Method
NewLocal
NewLocal sets a local value of an app on an address
data/transactions/logic/ledger_test.go:213
↓ 27 callers
Function
OneTimeIDForRound
OneTimeIDForRound maps a round to the identifier for which ephemeral key should be used for that round. keyDilution specifies the number of keys in t
data/basics/units.go:175
↓ 27 callers
Function
SubSaturate
SubSaturate subtracts 2 values with saturation on underflow
data/basics/overflow.go:95
↓ 27 callers
Method
Txn
Txn generates a single transaction
ledger/evalbench_test.go:62
↓ 27 callers
Method
assertEquals
( int val, int val2, String message )
crypto/secp256k1/libsecp256k1/src/java/org/bitcoin/NativeSecp256k1Util.java:21
↓ 27 callers
Function
boolToSV
(x bool)
data/transactions/logic/eval.go:1482
↓ 27 callers
Method
getAddressByName
getAddressByName returns an account name given its address. If it doesn't exist, it returns the name itself
cmd/goal/accountsList.go:165
↓ 27 callers
Method
isFull
isFull checks if the circular buffer has been fully populated at least once.
agreement/credentialArrivalHistory.go:62
↓ 27 callers
Function
makeTestParticipation
(a *require.Assertions, addrID int, first, last basics.Round, dilution uint64)
data/account/participationRegistry_test.go:88
↓ 27 callers
Function
sc25519_sqmul
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:2260
↓ 27 callers
Function
secp256k1_scalar_negate
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:67
↓ 27 callers
Method
waitAccountsWriting
waitAccountsWriting waits for all the pending ( or current ) account writing to be completed.
ledger/tracker.go:490
↓ 26 callers
Function
AfterTxn
AfterTxn creates a new Event with the type AfterTxnEvent
data/transactions/logic/mocktracer/tracer.go:114
↓ 26 callers
Function
BeforeTxn
BeforeTxn creates a new Event with the type BeforeTxnEvent
data/transactions/logic/mocktracer/tracer.go:109
↓ 26 callers
Method
CompressVote
CompressVote compresses a vote in src and writes it to dst. If the provided buffer dst is nil or too small, a new slice is allocated. The returned sli
network/vpack/vpack.go:105
↓ 26 callers
Method
Conn
()
network/p2p/streams_stale_test.go:214
↓ 26 callers
Method
EncodeSignedTxn
EncodeSignedTxn converts a SignedTxn and ApplyData into a SignedTxnInBlock for that block.
data/bookkeeping/block.go:1002
↓ 26 callers
Method
GenerateBlock
(addrs []basics.Address)
data/pools/transactionPool.go:113
↓ 26 callers
Method
IsEmptyAssetFields
IsEmptyAssetFields returns true if the asset fields are empty.
ledger/store/trackerdb/data.go:572
↓ 26 callers
Method
Latest
()
daemon/algod/api/server/v2/handlers.go:129
← previous
next →
401–500 of 18,629, ranked by callers