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
GetV2
()
protocol/bc/bc.pb.go:87
Method
GetV3
()
protocol/bc/bc.pb.go:94
Method
GetVersion
()
protocol/bc/bc.pb.go:116
Method
GetVersion
()
protocol/bc/bc.pb.go:207
Method
GetVersion
()
protocol/bc/bc.pb.go:296
Method
Height
Height returns the height from the stored latest header.
protocol/state/snapshot.go:200
Method
Height
Height satisfies the protocol.Store interface.
protocol/prottest/memstore/memstore.go:29
Function
Initial
Initial returns the provided Chain's initial block.
protocol/prottest/block.go:109
Method
IsBoolFlag
()
cmd/hex/flag.go:31
Function
IsJSONSubset
(t testing.TB, a, b []byte, opts ...func(a, b interface{}))
testutil/deepequal.go:187
Method
LatestSnapshot
LatestSnapshot satisfies the protocol.Store interface.
protocol/prottest/memstore/memstore.go:70
Method
Len
()
protocol/txbuilder/template.go:142
Method
Less
(i, j int)
protocol/txbuilder/template.go:143
Function
LshiftInt32
LshiftInt32 returns a << b with an integer overflow check.
math/checked/checked.go:156
Function
LshiftInt64
LshiftInt64 returns a << b with an integer overflow check.
math/checked/checked.go:76
Function
LshiftUint32
LshiftUint32 returns a << b with an integer overflow check.
math/checked/checked.go:270
Function
LshiftUint64
LshiftUint64 returns a << b with an integer overflow check.
math/checked/checked.go:213
Method
MarshalBinary
MarshalBinary encodes the receiver into a binary form and returns the result (32-byte slice).
crypto/ed25519/ecmath/point_serialization.go:24
Method
MarshalJSON
MarshalJSON implements json.Marshaler.
encoding/json/duration.go:58
Method
MarshalJSON
MarshalJSON satisfies the json.Marshaler interface.
crypto/ed25519/json.go:19
Method
MarshalText
MarshalText satisfies the encoding.TextMarshaler interface.
encoding/json/json.go:17
Method
MarshalText
MarshalText returns a hex-encoded point.
crypto/ed25519/ecmath/point_serialization.go:62
Method
MarshalText
MarshalText satisfies the encoding.TextMarshaler interface.
crypto/ed25519/chainkd/serialize.go:18
Method
MarshalText
MarshalText satisfies the encoding.TextMarshaler interface.
crypto/ed25519/chainkd/serialize.go:30
Method
MarshalText
MarshalText fulfills the json.Marshaler interface. This guarantees that blocks will get deserialized correctly when being parsed from HTTP requests.
protocol/bc/block.go:86
Function
ModInt32
ModInt32 returns a % b with an integer overflow check.
math/checked/checked.go:138
Function
ModInt64
ModInt64 returns a % b with an integer overflow check.
math/checked/checked.go:58
Function
ModUint32
ModUint32 returns a % b with an integer overflow check.
math/checked/checked.go:261
Function
ModUint64
ModUint64 returns a % b with an integer overflow check.
math/checked/checked.go:204
Method
Mul
Mul 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:65
Function
MulInt32
MulInt32 returns a * b with an integer overflow check.
math/checked/checked.go:117
Function
MulInt64
MulInt64 returns a * b with an integer overflow check.
math/checked/checked.go:37
Function
MulUint32
MulUint32 returns a * b with an integer overflow check.
math/checked/checked.go:243
Function
MulUint64
MulUint64 returns a * b with an integer overflow check.
math/checked/checked.go:186
Method
Neg
Neg negates x (mod L) and places the result in z, returning that. X and z may be the same pointer.
crypto/ed25519/ecmath/scalar.go:77
Function
New
New creates a new writer that sends data to the given TCP address. It connects on the first call to Write, and attempts to reconnect when necessary, w
log/splunk/splunk.go:49
Function
NewTupleHashXOF256
NewTupleHashXOF256 provides an arbitrary-length output.
crypto/sha3/tuple_hash.go:87
Method
OnBuild
OnBuild registers a function that will be run after a successful call to Build.
protocol/txbuilder/template.go:177
Method
OnRollback
OnRollback registers a function that can be used to attempt to undo any side effects of building actions. For example, it might cancel any reservation
protocol/txbuilder/template.go:171
Method
ProtoMessage
()
protocol/state/rawsnapshot.pb.go:45
Method
ProtoMessage
()
protocol/bc/bc.pb.go:70
Method
ProtoMessage
()
protocol/bc/bc.pb.go:113
Method
ProtoMessage
()
protocol/bc/bc.pb.go:154
Method
ProtoMessage
()
protocol/bc/bc.pb.go:204
Method
ProtoMessage
()
protocol/bc/bc.pb.go:293
Method
ProtoMessage
()
protocol/bc/bc.pb.go:326
Method
Prune
Prune performs the pruning operation in-place.
crypto/ed25519/ecmath/scalar.go:93
Method
PushdataByte
PushdataByte writes instructions to b, pushing byt onto the stack.
protocol/txvm/txvmutil/builder.go:106
Method
PushdataBytes
PushdataBytes writes instructions to b pushing data onto the stack.
protocol/txvm/txvmutil/builder.go:98
Method
PushdataInt64
PushdataInt64 writes instructions to b pushing v onto the stack.
protocol/txvm/txvmutil/builder.go:114
Method
Read
(buf []byte)
crypto/ed25519/ed25519_test.go:24
Method
Read
(buf []byte)
testutil/keys.go:29
Method
Read
(p []byte)
cmd/hex/main.go:55
Method
Read
(p []byte)
cmd/hex/main.go:80
Method
Read
(p []byte)
cmd/hex/main.go:108
Method
ReadFrom
ReadFrom attempts to read 32 bytes and decode a point.
crypto/ed25519/ecmath/point_serialization.go:49
Function
RecoverAndLogError
RecoverAndLogError must be used inside a defer.
log/log.go:235
Method
Reduce
Reduce takes a 512-bit scalar and reduces it mod L, placing the result in z and returning that.
crypto/ed25519/ecmath/scalar.go:101
Method
Reset
()
crypto/sha3/kmac.go:38
Method
Reset
Reset clears the internal state by zeroing the sponge state and the byte buffer, and setting Sponge.state to absorbing.
crypto/sha3/sha3.go:60
Method
Reset
()
crypto/sha3/tuple_hash.go:97
Method
Reset
()
protocol/state/rawsnapshot.pb.go:43
Method
Reset
()
protocol/bc/bc.pb.go:68
Method
Reset
()
protocol/bc/bc.pb.go:111
Method
Reset
()
protocol/bc/bc.pb.go:152
Method
Reset
()
protocol/bc/bc.pb.go:202
Method
Reset
()
protocol/bc/bc.pb.go:291
Method
Reset
()
protocol/bc/bc.pb.go:324
Function
Results
Results produces a Result for each of several bc.Tx's in concurrent goroutines.
protocol/txbuilder/txresult/result.go:136
Function
RshiftInt64
RshiftInt64 returns a >> b with an integer overflow check.
math/checked/checked.go:88
Method
SaveBlock
SaveBlock satisfies the protocol.Store interface.
protocol/prottest/memstore/memstore.go:37
Method
SaveSnapshot
SaveSnapshot satisfies the protocol.Store interface.
protocol/prottest/memstore/memstore.go:50
Method
ScMulCofactor
ScMulCofactor computes 8*p, where p is the ed25519 point and 8 is a cofactor, and places the result in z, returning that.
crypto/ed25519/ecmath/point.go:74
Method
Scan
Scan fulfills the sql.Scanner interface.
protocol/bc/block.go:108
Method
Scan
Scan satisfies the database.sql.Scanner interface.
protocol/bc/blockheader.go:63
Method
Set
(s string)
cmd/hex/flag.go:21
Method
SetInt64
SetInt64 sets the scalar to a given integer value.
crypto/ed25519/ecmath/scalar.go:50
Method
SetOutputV1
SetOutputV1 causes Template.Tx to produce old-style outputs, which don't log token tags. The default is for version 2 outputs, which do.
protocol/txbuilder/template.go:64
Function
ShakeSum128
ShakeSum128 writes an arbitrary-length digest of data into hash.
crypto/sha3/shake.go:49
Method
Size
Size returns the output size of the hash function in bytes.
crypto/sha3/kmac.go:36
Method
Size
Size returns the output size of the hash function in bytes.
crypto/sha3/sha3.go:56
Method
Size
Size returns the output size of the hash function in bytes.
crypto/sha3/tuple_hash.go:95
Method
String
String returns hex representation of a EC point
crypto/ed25519/ecmath/point_serialization.go:19
Method
String
()
crypto/ed25519/ecmath/scalar.go:106
Method
String
String produces a hex-encoded copy of xpub.
crypto/ed25519/chainkd/serialize.go:51
Method
String
()
crypto/ed25519/chainkd/serialize.go:64
Method
String
()
protocol/state/rawsnapshot.pb.go:44
Method
String
()
protocol/txvm/entries.go:76
Method
String
()
protocol/txvm/entries.go:145
Method
String
()
protocol/txvm/stack.go:9
Method
String
()
protocol/txvm/item.go:80
Method
String
()
protocol/txvm/item.go:84
Method
String
()
protocol/txvm/item.go:95
Method
String
()
protocol/bc/bc.pb.go:55
Method
String
()
protocol/bc/bc.pb.go:69
Method
String
()
protocol/bc/bc.pb.go:112
Method
String
()
protocol/bc/bc.pb.go:153
Method
String
()
protocol/bc/bc.pb.go:203
Method
String
()
protocol/bc/bc.pb.go:292
Method
String
()
protocol/bc/bc.pb.go:325
← previous
next →
601–700 of 1,025, ranked by callers