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
↓ 1 callers
Function
validate
(t *testing.T, actual []AuditHash, expected []auditHashT)
protocol/merkle/merkle_test.go:228
↓ 1 callers
Method
validate
(txprog []byte)
protocol/txvm/vm.go:122
↓ 1 callers
Function
walk
(n *node, walkFn WalkFunc)
protocol/patricia/patricia.go:54
↓ 1 callers
Function
withData
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 callers
Function
writePushint64
(buf *bytes.Buffer, num int64)
protocol/txvm/txvmutil/builder.go:146
↓ 1 callers
Method
writeWitnessHashTo
The only errors returned are those from w.
protocol/bc/tx.go:275
↓ 1 callers
Function
zerovalToTop
Find a zero value on the stack, move it to the top
protocol/txbuilder/template.go:735
Method
Add
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
Function
AddInt32
AddInt32 returns a + b with an integer overflow check.
math/checked/checked.go:97
Function
AddUint32
AddUint32 returns a + b with an integer overflow check.
math/checked/checked.go:225
Function
AddUint64
AddUint64 returns a + b with an integer overflow check.
math/checked/checked.go:168
Function
BenchmarkAssemble
(b *testing.B)
protocol/txvm/asm/asm_test.go:72
Function
BenchmarkEncodeString
(b *testing.B)
crypto/sha3/cshake_test.go:80
Function
BenchmarkExampleTx
(b *testing.B)
protocol/txvm/bench_test.go:10
Function
BenchmarkInitCShake
(b *testing.B)
crypto/sha3/cshake_test.go:88
Function
BenchmarkInserts
(b *testing.B)
protocol/patricia/patricia_test.go:29
Function
BenchmarkInsertsRootHash
(b *testing.B)
protocol/patricia/patricia_test.go:45
Function
BenchmarkKeyGeneration
(b *testing.B)
crypto/ed25519/ed25519_test.go:150
Function
BenchmarkLeftEncode
(b *testing.B)
crypto/sha3/cshake_test.go:66
Function
BenchmarkPermutationFunction
BenchmarkPermutationFunction measures the speed of the permutation function with no input data.
crypto/sha3/sha3_test.go:228
Function
BenchmarkRightEncode
(b *testing.B)
crypto/sha3/cshake_test.go:73
Function
BenchmarkSha3_224_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:278
Function
BenchmarkSha3_256_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:277
Function
BenchmarkSha3_384_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:276
Function
BenchmarkSha3_512_1MiB
(b *testing.B)
crypto/sha3/sha3_test.go:285
Function
BenchmarkSha3_512_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:275
Function
BenchmarkShake128_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:280
Function
BenchmarkShake256_16x
(b *testing.B)
crypto/sha3/sha3_test.go:282
Function
BenchmarkShake256_1MiB
(b *testing.B)
crypto/sha3/sha3_test.go:283
Function
BenchmarkShake256_MTU
(b *testing.B)
crypto/sha3/sha3_test.go:281
Function
BenchmarkSigning
(b *testing.B)
crypto/ed25519/ed25519_test.go:159
Function
BenchmarkSingleInsert
(b *testing.B)
protocol/patricia/patricia_test.go:18
Function
BenchmarkUnmarshalJSONMap
(b *testing.B)
encoding/json/json_test.go:46
Function
BenchmarkVerification
(b *testing.B)
crypto/ed25519/ed25519_test.go:172
Function
BenchmarkXPrvChildHardened
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:31
Function
BenchmarkXPrvChildNonHardened
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:25
Function
BenchmarkXPrvSign
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:43
Function
BenchmarkXPubChild
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:37
Function
BenchmarkXPubVerify
(b *testing.B)
crypto/ed25519/chainkd/bench_test.go:49
Function
BlockKeyPairs
BlockKeyPairs returns the configured block-signing key-pairs for the provided Chain.
protocol/prottest/block.go:120
Method
BlockSize
BlockSize returns the rate of sponge underlying this hash function.
crypto/sha3/kmac.go:33
Method
BlockSize
BlockSize returns the rate of sponge underlying this hash function.
crypto/sha3/sha3.go:53
Method
BlockSize
BlockSize returns the rate of sponge underlying this hash function.
crypto/sha3/tuple_hash.go:92
Function
CShakeSum256
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
Method
Child
Child produces the child of xpub with the given selector.
crypto/ed25519/chainkd/chainkd.go:89
Method
Clone
()
crypto/sha3/kmac.go:43
Method
Clone
Clone returns a copy of the ShakeHash in its current state.
crypto/sha3/shake.go:28
Method
Clone
()
crypto/sha3/shake.go:34
Method
Clone
()
crypto/sha3/tuple_hash.go:102
Method
Commit
Commit runs any pending template callbacks.
protocol/txbuilder/template.go:194
Method
Derive
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
Function
DeriveXPubs
DeriveXPubs calls Derive on each XPub, all with the same path.
crypto/ed25519/chainkd/util.go:30
Method
Descriptor
()
protocol/state/rawsnapshot.pb.go:46
Method
Descriptor
()
protocol/bc/bc.pb.go:71
Method
Descriptor
()
protocol/bc/bc.pb.go:114
Method
Descriptor
()
protocol/bc/bc.pb.go:155
Method
Descriptor
()
protocol/bc/bc.pb.go:205
Method
Descriptor
()
protocol/bc/bc.pb.go:294
Method
Descriptor
()
protocol/bc/bc.pb.go:327
Function
DivInt32
DivInt32 returns a / b with an integer overflow check.
math/checked/checked.go:129
Function
DivInt64
DivInt64 returns a / b with an integer overflow check.
math/checked/checked.go:49
Function
DivUint32
DivUint32 returns a / b with an integer overflow check.
math/checked/checked.go:252
Function
DivUint64
DivUint64 returns a / b with an integer overflow check.
math/checked/checked.go:195
Method
EnumDescriptor
()
protocol/bc/bc.pb.go:58
Function
ExampleSub
()
errors/example_test.go:7
Function
ExampleSub_return
()
errors/example_test.go:15
Function
Example_mac
()
crypto/sha3/sha3_test.go:297
Function
Example_sum
()
crypto/sha3/sha3_test.go:287
Function
Fatalkv
Fatalkv is equivalent to Printkv() followed by a call to os.Exit(1).
log/log.go:153
Method
FinalizeHeight
FinalizeHeight satisfies the protocol.Store interface.
protocol/prottest/memstore/memstore.go:81
Method
GetArguments
()
protocol/bc/bc.pb.go:343
Method
GetBlock
GetBlock satisfies the protocol.Store interface.
protocol/prottest/memstore/memstore.go:59
Method
GetBytes
()
protocol/bc/bc.pb.go:164
Method
GetContractNodes
()
protocol/state/rawsnapshot.pb.go:48
Method
GetContractsRoot
()
protocol/bc/bc.pb.go:256
Method
GetExtraFields
()
protocol/bc/bc.pb.go:277
Method
GetHeader
()
protocol/state/rawsnapshot.pb.go:62
Method
GetHeader
()
protocol/bc/bc.pb.go:329
Method
GetHeight
()
protocol/bc/bc.pb.go:214
Method
GetInitialBlockId
()
protocol/state/rawsnapshot.pb.go:69
Method
GetInt
()
protocol/bc/bc.pb.go:171
Method
GetNextPredicate
()
protocol/bc/bc.pb.go:270
Method
GetNonceNodes
()
protocol/state/rawsnapshot.pb.go:55
Method
GetNoncesRoot
()
protocol/bc/bc.pb.go:263
Method
GetOtherFields
()
protocol/bc/bc.pb.go:137
Method
GetPreviousBlockId
()
protocol/bc/bc.pb.go:221
Method
GetProgram
()
protocol/bc/bc.pb.go:310
Method
GetPubkeys
()
protocol/bc/bc.pb.go:130
Method
GetQuorum
()
protocol/bc/bc.pb.go:123
Method
GetRefIds
()
protocol/state/rawsnapshot.pb.go:76
Method
GetRefsCount
()
protocol/bc/bc.pb.go:242
Method
GetRunlimit
()
protocol/bc/bc.pb.go:235
Method
GetRunlimit
()
protocol/bc/bc.pb.go:303
Method
GetTimestampMs
()
protocol/bc/bc.pb.go:228
Method
GetTransactions
()
protocol/bc/bc.pb.go:336
Method
GetTransactionsRoot
()
protocol/bc/bc.pb.go:249
Method
GetTuple
()
protocol/bc/bc.pb.go:178
Method
GetType
()
protocol/bc/bc.pb.go:157
Method
GetV0
()
protocol/bc/bc.pb.go:73
Method
GetV1
()
protocol/bc/bc.pb.go:80
← previous
next →
501–600 of 1,025, ranked by callers