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
Function
TestMarshalJSONMap
(t *testing.T)
encoding/json/json_test.go:8
Function
TestMarshalingFuncs
(t *testing.T)
crypto/ed25519/chainkd/serialize_test.go:11
Function
TestMessagef
(t *testing.T)
log/log_test.go:182
Function
TestMillis
(t *testing.T)
protocol/bc/time_test.go:8
Function
TestMultisig
(t *testing.T)
protocol/txbuilder/txbuilder_test.go:397
Function
TestNewChainHeight
(t *testing.T)
protocol/protocol_test.go:11
Function
TestNewTx
(t *testing.T)
protocol/bc/tx_test.go:20
Function
TestNoExtraFormatDirectives
(t *testing.T)
log/log_test.go:28
Function
TestNoTimeTravel
(t *testing.T)
protocol/block_test.go:57
Function
TestNoValidate
(t *testing.T)
protocol/txvm/vm_test.go:32
Function
TestOpcodeVals
(t *testing.T)
protocol/txvm/op/opcode_test.go:5
Function
TestOpenFail
(t *testing.T)
log/rotation/file_test.go:191
Function
TestOptions
(t *testing.T)
protocol/txvm/vm_test.go:157
Function
TestPersistSnapshot
(t *testing.T)
protocol/block_test.go:227
Function
TestPrefix
(t *testing.T)
log/log_test.go:40
Function
TestPrintkv
(t *testing.T)
log/log_test.go:105
Function
TestPrintkvStack
(t *testing.T)
log/log_test.go:207
Function
TestProgCreation
(t *testing.T)
protocol/txbuilder/standard/standard_test.go:46
Function
TestRawStack
(t *testing.T)
log/log_test.go:271
Function
TestRecoverSnapshotAdditionalBlocks
(t *testing.T)
protocol/recover_test.go:80
Function
TestRecoverSnapshotNoAdditionalBlocks
(t *testing.T)
protocol/recover_test.go:14
Function
TestRefIDNonce
(t *testing.T)
protocol/state/snapshot_test.go:162
Function
TestResult
(t *testing.T)
protocol/txbuilder/txresult/txresult_test.go:23
Function
TestResults
(t *testing.T)
protocol/txbuilder/txbuilder_test.go:279
Function
TestRootHashBug
(t *testing.T)
protocol/patricia/patricia_test.go:62
Function
TestRootHashInsertQuickCheck
(t *testing.T)
protocol/patricia/patricia_test.go:124
Function
TestRootHashes
(t *testing.T)
protocol/patricia/patricia_test.go:621
Function
TestRotate
(t *testing.T)
log/rotation/file_test.go:10
Function
TestRotate0
(t *testing.T)
log/rotation/file_test.go:59
Function
TestRunlimits
(t *testing.T)
protocol/txvm/asm/runlimit_test.go:12
Function
TestScanner
(t *testing.T)
protocol/txvm/asm/scanner_test.go:13
Function
TestSeeds
TestSeeds ensures we don't change our standard contracts without also (a) retaining support for old versions and (b) adding support for new versions.
protocol/txbuilder/standard/standard_test.go:19
Function
TestSetOutput
(t *testing.T)
log/log_test.go:16
Function
TestSigBits
(t *testing.T)
protocol/txbuilder/txbuilder_test.go:360
Function
TestSignBlock
(t *testing.T)
protocol/bc/block_test.go:163
Function
TestSignVerify
(t *testing.T)
crypto/ed25519/ed25519_test.go:49
Function
TestSimpleOpcodes
(t *testing.T)
protocol/txvm/simple_ops_test.go:13
Function
TestSqueezing
TestSqueezing checks that squeezing the full output a single time produces the same output as repeatedly squeezing the instance.
crypto/sha3/sha3_test.go:194
Function
TestStripSpace
(t *testing.T)
cmd/hex/main_test.go:10
Function
TestSub
(t *testing.T)
errors/errors_test.go:122
Function
TestTrees
(t *testing.T)
protocol/merkle/merkle_test.go:75
Function
TestTupleHashNISTSample1
Test vectors from: - http://csrc.nist.gov/groups/ST/toolkit/documents/Examples/TupleHash_samples.pdf - http://csrc.nist.gov/groups/ST/toolkit/document
crypto/sha3/tuple_hash_test.go:13
Function
TestTupleHashNISTSample2
(t *testing.T)
crypto/sha3/tuple_hash_test.go:38
Function
TestTupleHashNISTSample3
(t *testing.T)
crypto/sha3/tuple_hash_test.go:63
Function
TestTupleHashNISTSample4
(t *testing.T)
crypto/sha3/tuple_hash_test.go:89
Function
TestTupleHashNISTSample5
(t *testing.T)
crypto/sha3/tuple_hash_test.go:114
Function
TestTupleHashNISTSample6
(t *testing.T)
crypto/sha3/tuple_hash_test.go:139
Function
TestTupleHashXOFNISTSample1
(t *testing.T)
crypto/sha3/tuple_hash_test.go:165
Function
TestTupleHashXOFNISTSample2
(t *testing.T)
crypto/sha3/tuple_hash_test.go:191
Function
TestTupleHashXOFNISTSample3
(t *testing.T)
crypto/sha3/tuple_hash_test.go:207
Function
TestTupleHashXOFNISTSample4
(t *testing.T)
crypto/sha3/tuple_hash_test.go:224
Function
TestTupleHashXOFNISTSample5
(t *testing.T)
crypto/sha3/tuple_hash_test.go:240
Function
TestTupleHashXOFNISTSample6
(t *testing.T)
crypto/sha3/tuple_hash_test.go:256
Function
TestTxBuilder
(t *testing.T)
protocol/txbuilder/txbuilder_test.go:27
Function
TestTxMerkleRoot
(t *testing.T)
protocol/bc/merkle_test.go:8
Function
TestUint32
(t *testing.T)
math/checked/checked_test.go:195
Function
TestUint64
(t *testing.T)
math/checked/checked_test.go:86
Function
TestUnmarshalDuration
(t *testing.T)
encoding/json/duration_test.go:10
Function
TestUnmarshalMarshal
(t *testing.T)
crypto/ed25519/ed25519_test.go:31
Function
TestVMFuzz
(t *testing.T)
protocol/txvm/vm_test.go:15
Function
TestVMHash
(t *testing.T)
protocol/txvm/crypto_test.go:10
Function
TestValidate
(t *testing.T)
protocol/txvm/vm_test.go:51
Function
TestVectors
(t *testing.T)
protocol/merkle/merkle_test.go:56
Function
TestWalk
(t *testing.T)
protocol/patricia/patricia_test.go:560
Function
TestWitnessHash
(t *testing.T)
protocol/bc/tx_test.go:209
Function
TestWrap
(t *testing.T)
errors/errors_test.go:10
Function
TestWrapMsg
(t *testing.T)
errors/errors_test.go:67
Function
TestWrapNil
(t *testing.T)
errors/errors_test.go:50
Function
TestWrapf
(t *testing.T)
errors/errors_test.go:59
Function
TestWrite
(t *testing.T)
log/rotation/file_test.go:153
Function
TestWriteRawStack
(t *testing.T)
log/log_test.go:331
Function
TestWriter
(t *testing.T)
errors/writer_test.go:8
Method
Tuple
Tuple executes fn, passing in a TupleBuilder that exposes pushdata operations. All operations performed on the TupleBuilder during fn are shadowed to
protocol/txvm/txvmutil/builder.go:125
Method
UnmarshalBinary
UnmarshalBinary decodes point for a given slice. Returns error if the slice is not 32-bytes long or the encoding is invalid.
crypto/ed25519/ecmath/point_serialization.go:30
Method
UnmarshalJSON
UnmarshalJSON fulfills the encoding/json.Unmarshaler interface. It attempts to parse text as a time.Duration string. The Go documentation defines this
encoding/json/duration.go:24
Method
UnmarshalJSON
UnmarshalJSON satisfies the json.Unmarshaler interface.
crypto/ed25519/json.go:11
Method
UnmarshalText
UnmarshalText satisfies the encoding.TextUnmarshaler interface
encoding/json/json.go:22
Method
UnmarshalText
UnmarshalText decodes a point from a hex-encoded buffer.
crypto/ed25519/ecmath/point_serialization.go:70
Method
UnmarshalText
UnmarshalText satisfies the encoding.TextUnmarshaler interface.
crypto/ed25519/chainkd/serialize.go:42
Method
UnmarshalText
UnmarshalText satisfies the encoding.TextUnmarshaler interface.
crypto/ed25519/chainkd/serialize.go:56
Method
Value
Value fulfills the sql.driver.Valuer interface.
protocol/bc/block.go:119
Method
Value
Value satisfies the Valuer interface from database/sql/driver.
protocol/bc/blockheader.go:74
Function
WithBlockSigners
WithBlockSigners is an option for NewChain that configures the NextPredicate for blocks in the new chain. It generates a suitable number of random new
protocol/prottest/block.go:47
Function
WithOutputIDs
WithOutputIDs is an option for NewChain that prepopulates the blockchain's utxo set with the given hashes.
protocol/prottest/block.go:35
Function
WithSort
(path []string, less func(a, b interface{}) bool)
testutil/deepequal.go:160
Function
WithStore
WithStore is an option for NewChain that sets the Chain object's protocol.Store.
protocol/prottest/block.go:29
Method
Write
(p []byte)
crypto/sha3/tuple_hash.go:106
Method
Write
(p []byte)
log/splunk/splunk.go:56
Method
Write
(p []byte)
errors/writer_test.go:44
Method
WriteItem
WriteItem writes length-prefixed item to the hash state.
crypto/sha3/tuple_hash.go:27
Method
WriteItem
WriteItem writes a tuple item with a necessary length prefix. If you need to write several chunks of one item, either buffer them first in a single sl
crypto/sha3/tuple_hash.go:113
Method
WriteItemPrefix
WriteItemPrefix writes length prefix to the hash state and must be followed by normal Write calls.
crypto/sha3/tuple_hash.go:18
Method
WriteItemPrefix
WriteItemPrefix writes length prefix to the hash state and must be followed by normal Write calls.
crypto/sha3/tuple_hash.go:31
Method
WriteItemPrefix
WriteItemPrefix writes length prefix to the hash state and must be followed by normal Write calls.
crypto/sha3/tuple_hash.go:120
Method
WriteTo
WriteTo writes 32-byte encoding of a point.
crypto/ed25519/ecmath/point_serialization.go:43
Function
XPubKeys
XPubKeys extracts the ed25519.PublicKey from each XPub.
crypto/ed25519/chainkd/util.go:21
Method
Zero
()
crypto/ed25519/internal/edwards25519/edwards25519.go:651
Method
Zero
()
crypto/ed25519/internal/edwards25519/edwards25519.go:776
Function
and
(a, b byte)
protocol/txvm/bitwise.go:40
Function
build
(args []string)
cmd/block/block.go:46
← previous
next →
801–900 of 1,025, ranked by callers