Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ functions
Functions
1,025 in github.com/chain/txvm
⨍
Functions
1,025
◇
Types & classes
110
Method
String
()
cmd/hex/flag.go:29
Method
Sub
Sub computes x-y (mod L) and places the result in z, returning that. Any or all of x, y, and z may be the same pointer.
crypto/ed25519/ecmath/scalar.go:71
Function
SubInt32
SubInt32 returns a - b with an integer overflow check.
math/checked/checked.go:107
Function
SubInt64
SubInt64 returns a - b with an integer overflow check.
math/checked/checked.go:27
Function
SubUint32
SubUint32 returns a - b with an integer overflow check.
math/checked/checked.go:234
Function
SubUint64
SubUint64 returns a - b with an integer overflow check.
math/checked/checked.go:177
Method
Sum
Sum applies padding to the hash state and then squeezes out the desired number of output bytes.
crypto/sha3/sha3.go:188
Method
Sum
Sum applies padding to the hash state and then squeezes out the desired number of output bytes.
crypto/sha3/tuple_hash.go:137
Function
Sum224
Sum224 returns the SHA3-224 digest of the data.
crypto/sha3/hashes.go:36
Function
Sum384
Sum384 returns the SHA3-384 digest of the data.
crypto/sha3/hashes.go:52
Function
Sum512
Sum512 returns the SHA3-512 digest of the data.
crypto/sha3/hashes.go:60
Method
Swap
(i, j int)
protocol/txbuilder/template.go:144
Function
TestAddPrefixkv0
(t *testing.T)
log/log_test.go:59
Function
TestAddPrefixkv1
(t *testing.T)
log/log_test.go:67
Function
TestAddPrefixkv2
(t *testing.T)
log/log_test.go:77
Function
TestAddPrefixkvAppendTwice
(t *testing.T)
log/log_test.go:88
Function
TestAllDuplicateLeaves
(t *testing.T)
protocol/merkle/merkle_test.go:39
Function
TestAppend
TestAppend checks that appending works when reallocation is necessary.
crypto/sha3/sha3_test.go:159
Function
TestAppend
(t *testing.T)
log/rotation/file_test.go:219
Function
TestAppendNoRealloc
TestAppendNoRealloc tests that appending works when no reallocation is necessary.
crypto/sha3/sha3_test.go:179
Function
TestApplyBlock
(t *testing.T)
protocol/state/snapshot_test.go:81
Function
TestApplyIssuanceTwice
(t *testing.T)
protocol/state/snapshot_test.go:52
Function
TestApplyTx
(t *testing.T)
protocol/state/snapshot_test.go:140
Function
TestApplyTxSpend
(t *testing.T)
protocol/state/snapshot_test.go:28
Function
TestAssembler
(t *testing.T)
protocol/txvm/asm/asm_test.go:11
Function
TestAtomicApplyTx
(t *testing.T)
protocol/state/snapshot_test.go:201
Function
TestBadMaxNonceWindow
(t *testing.T)
protocol/tx_test.go:11
Function
TestBasePointArith
(t *testing.T)
crypto/ed25519/ecmath/point_test.go:12
Function
TestBlock
(t *testing.T)
protocol/validation/validation_test.go:13
Function
TestBlockBytes
(t *testing.T)
protocol/bc/block_test.go:62
Function
TestBlockHeaderHash
(t *testing.T)
protocol/bc/blockheader_test.go:27
Function
TestBlockHeaderScanValue
(t *testing.T)
protocol/bc/blockheader_test.go:51
Function
TestBlockMarshal
(t *testing.T)
protocol/bc/block_test.go:102
Function
TestBlockOnly
(t *testing.T)
protocol/validation/validation_test.go:145
Function
TestBlockPrev
(t *testing.T)
protocol/validation/validation_test.go:205
Function
TestBlockScan
(t *testing.T)
protocol/bc/block_test.go:131
Function
TestBlockSig
(t *testing.T)
protocol/validation/validation_test.go:73
Function
TestBuilder
(t *testing.T)
protocol/txvm/txvmutil/builder_test.go:15
Function
TestCShakeNISTSample1
TODO: - tests for leftEncode and rightEncode - current test vectors only test a handful of values. - tests for cSHAKE(X,L,N=nil,S=nil) == SHAKE(X,L) T
crypto/sha3/cshake_test.go:14
Function
TestCShakeNISTSample2
(t *testing.T)
crypto/sha3/cshake_test.go:25
Function
TestCShakeNISTSample3
(t *testing.T)
crypto/sha3/cshake_test.go:40
Function
TestCShakeNISTSample4
(t *testing.T)
crypto/sha3/cshake_test.go:51
Function
TestChildKeys
(t *testing.T)
crypto/ed25519/chainkd/chainkd_test.go:9
Function
TestCommitBlockIdempotence
(t *testing.T)
protocol/block_test.go:164
Function
TestComplexOpcodes
(t *testing.T)
protocol/txvm/complex_ops_test.go:11
Function
TestContains
(t *testing.T)
protocol/patricia/patricia_test.go:204
Function
TestCopySnapshot
(t *testing.T)
protocol/state/snapshot_test.go:68
Function
TestCryptoSigner
(t *testing.T)
crypto/ed25519/ed25519_test.go:65
Function
TestData
(t *testing.T)
errors/errors_test.go:101
Function
TestDecode
(t *testing.T)
cmd/hex/main_test.go:38
Function
TestDeepEqual
(t *testing.T)
testutil/deepequal_test.go:5
Function
TestDelete
(t *testing.T)
protocol/patricia/patricia_test.go:430
Function
TestDeletePrefix
(t *testing.T)
protocol/patricia/patricia_test.go:535
Function
TestDetail
(t *testing.T)
errors/errors_test.go:75
Function
TestDuplicateLeaves
(t *testing.T)
protocol/merkle/merkle_test.go:20
Function
TestDurationMillis
(t *testing.T)
protocol/bc/time_test.go:32
Function
TestEmptyTree
(t *testing.T)
protocol/merkle/merkle_test.go:13
Function
TestEncode
(t *testing.T)
cmd/hex/main_test.go:24
Function
TestError
(t *testing.T)
log/log_test.go:239
Function
TestFormatKey
(t *testing.T)
log/log_test.go:356
Function
TestFormatValue
(t *testing.T)
log/log_test.go:377
Function
TestGenerateBlock
(t *testing.T)
protocol/block_test.go:74
Function
TestGetBlock
(t *testing.T)
protocol/block_test.go:22
Function
TestGolden
(t *testing.T)
crypto/ed25519/ed25519_test.go:93
Function
TestHasPrefix
(t *testing.T)
protocol/patricia/patricia_test.go:596
Function
TestHashBytes
(t *testing.T)
protocol/bc/hash_test.go:8
Function
TestHashIsZero
(t *testing.T)
protocol/bc/hash_test.go:164
Function
TestHashMarshalText
(t *testing.T)
protocol/bc/hash_test.go:27
Function
TestHashReadFrom
(t *testing.T)
protocol/bc/hash_test.go:137
Function
TestHashScan
(t *testing.T)
protocol/bc/hash_test.go:109
Function
TestHashUnmarshalJSON
(t *testing.T)
protocol/bc/hash_test.go:61
Function
TestHashUnmarshalText
(t *testing.T)
protocol/bc/hash_test.go:41
Function
TestHashValue
(t *testing.T)
protocol/bc/hash_test.go:90
Function
TestHeaderAccessors
(t *testing.T)
protocol/state/snapshot_test.go:238
Function
TestHelperStack
(t *testing.T)
log/log_test.go:286
Function
TestInsert
(t *testing.T)
protocol/patricia/patricia_test.go:233
Function
TestInstructionsRunlimit
To generate the table: $ go test . -run=TestInstructionsRunlimit -v TODO(bobg): This isn't actually testing anything. Perhaps it should be generating
protocol/txvm/asm/runlimit_test.go:428
Function
TestInt32
(t *testing.T)
math/checked/checked_test.go:120
Function
TestInt64
(t *testing.T)
math/checked/checked_test.go:11
Function
TestInternalWriteNoRotate
(t *testing.T)
log/rotation/file_test.go:88
Function
TestInternalWriteRotate
(t *testing.T)
log/rotation/file_test.go:116
Function
TestIntrospection
(t *testing.T)
protocol/txvm/introspection_test.go:10
Function
TestIsStackVal
(t *testing.T)
log/log_test.go:313
Function
TestKMACNISTSample1
(t *testing.T)
crypto/sha3/kmac_test.go:13
Function
TestKMACNISTSample2
(t *testing.T)
crypto/sha3/kmac_test.go:27
Function
TestKMACNISTSample3
(t *testing.T)
crypto/sha3/kmac_test.go:41
Function
TestKMACNISTSample4
(t *testing.T)
crypto/sha3/kmac_test.go:58
Function
TestKMACNISTSample5
(t *testing.T)
crypto/sha3/kmac_test.go:72
Function
TestKMACNISTSample6
(t *testing.T)
crypto/sha3/kmac_test.go:89
Function
TestKMACXOFNISTSample1
(t *testing.T)
crypto/sha3/kmac_test.go:106
Function
TestKMACXOFNISTSample2
(t *testing.T)
crypto/sha3/kmac_test.go:120
Function
TestKMACXOFNISTSample3
(t *testing.T)
crypto/sha3/kmac_test.go:134
Function
TestKMACXOFNISTSample4
(t *testing.T)
crypto/sha3/kmac_test.go:151
Function
TestKMACXOFNISTSample5
(t *testing.T)
crypto/sha3/kmac_test.go:165
Function
TestKMACXOFNISTSample6
(t *testing.T)
crypto/sha3/kmac_test.go:182
Function
TestKeccakKats
TestKeccakKats tests the SHA-3 and Shake implementations against all the ShortMsgKATs from https://github.com/gvanas/KeccakCodePackage (The testvector
crypto/sha3/sha3_test.go:89
Function
TestLeafVsInternalNodes
(t *testing.T)
protocol/patricia/patricia_test.go:83
Function
TestLookup
(t *testing.T)
protocol/patricia/patricia_test.go:140
Function
TestMakeBlock
(t *testing.T)
protocol/prottest/block_test.go:5
Function
TestMarshalDuration
(t *testing.T)
encoding/json/duration_test.go:57
← previous
next →
701–800 of 1,025, ranked by callers