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
↓ 120 callers
Method
NextRound
NextRound returns the first round for which no Block has been confirmed.
agreement/abstractions.go:123
↓ 119 callers
Method
Upsert
Upsert adds ledgercore.AccountData into deltas
ledger/ledgercore/statedelta.go:495
↓ 119 callers
Function
secp256k1_fe_mul
crypto/secp256k1/libsecp256k1/src/field_5x52_impl.h:373
↓ 118 callers
Function
ev
* Utils for player testing */ wrap actions as events so we can test player as a listener
agreement/state_machine_test.go:539
↓ 115 callers
Method
GetPeers
Get a list of Peers we could potentially send a direct message to.
network/gossipNode.go:96
↓ 115 callers
Method
Len
()
data/transactions/sort.go:26
↓ 112 callers
Method
UnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
data/bookkeeping/msgp_gen.go:505
↓ 111 callers
Method
Shutdown
Shutdown should be called for a single-use fixture shutdown / cleanup It requires a valid t.Testing to be assigned.
test/framework/fixtures/fixture.go:60
↓ 111 callers
Method
WriteHeader
(statusCode int)
network/requestLogger.go:111
↓ 109 callers
Method
NewAccount
NewAccount adds a new account with a given balance to the Ledger.
data/transactions/logic/ledger_test.go:123
↓ 109 callers
Method
SetLevel
Set the logging version (Info by default)
logging/log.go:136
↓ 109 callers
Function
testLogicBytes
(t *testing.T, program []byte, ep *EvalParams, problems ...string)
data/transactions/logic/eval_test.go:2221
↓ 106 callers
Method
AddField
AddField adds a named field segment to a TypePath. The modification is done using append, so this action may mutate the input TypePath. NOTE: There i
test/reflectionhelpers/helpers.go:91
↓ 106 callers
Method
DoV1Request
DoV1Request accepts a request from kmdapi/requests and
daemon/kmd/client/requests.go:30
↓ 105 callers
Function
fe25519_mul
crypto/libsodium-fork/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h:242
↓ 104 callers
Method
String
()
ledger/store/trackerdb/interface.go:49
↓ 104 callers
Method
Txn
Txn produces a transactions.Transaction from the fields in this Txn
data/txntest/txn.go:226
↓ 101 callers
Method
Helper
()
test/framework/fixtures/fixture.go:37
↓ 100 callers
Method
With
Add one key-value to log
logging/log.go:130
↓ 99 callers
Function
randombytes_buf
crypto/libsodium-fork/src/libsodium/randombytes/randombytes.c:149
↓ 98 callers
Method
Unmarshal
([]byte)
agreement/fuzzer/filter_test.go:51
↓ 97 callers
Method
Len
()
tools/network/dnssec/sort.go:27
↓ 97 callers
Method
Read
(p []byte)
util/watchdogStreamReader.go:62
↓ 97 callers
Method
Since
Since returns the time spent between the last time the clock was zeroed out and the current wall clock time.
util/timers/interface.go:32
↓ 97 callers
Method
Verify
()
crypto/batchverifier.go:57
↓ 95 callers
Method
appendUnvalidatedTx
(t *testing.T, initAccounts map[basics.Address]basics.AccountData, initSecrets map[basics.Address]*crypto.Sign
ledger/ledger_test.go:84
↓ 94 callers
Method
Args
Args returns a new Txn with the given strings as app args
data/txntest/txn.go:146
↓ 93 callers
Method
Setup
Setup is called to initialize the test fixture for the test(s)
test/framework/fixtures/restClientFixture.go:45
↓ 91 callers
Method
Decode
(objptr interface{})
protocol/codec.go:47
↓ 90 callers
Method
QueryRow
(query string, args ...interface{})
util/db/interfaces.go:37
↓ 90 callers
Function
testLine
(t *testing.T, line string, ver uint64, expected string, col ...int)
data/transactions/logic/assembler_test.go:748
↓ 89 callers
Function
OpenLedger
OpenLedger creates a Ledger object, using SQLite database filenames based on dbPathPrefix (in-memory if dbMem is true). genesisInitState.Blocks and ge
ledger/ledger.go:115
↓ 88 callers
Method
close
close terminates the tracker, reclaiming any resources like open database connections or goroutines. close may be called even if loadFromDisk() is no
ledger/tracker.go:124
↓ 88 callers
Function
toPtr
(constVar T)
test/e2e-go/restAPI/simulate/simulateRestAPI_test.go:670
↓ 86 callers
Function
HashObj
HashObj computes a hash of a Hashable object and its type
crypto/util.go:97
↓ 85 callers
Function
secp256k1_scalar_mul
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:88
↓ 84 callers
Method
Reset
()
util/watchdogStreamReader.go:61
↓ 84 callers
Function
fe25519_sq
crypto/libsodium-fork/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h:333
↓ 83 callers
Method
Clone
Clone returns a copy of a TealKeyValue that may be modified without affecting the original
data/basics/teal.go:201
↓ 83 callers
Method
IsZero
IsZero returns true if the challenge is empty (used to indicate no challenge)
ledger/apply/challenge.go:82
↓ 83 callers
Method
Len
Len returns number of stored accounts
ledger/ledgercore/statedelta.go:484
↓ 83 callers
Method
Uint64
Uint64 returns a pseudo-random 64-bit value as a uint64.
agreement/abstractions.go:306
↓ 82 callers
Function
MakeAccessor
MakeAccessor creates a new Accessor.
util/db/dbutil.go:96
↓ 82 callers
Method
WaitForRound
WaitForRound waits up to the specified amount of time for the network to reach or pass the specified round
test/framework/fixtures/restClientFixture.go:79
↓ 81 callers
Method
AddInOutPair
(input event, output event)
agreement/state_machine_test.go:509
↓ 81 callers
Function
AddressMaxSize
crypto.DigestMaxSize returns a maximum valid message size for this message type
data/basics/msgp_gen.go:1568
↓ 81 callers
Method
IsEmpty
IsEmpty returns true if the resource flag is not an app or asset.
ledger/store/trackerdb/data.go:542
↓ 81 callers
Function
NewDoubleLedger
NewDoubleLedger creates a new DoubleLedger with the supplied balances and consensus version.
ledger/double_test.go:64
↓ 81 callers
Method
Shutdown
()
util/execpool/pool.go:40
↓ 80 callers
Method
Close
()
ledger/double_test.go:58
↓ 80 callers
Method
SetOutput
Sets the output target
logging/log.go:142
↓ 80 callers
Function
goValuesToAvmValues
(goValues ...interface{})
test/e2e-go/restAPI/simulate/simulateRestAPI_test.go:772
↓ 79 callers
Method
Fail
()
test/framework/fixtures/fixture.go:32
↓ 79 callers
Method
FillUnsignedTxTemplate
FillUnsignedTxTemplate fills in header fields in a partially-filled-in transaction.
libgoal/transactions.go:466
↓ 77 callers
Method
Close
Close any resources used to implement the interface.
data/account/participationRegistry.go:273
↓ 77 callers
Method
Err
Err returns an error that was set during opening the file
util/s3/fileIterator.go:62
↓ 77 callers
Function
GenerateSignatureSecrets
GenerateSignatureSecrets creates SignatureSecrets from a source of entropy.
crypto/curve25519.go:215
↓ 76 callers
Method
Stat
()
network/p2p/streams_stale_test.go:148
↓ 75 callers
Method
Broadcast
(ctx context.Context, tag protocol.Tag, data []byte, wait bool, except Peer)
network/gossipNode.go:81
↓ 75 callers
Method
MsgIsZero
MsgIsZero returns whether this is a zero value
ledger/store/trackerdb/msgp_gen.go:2839
↓ 75 callers
Function
RoundMaxSize
RoundMaxSize returns a maximum valid message size for this message type
data/basics/msgp_gen.go:5084
↓ 75 callers
Method
UnmarshalMsgWithState
UnmarshalMsg implements msgp.Unmarshaler
ledger/store/trackerdb/msgp_gen.go:2607
↓ 75 callers
Function
errorResponse
errorResponse sets the specified status code (should != 200), and fills in the response envelope by setting Error to true and a Message to the passed
daemon/kmd/api/v1/handlers.go:44
↓ 74 callers
Method
LastRound
()
catchup/service.go:66
↓ 74 callers
Method
SubSaturate
SubSaturate subtracts x rounds with saturation arithmetic that does not wrap around past zero, and instead returns 0 on underflow.
data/basics/units.go:184
↓ 74 callers
Function
randomBlockHash
()
agreement/common_test.go:124
↓ 73 callers
Method
AccountInformation
Get account information. (GET /v2/accounts/{address})
daemon/algod/api/server/v2/generated/nonparticipating/public/routes.go:27
↓ 73 callers
Method
GenerateAddress
GenerateAddress takes a wallet handle, generate an additional address for it and returns the public address
libgoal/libgoal.go:372
↓ 73 callers
Method
getTrace
getTrace returns the trace of the execution so far. note that it always starts at initialization, at the start state.
agreement/state_machine_test.go:283
↓ 73 callers
Function
reportInfof
(format string, args ...interface{})
cmd/goal/commands.go:447
↓ 73 callers
Function
secp256k1_fe_sqr
crypto/secp256k1/libsecp256k1/src/field_5x52_impl.h:389
↓ 73 callers
Function
sodium_misuse
crypto/libsodium-fork/src/libsodium/sodium/core.c:186
↓ 72 callers
Function
coalesceErrors
helpers
ledger/store/trackerdb/dualdriver/dualdriver.go:541
↓ 71 callers
Method
Contains
test helpers
agreement/state_machine_test.go:139
↓ 71 callers
Method
Sign
Sign signs a transaction using a given Account's secrets.
data/transactions/transaction.go:285
↓ 71 callers
Function
badRequest
(ctx echo.Context, internal error, external string, log logging.Logger)
daemon/algod/api/server/v2/utils.go:58
↓ 70 callers
Method
Digest
Digest returns a cryptographic digest summarizing the Block.
data/bookkeeping/block.go:351
↓ 70 callers
Method
Fatalf
(string, ...interface{})
logging/log.go:122
↓ 70 callers
Method
ReplacePeerList
ReplacePeerList merges a set of addresses with that passed in for networkName new entries in dnsAddresses are being added existing items that aren't i
network/phonebook/phonebook.go:130
↓ 69 callers
Method
As
(any)
network/p2p/streams_stale_test.go:157
↓ 69 callers
Function
EncodeReflect
EncodeReflect returns a msgpack-encoded byte buffer for a given object, using reflection.
protocol/codec.go:109
↓ 69 callers
Method
Len
Len returns size of a cache
data/txDupCache.go:90
↓ 69 callers
Function
internalError
(ctx echo.Context, internal error, external string, log logging.Logger)
daemon/algod/api/server/v2/utils.go:70
↓ 69 callers
Function
secp256k1_scalar_set_int
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:19
↓ 69 callers
Function
setupP
* * Automata-style trace based integration tests. * --------------------------------------------- * There is significant overlap with the tests abo
agreement/player_test.go:502
↓ 69 callers
Function
sodium_bin2hex
Derived from original code by CodesInChaos */
crypto/libsodium-fork/src/libsodium/sodium/codecs.c:13
↓ 68 callers
Function
FilterTimeout
FilterTimeout is the duration of the first agreement step.
agreement/types.go:58
↓ 68 callers
Method
SignTransactionWithWallet
SignTransactionWithWallet signs the passed transaction with keys from the wallet associated with the passed walletHandle
libgoal/transactions.go:38
↓ 68 callers
Function
makeMockLedgerForTracker
(t testing.TB, inMemory bool, initialBlocksCount basics.Round, consensusVersion protocol.ConsensusVersion, acc
ledger/acctupdates_test.go:150
↓ 67 callers
Method
AccountData
(addr basics.Address)
data/transactions/logic/eval.go:247
↓ 67 callers
Method
ExecContext
(ctx context.Context, query string, args ...interface{})
util/db/interfaces.go:45
↓ 67 callers
Method
Panicf
(string, ...interface{})
logging/log.go:127
↓ 66 callers
Function
requireActionCount
(t *testing.T, trace ioTrace, expectedCount, playerN, eventN int)
agreement/player_permutation_test.go:399
↓ 66 callers
Function
triggerGlobalTimeout
(d time.Duration, timeoutType TimeoutType, clocks []timers.Clock[TimeoutType], activityMonitor *activityMonito
agreement/service_test.go:839
↓ 65 callers
Function
detDefault
()
data/transactions/logic/opcodes.go:198
↓ 65 callers
Function
makeTestWebsocketNode
(t testing.TB, opts ...testWebsocketOption)
network/wsNetwork_test.go:165
↓ 64 callers
Method
Address
()
network/gossipNode.go:80
↓ 64 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:241
↓ 64 callers
Function
sodium_hex2bin
crypto/libsodium-fork/src/libsodium/sodium/codecs.c:40
↓ 63 callers
Method
BroadcastTransaction
BroadcastTransaction broadcasts a signed transaction to the network using algod
libgoal/transactions.go:165
← previous
next →
101–200 of 18,629, ranked by callers