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
↓ 63 callers
Method
MarshalMsg
The following msgp objects are implemented in this file: Block |-----> (*) MarshalMsg |-----> (*) CanMarshalMsg |-----> (*) UnmarshalMsg |-----> (*) U
data/bookkeeping/msgp_gen.go:143
↓ 62 callers
Method
Empty
Empty does the obvious. But the meaning is not obvious. An empty BoxRef just adds to the read/write quota of the transaction. In tx.Access, _any_ empt
data/transactions/application.go:350
↓ 62 callers
Method
WaitForRoundWithTimeout
WaitForRoundWithTimeout waits for a given round to reach. The implementation also ensures to limit the wait time for each round to the globals.MaxTime
test/framework/fixtures/restClientFixture.go:97
↓ 61 callers
Function
ge25519_p1p1_to_p3
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:441
↓ 60 callers
Method
Len
Len implements heap.Interface
network/peersheap.go:42
↓ 60 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
data/bookkeeping/msgp_gen.go:1217
↓ 59 callers
Method
MakeRandomProposalPayload
(t *testing.T, r round)
agreement/common_test.go:536
↓ 59 callers
Method
Round
Round returns the Round for which the Block is relevant
data/bookkeeping/block.go:356
↓ 59 callers
Method
dispatch
(t *tracer, state player, e event, src stateMachineTag, dest stateMachineTag, r round, p period, s step)
agreement/router.go:88
↓ 58 callers
Function
Disassemble
Disassemble produces a text form of program bytes. AssembleString(Disassemble()) should result in the same program bytes.
data/transactions/logic/assembler.go:3164
↓ 58 callers
Method
GetDataDir
GetDataDir provides read-only access to the controller's data directory
nodecontrol/algodControl.go:302
↓ 58 callers
Function
newReq
(t *testing.T)
daemon/algod/api/server/v2/test/handlers_resources_test.go:386
↓ 58 callers
Method
rankPeer
(psp *peerSelectorPeer, rank int)
catchup/peerSelector.go:118
↓ 57 callers
Method
Sub
Sub subtracts b from a with overflow detection
data/basics/overflow.go:113
↓ 57 callers
Function
defaultSigParams
(txns ...transactions.SignedTxn)
data/transactions/logic/eval_test.go:156
↓ 57 callers
Function
parseJSON
(jsonText []byte)
data/transactions/logic/eval.go:5925
↓ 56 callers
Method
Empty
Empty reports whether there was any difference at all.
tools/x-repo-types/typeAnalyzer/typeAnalyzer.go:141
↓ 56 callers
Method
IsZero
IsZero checks if an address is the zero value.
data/basics/address.go:109
↓ 56 callers
Function
NewCounter
NewCounter is a shortcut to MakeCounter in one shorter line.
util/metrics/counter.go:50
↓ 56 callers
Method
Transaction
transaction support
ledger/store/trackerdb/store.go:44
↓ 56 callers
Method
UpsertAssetResource
UpsertAssetResource adds AssetParams and AssetHolding delta
ledger/ledgercore/statedelta.go:529
↓ 56 callers
Method
verify
verify verifies that a vote that was received from the network is valid.
agreement/vote.go:97
↓ 55 callers
Method
Mul
Mul multiplies Micros. It saturates and reports overflow.
data/basics/units.go:211
↓ 55 callers
Method
read
(self, path)
test/scripts/latency_plot.py:26
↓ 55 callers
Function
reportErrorln
(args ...interface{})
cmd/goal/commands.go:482
↓ 54 callers
Method
ListAddresses
ListAddresses takes a wallet handle and returns the list of addresses associated with it. If no addresses are associated with the wallet, it returns a
libgoal/libgoal.go:301
↓ 54 callers
Method
Warn
Warn logs a message at level Warn.
logging/log.go:110
↓ 54 callers
Function
expectNewPeriod
(t *testing.T, clocks []timers.Clock[TimeoutType], zeroes uint)
agreement/service_test.go:824
↓ 54 callers
Function
have_flag
crypto/secp256k1/libsecp256k1/src/bench_internal.c:327
↓ 54 callers
Function
requireTraceContains
(t *testing.T, trace ioTrace, expected event, playerN, eventN int)
agreement/player_permutation_test.go:403
↓ 54 callers
Function
secp256k1_scalar_sqr
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:101
↓ 53 callers
Method
GetVerifier
GetVerifier can be used to store the commitment and verifier for this signer.
crypto/merklesignature/merkleSignatureScheme.go:143
↓ 53 callers
Method
LatestRound
LatestRound returns the round number of the most recently committed block
ledger/simulation/testing/utils.go:55
↓ 53 callers
Function
appAddr
(id int)
data/transactions/logic/evalAppTxn_test.go:198
↓ 53 callers
Function
check
(program []byte, gi int, params *EvalParams, mode RunMode)
data/transactions/logic/eval.go:1376
↓ 53 callers
Method
error
(err error)
data/transactions/logic/assembler.go:1846
↓ 53 callers
Function
randombytes_uniform
crypto/libsodium-fork/src/libsodium/randombytes/randombytes.c:124
↓ 52 callers
Method
Hash
Hash converts a VRF proof to a VRF output without verifying the proof. TODO: Consider removing so that we don't accidentally hash an unverified proof
crypto/vrf.go:117
↓ 52 callers
Method
InnerID
InnerID returns something akin to Txid, but folds in the parent Txid and the index of the inner call.
data/transactions/transaction.go:270
↓ 52 callers
Method
errorf
(format string, args ...interface{})
data/transactions/logic/assembler.go:1850
↓ 51 callers
Method
Next
()
ledger/store/trackerdb/generickv/accounts_reader.go:39
↓ 51 callers
Method
ensureAlgodClient
()
libgoal/libgoal.go:195
↓ 51 callers
Function
simulationTest
(t *testing.T, f func(env simulationtesting.Environment) simulationTestCase)
ledger/simulation/simulation_eval_test.go:141
↓ 50 callers
Method
Marshal
Marshal Returns a hash representation of the element located in position pos
crypto/merklearray/array.go:33
↓ 50 callers
Method
Root
Root returns the root hash of the tree. In case the tree is empty, the return value is an empty GenericDigest.
crypto/merklearray/merkle.go:170
↓ 49 callers
Function
EnsureSingleDataDir
EnsureSingleDataDir retrieves the exactly one data directory that exists. Reports and Error and exits when more than one data directories are availabl
cmd/util/datadir/datadir.go:57
↓ 49 callers
Method
GetBalanceAndRound
GetBalanceAndRound returns the current balance of an account and the current round for that balance
test/framework/fixtures/restClientFixture.go:138
↓ 49 callers
Method
IsHolding
IsHolding returns true if the resource flag is ResourceFlagsHolding
ledger/store/trackerdb/data.go:532
↓ 49 callers
Method
String
String returns a string representation of Address
data/basics/address.go:84
↓ 49 callers
Method
SuggestedParams
SuggestedParams returns the suggested parameters for a new transaction
libgoal/libgoal.go:931
↓ 49 callers
Function
crypto_onetimeauth_poly1305_update
crypto/libsodium-fork/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c:40
↓ 49 callers
Function
load_3
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:11
↓ 49 callers
Method
read
read the persistedKVData object that the lruKV has for the given key. thread locking semantics : read lock
ledger/lrukv.go:71
↓ 49 callers
Function
rewardsPool
()
ledger/eval/prefetcher/prefetcher_alignment_test.go:62
↓ 49 callers
Function
secp256k1_fe_add
crypto/secp256k1/libsecp256k1/src/field_5x52_impl.h:357
↓ 48 callers
Method
AddBlock
(bookkeeping.Block, agreement.Certificate)
catchup/service.go:64
↓ 48 callers
Method
Close
()
tools/debug/algodump/compress.go:63
↓ 48 callers
Method
GetBalance
GetBalance takes an address and returns its total balance; if the address doesn't exist, it returns 0.
libgoal/libgoal.go:878
↓ 48 callers
Function
MakeBlock
MakeBlock constructs a new valid block with an empty payset and an unset Seed.
data/bookkeeping/block.go:648
↓ 48 callers
Method
MakeRandomProposalValue
()
agreement/common_test.go:530
↓ 48 callers
Method
SignBytes
(message []byte)
network/netidentity.go:101
↓ 48 callers
Method
SignedTxn
SignedTxn produces a unsigned, transactions.SignedTransaction from the fields in this Txn. This seemingly pointless operation exists, again, for conv
data/txntest/txn.go:347
↓ 47 callers
Method
AddUint64
AddUint64 increases counter by x If labels is nil this is much faster than if labels is not nil.
util/metrics/counter.go:84
↓ 47 callers
Function
DecodeJSON
DecodeJSON attempts to decode a JSON-encoded byte buffer into an object instance pointed to by objptr
protocol/codec.go:223
↓ 47 callers
Method
Run
Run executes the tests after the fixture initializes and returns the exit code from testing
test/framework/fixtures/fixture.go:52
↓ 47 callers
Method
UpsertAppResource
UpsertAppResource adds AppParams and AppLocalState delta
ledger/ledgercore/statedelta.go:511
↓ 47 callers
Function
goValuesToTealValues
(goValues ...interface{})
ledger/simulation/simulation_eval_test.go:2462
↓ 47 callers
Function
newAcctUpdates
(tb testing.TB, l *mockLedgerForTracker, conf config.Local)
ledger/acctupdates_test.go:330
↓ 46 callers
Method
Debug
Debug logs a message at level Debug.
logging/log.go:100
↓ 46 callers
Method
Equal
Equal compares two EvalDeltas and returns whether or not they are equivalent. It does not care about nilness equality of LocalDeltas, because the msgp
data/transactions/teal.go:56
↓ 46 callers
Method
GetAddress
()
network/wsPeer.go:297
↓ 46 callers
Method
MakeAccountsReader
()
ledger/store/trackerdb/store.go:59
↓ 46 callers
Method
SendPaymentFromUnencryptedWallet
SendPaymentFromUnencryptedWallet signs a transaction using the default wallet and returns the resulted transaction id
libgoal/unencryptedWallet.go:32
↓ 46 callers
Function
getKey
(zone string, flags uint16)
tools/network/dnssec/testHarness.go:489
↓ 46 callers
Function
lookup
lookup gets the current accountdata for an address
ledger/simple_test.go:249
↓ 46 callers
Function
waitReady
(t testing.TB, wn *WebsocketNetwork, timeout <-chan time.Time)
network/wsNetwork_test.go:301
↓ 45 callers
Function
EncodeMsgp
EncodeMsgp returns a msgpack-encoded byte buffer, requiring that we pre-generated the code for doing so using msgp.
protocol/codec.go:124
↓ 45 callers
Method
IsOwning
IsOwning returns true if the resource flag is ResourceFlagsOwnership
ledger/store/trackerdb/data.go:537
↓ 45 callers
Function
MicroAlgosMaxSize
MicroAlgosMaxSize returns maximum possible msgp encoded size of MicroAlgos in bytes. It is expected by msgp generated MaxSize functions
data/basics/units.go:154
↓ 45 callers
Function
ToAccountData
ToAccountData returns ledgercore.AccountData from basics.AccountData
ledger/ledgercore/accountdata.go:56
↓ 45 callers
Method
WaitForAllTxnsToConfirm
WaitForAllTxnsToConfirm is as WaitForTxnConfirmation, but accepting a whole map of txids to their issuing address
test/framework/fixtures/restClientFixture.go:197
↓ 45 callers
Method
WithAD
WithAD returns a SignedTxnWithAD with an (optional) ApplyData.
data/transactions/signedtxn.go:66
↓ 45 callers
Function
equal
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:572
↓ 45 callers
Function
load_4
crypto/libsodium-fork/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:23
↓ 45 callers
Function
notrack
(program string)
data/transactions/logic/eval_test.go:4623
↓ 44 callers
Method
Close
()
util/watchdogStreamReader.go:63
↓ 44 callers
Method
Info
Info logs a message at level Info.
logging/log.go:105
↓ 44 callers
Method
IsApp
IsApp returns true if the flag is ResourceFlagsEmptyApp and the fields are not empty.
ledger/store/trackerdb/data.go:564
↓ 44 callers
Method
IsAsset
IsAsset returns true if the flag is ResourceFlagsEmptyAsset and the fields are not empty.
ledger/store/trackerdb/data.go:589
↓ 44 callers
Method
SignAndBroadcastTransaction
SignAndBroadcastTransaction signs the unsigned transaction with keys from the default wallet, and broadcasts it
libgoal/transactions.go:200
↓ 44 callers
Method
TransactionGroup
(txads ...transactions.SignedTxnWithAD)
data/pools/transactionPool.go:112
↓ 44 callers
Method
Type
()
data/transactions/logic/fields.go:32
↓ 44 callers
Method
committedUpTo
committedUpTo informs the tracker that the block database has committed all blocks up to and including rnd to persistent storage. This can allow the
ledger/tracker.go:92
↓ 44 callers
Method
processIncomingTxn
processIncomingTxn decodes a transaction group from incoming message and enqueues into the back log for processing. The function also performs some in
data/txHandler.go:740
↓ 44 callers
Function
secp256k1_scalar_set_b32
crypto/secp256k1/libsecp256k1/src/scalar_low_impl.h:47
↓ 43 callers
Method
Encode
Encode serializes the Clock into a byte slice.
util/timers/interface.go:44
↓ 43 callers
Function
EncodeJSON
EncodeJSON returns a JSON-encoded byte buffer for a given object
protocol/codec.go:152
↓ 43 callers
Method
GetAddresses
GetAddresses(N) returns up to N addresses, but may return fewer
network/phonebook/phonebook.go:109
↓ 43 callers
Method
Header
()
network/requestLogger.go:98
↓ 43 callers
Method
ID
ID is the effective Genesis identifier - the combination of the network and the ledger schema version
data/bookkeeping/genesis.go:101
← previous
next →
201–300 of 18,629, ranked by callers