MCPcopy Create free account

hub / github.com/chain/txvm / functions

Functions1,025 in github.com/chain/txvm

↓ 1 callersFunctionvalidate
(t *testing.T, actual []AuditHash, expected []auditHashT)
protocol/merkle/merkle_test.go:228
↓ 1 callersMethodvalidate
(txprog []byte)
protocol/txvm/vm.go:122
↓ 1 callersFunctionwalk
(n *node, walkFn WalkFunc)
protocol/patricia/patricia.go:54
↓ 1 callersFunctionwithData
withData returns a new error that wraps err as a chain error message containing v as an extra data item. Calling Data on the returned error yields v.
errors/errors.go:126
↓ 1 callersFunctionwritePushint64
(buf *bytes.Buffer, num int64)
protocol/txvm/txvmutil/builder.go:146
↓ 1 callersMethodwriteWitnessHashTo
The only errors returned are those from w.
protocol/bc/tx.go:275
↓ 1 callersFunctionzerovalToTop
Find a zero value on the stack, move it to the top
protocol/txbuilder/template.go:735
MethodAdd
Add 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:59
FunctionAddInt32
AddInt32 returns a + b with an integer overflow check.
math/checked/checked.go:97
FunctionAddUint32
AddUint32 returns a + b with an integer overflow check.
math/checked/checked.go:225
FunctionAddUint64
AddUint64 returns a + b with an integer overflow check.
math/checked/checked.go:168
FunctionBenchmarkAssemble
(b *testing.B)
protocol/txvm/asm/asm_test.go:72
FunctionBenchmarkEncodeString
(b *testing.B)
crypto/sha3/cshake_test.go:80
FunctionBenchmarkExampleTx
(b *testing.B)
protocol/txvm/bench_test.go:10
FunctionBenchmarkInitCShake
(b *testing.B)
crypto/sha3/cshake_test.go:88
FunctionBenchmarkInserts
(b *testing.B)
protocol/patricia/patricia_test.go:29
FunctionBenchmarkInsertsRootHash
(b *testing.B)
protocol/patricia/patricia_test.go:45
FunctionBenchmarkKeyGeneration
(b *testing.B)
crypto/ed25519/ed25519_test.go:150
FunctionBenchmarkLeftEncode
(b *testing.B)
crypto/sha3/cshake_test.go:66
FunctionBenchmarkPermutationFunction
BenchmarkPermutationFunction measures the speed of the permutation function with no input data.
crypto/sha3/sha3_test.go:228
FunctionBenchmarkRightEncode
(b *testing.B)
crypto/sha3/cshake_test.go:73
FunctionBenchmarkSha3_224_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:278
FunctionBenchmarkSha3_256_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:277
FunctionBenchmarkSha3_384_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:276
FunctionBenchmarkSha3_512_1MiB
(b *testing.B)
crypto/sha3/sha3_test.go:285
FunctionBenchmarkSha3_512_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:275
FunctionBenchmarkShake128_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:280
FunctionBenchmarkShake256_16x
(b *testing.B)
crypto/sha3/sha3_test.go:282
FunctionBenchmarkShake256_1MiB
(b *testing.B)
crypto/sha3/sha3_test.go:283
FunctionBenchmarkShake256_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:281
FunctionBenchmarkSigning
(b *testing.B)
crypto/ed25519/ed25519_test.go:159
FunctionBenchmarkSingleInsert
(b *testing.B)
protocol/patricia/patricia_test.go:18
FunctionBenchmarkUnmarshalJSONMap
(b *testing.B)
encoding/json/json_test.go:46
FunctionBenchmarkVerification
(b *testing.B)
crypto/ed25519/ed25519_test.go:172
FunctionBenchmarkXPrvChildHardened
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:31
FunctionBenchmarkXPrvChildNonHardened
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:25
FunctionBenchmarkXPrvSign
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:43
FunctionBenchmarkXPubChild
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:37
FunctionBenchmarkXPubVerify
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:49
FunctionBlockKeyPairs
BlockKeyPairs returns the configured block-signing key-pairs for the provided Chain.
protocol/prottest/block.go:120
MethodBlockSize
BlockSize returns the rate of sponge underlying this hash function.
crypto/sha3/kmac.go:33
MethodBlockSize
BlockSize returns the rate of sponge underlying this hash function.
crypto/sha3/sha3.go:53
MethodBlockSize
BlockSize returns the rate of sponge underlying this hash function.
crypto/sha3/tuple_hash.go:92
FunctionCShakeSum256
CShakeSum256 writes an arbitrary-length digest of data into hash. n is a customization string for derived functions specified by NIST. Set n to an emp
crypto/sha3/cshake.go:39
MethodChild
Child produces the child of xpub with the given selector.
crypto/ed25519/chainkd/chainkd.go:89
MethodClone
()
crypto/sha3/kmac.go:43
MethodClone
Clone returns a copy of the ShakeHash in its current state.
crypto/sha3/shake.go:28
MethodClone
()
crypto/sha3/shake.go:34
MethodClone
()
crypto/sha3/tuple_hash.go:102
MethodCommit
Commit runs any pending template callbacks.
protocol/txbuilder/template.go:194
MethodDerive
Derive produces the descendant of the XPub at the given path. It's equivalent to repeated calls of xpub.Child with the elements of path.
crypto/ed25519/chainkd/chainkd.go:136
FunctionDeriveXPubs
DeriveXPubs calls Derive on each XPub, all with the same path.
crypto/ed25519/chainkd/util.go:30
MethodDescriptor
()
protocol/state/rawsnapshot.pb.go:46
MethodDescriptor
()
protocol/bc/bc.pb.go:71
MethodDescriptor
()
protocol/bc/bc.pb.go:114
MethodDescriptor
()
protocol/bc/bc.pb.go:155
MethodDescriptor
()
protocol/bc/bc.pb.go:205
MethodDescriptor
()
protocol/bc/bc.pb.go:294
MethodDescriptor
()
protocol/bc/bc.pb.go:327
FunctionDivInt32
DivInt32 returns a / b with an integer overflow check.
math/checked/checked.go:129
FunctionDivInt64
DivInt64 returns a / b with an integer overflow check.
math/checked/checked.go:49
FunctionDivUint32
DivUint32 returns a / b with an integer overflow check.
math/checked/checked.go:252
FunctionDivUint64
DivUint64 returns a / b with an integer overflow check.
math/checked/checked.go:195
MethodEnumDescriptor
()
protocol/bc/bc.pb.go:58
FunctionExampleSub
()
errors/example_test.go:7
FunctionExampleSub_return
()
errors/example_test.go:15
FunctionExample_mac
()
crypto/sha3/sha3_test.go:297
FunctionExample_sum
()
crypto/sha3/sha3_test.go:287
FunctionFatalkv
Fatalkv is equivalent to Printkv() followed by a call to os.Exit(1).
log/log.go:153
MethodFinalizeHeight
FinalizeHeight satisfies the protocol.Store interface.
protocol/prottest/memstore/memstore.go:81
MethodGetArguments
()
protocol/bc/bc.pb.go:343
MethodGetBlock
GetBlock satisfies the protocol.Store interface.
protocol/prottest/memstore/memstore.go:59
MethodGetBytes
()
protocol/bc/bc.pb.go:164
MethodGetContractNodes
()
protocol/state/rawsnapshot.pb.go:48
MethodGetContractsRoot
()
protocol/bc/bc.pb.go:256
MethodGetExtraFields
()
protocol/bc/bc.pb.go:277
MethodGetHeader
()
protocol/state/rawsnapshot.pb.go:62
MethodGetHeader
()
protocol/bc/bc.pb.go:329
MethodGetHeight
()
protocol/bc/bc.pb.go:214
MethodGetInitialBlockId
()
protocol/state/rawsnapshot.pb.go:69
MethodGetInt
()
protocol/bc/bc.pb.go:171
MethodGetNextPredicate
()
protocol/bc/bc.pb.go:270
MethodGetNonceNodes
()
protocol/state/rawsnapshot.pb.go:55
MethodGetNoncesRoot
()
protocol/bc/bc.pb.go:263
MethodGetOtherFields
()
protocol/bc/bc.pb.go:137
MethodGetPreviousBlockId
()
protocol/bc/bc.pb.go:221
MethodGetProgram
()
protocol/bc/bc.pb.go:310
MethodGetPubkeys
()
protocol/bc/bc.pb.go:130
MethodGetQuorum
()
protocol/bc/bc.pb.go:123
MethodGetRefIds
()
protocol/state/rawsnapshot.pb.go:76
MethodGetRefsCount
()
protocol/bc/bc.pb.go:242
MethodGetRunlimit
()
protocol/bc/bc.pb.go:235
MethodGetRunlimit
()
protocol/bc/bc.pb.go:303
MethodGetTimestampMs
()
protocol/bc/bc.pb.go:228
MethodGetTransactions
()
protocol/bc/bc.pb.go:336
MethodGetTransactionsRoot
()
protocol/bc/bc.pb.go:249
MethodGetTuple
()
protocol/bc/bc.pb.go:178
MethodGetType
()
protocol/bc/bc.pb.go:157
MethodGetV0
()
protocol/bc/bc.pb.go:73
MethodGetV1
()
protocol/bc/bc.pb.go:80
← previousnext →501–600 of 1,025, ranked by callers