MCPcopy Create free account

hub / github.com/chain/txvm / functions

Functions1,025 in github.com/chain/txvm

FunctionTestMarshalJSONMap
(t *testing.T)
encoding/json/json_test.go:8
FunctionTestMarshalingFuncs
(t *testing.T)
crypto/ed25519/chainkd/serialize_test.go:11
FunctionTestMessagef
(t *testing.T)
log/log_test.go:182
FunctionTestMillis
(t *testing.T)
protocol/bc/time_test.go:8
FunctionTestMultisig
(t *testing.T)
protocol/txbuilder/txbuilder_test.go:397
FunctionTestNewChainHeight
(t *testing.T)
protocol/protocol_test.go:11
FunctionTestNewTx
(t *testing.T)
protocol/bc/tx_test.go:20
FunctionTestNoExtraFormatDirectives
(t *testing.T)
log/log_test.go:28
FunctionTestNoTimeTravel
(t *testing.T)
protocol/block_test.go:57
FunctionTestNoValidate
(t *testing.T)
protocol/txvm/vm_test.go:32
FunctionTestOpcodeVals
(t *testing.T)
protocol/txvm/op/opcode_test.go:5
FunctionTestOpenFail
(t *testing.T)
log/rotation/file_test.go:191
FunctionTestOptions
(t *testing.T)
protocol/txvm/vm_test.go:157
FunctionTestPersistSnapshot
(t *testing.T)
protocol/block_test.go:227
FunctionTestPrefix
(t *testing.T)
log/log_test.go:40
FunctionTestPrintkv
(t *testing.T)
log/log_test.go:105
FunctionTestPrintkvStack
(t *testing.T)
log/log_test.go:207
FunctionTestProgCreation
(t *testing.T)
protocol/txbuilder/standard/standard_test.go:46
FunctionTestRawStack
(t *testing.T)
log/log_test.go:271
FunctionTestRecoverSnapshotAdditionalBlocks
(t *testing.T)
protocol/recover_test.go:80
FunctionTestRecoverSnapshotNoAdditionalBlocks
(t *testing.T)
protocol/recover_test.go:14
FunctionTestRefIDNonce
(t *testing.T)
protocol/state/snapshot_test.go:162
FunctionTestResult
(t *testing.T)
protocol/txbuilder/txresult/txresult_test.go:23
FunctionTestResults
(t *testing.T)
protocol/txbuilder/txbuilder_test.go:279
FunctionTestRootHashBug
(t *testing.T)
protocol/patricia/patricia_test.go:62
FunctionTestRootHashInsertQuickCheck
(t *testing.T)
protocol/patricia/patricia_test.go:124
FunctionTestRootHashes
(t *testing.T)
protocol/patricia/patricia_test.go:621
FunctionTestRotate
(t *testing.T)
log/rotation/file_test.go:10
FunctionTestRotate0
(t *testing.T)
log/rotation/file_test.go:59
FunctionTestRunlimits
(t *testing.T)
protocol/txvm/asm/runlimit_test.go:12
FunctionTestScanner
(t *testing.T)
protocol/txvm/asm/scanner_test.go:13
FunctionTestSeeds
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
FunctionTestSetOutput
(t *testing.T)
log/log_test.go:16
FunctionTestSigBits
(t *testing.T)
protocol/txbuilder/txbuilder_test.go:360
FunctionTestSignBlock
(t *testing.T)
protocol/bc/block_test.go:163
FunctionTestSignVerify
(t *testing.T)
crypto/ed25519/ed25519_test.go:49
FunctionTestSimpleOpcodes
(t *testing.T)
protocol/txvm/simple_ops_test.go:13
FunctionTestSqueezing
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
FunctionTestStripSpace
(t *testing.T)
cmd/hex/main_test.go:10
FunctionTestSub
(t *testing.T)
errors/errors_test.go:122
FunctionTestTrees
(t *testing.T)
protocol/merkle/merkle_test.go:75
FunctionTestTupleHashNISTSample1
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
FunctionTestTupleHashNISTSample2
(t *testing.T)
crypto/sha3/tuple_hash_test.go:38
FunctionTestTupleHashNISTSample3
(t *testing.T)
crypto/sha3/tuple_hash_test.go:63
FunctionTestTupleHashNISTSample4
(t *testing.T)
crypto/sha3/tuple_hash_test.go:89
FunctionTestTupleHashNISTSample5
(t *testing.T)
crypto/sha3/tuple_hash_test.go:114
FunctionTestTupleHashNISTSample6
(t *testing.T)
crypto/sha3/tuple_hash_test.go:139
FunctionTestTupleHashXOFNISTSample1
(t *testing.T)
crypto/sha3/tuple_hash_test.go:165
FunctionTestTupleHashXOFNISTSample2
(t *testing.T)
crypto/sha3/tuple_hash_test.go:191
FunctionTestTupleHashXOFNISTSample3
(t *testing.T)
crypto/sha3/tuple_hash_test.go:207
FunctionTestTupleHashXOFNISTSample4
(t *testing.T)
crypto/sha3/tuple_hash_test.go:224
FunctionTestTupleHashXOFNISTSample5
(t *testing.T)
crypto/sha3/tuple_hash_test.go:240
FunctionTestTupleHashXOFNISTSample6
(t *testing.T)
crypto/sha3/tuple_hash_test.go:256
FunctionTestTxBuilder
(t *testing.T)
protocol/txbuilder/txbuilder_test.go:27
FunctionTestTxMerkleRoot
(t *testing.T)
protocol/bc/merkle_test.go:8
FunctionTestUint32
(t *testing.T)
math/checked/checked_test.go:195
FunctionTestUint64
(t *testing.T)
math/checked/checked_test.go:86
FunctionTestUnmarshalDuration
(t *testing.T)
encoding/json/duration_test.go:10
FunctionTestUnmarshalMarshal
(t *testing.T)
crypto/ed25519/ed25519_test.go:31
FunctionTestVMFuzz
(t *testing.T)
protocol/txvm/vm_test.go:15
FunctionTestVMHash
(t *testing.T)
protocol/txvm/crypto_test.go:10
FunctionTestValidate
(t *testing.T)
protocol/txvm/vm_test.go:51
FunctionTestVectors
(t *testing.T)
protocol/merkle/merkle_test.go:56
FunctionTestWalk
(t *testing.T)
protocol/patricia/patricia_test.go:560
FunctionTestWitnessHash
(t *testing.T)
protocol/bc/tx_test.go:209
FunctionTestWrap
(t *testing.T)
errors/errors_test.go:10
FunctionTestWrapMsg
(t *testing.T)
errors/errors_test.go:67
FunctionTestWrapNil
(t *testing.T)
errors/errors_test.go:50
FunctionTestWrapf
(t *testing.T)
errors/errors_test.go:59
FunctionTestWrite
(t *testing.T)
log/rotation/file_test.go:153
FunctionTestWriteRawStack
(t *testing.T)
log/log_test.go:331
FunctionTestWriter
(t *testing.T)
errors/writer_test.go:8
MethodTuple
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
MethodUnmarshalBinary
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
MethodUnmarshalJSON
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
MethodUnmarshalJSON
UnmarshalJSON satisfies the json.Unmarshaler interface.
crypto/ed25519/json.go:11
MethodUnmarshalText
UnmarshalText satisfies the encoding.TextUnmarshaler interface
encoding/json/json.go:22
MethodUnmarshalText
UnmarshalText decodes a point from a hex-encoded buffer.
crypto/ed25519/ecmath/point_serialization.go:70
MethodUnmarshalText
UnmarshalText satisfies the encoding.TextUnmarshaler interface.
crypto/ed25519/chainkd/serialize.go:42
MethodUnmarshalText
UnmarshalText satisfies the encoding.TextUnmarshaler interface.
crypto/ed25519/chainkd/serialize.go:56
MethodValue
Value fulfills the sql.driver.Valuer interface.
protocol/bc/block.go:119
MethodValue
Value satisfies the Valuer interface from database/sql/driver.
protocol/bc/blockheader.go:74
FunctionWithBlockSigners
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
FunctionWithOutputIDs
WithOutputIDs is an option for NewChain that prepopulates the blockchain's utxo set with the given hashes.
protocol/prottest/block.go:35
FunctionWithSort
(path []string, less func(a, b interface{}) bool)
testutil/deepequal.go:160
FunctionWithStore
WithStore is an option for NewChain that sets the Chain object's protocol.Store.
protocol/prottest/block.go:29
MethodWrite
(p []byte)
crypto/sha3/tuple_hash.go:106
MethodWrite
(p []byte)
log/splunk/splunk.go:56
MethodWrite
(p []byte)
errors/writer_test.go:44
MethodWriteItem
WriteItem writes length-prefixed item to the hash state.
crypto/sha3/tuple_hash.go:27
MethodWriteItem
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
MethodWriteItemPrefix
WriteItemPrefix writes length prefix to the hash state and must be followed by normal Write calls.
crypto/sha3/tuple_hash.go:18
MethodWriteItemPrefix
WriteItemPrefix writes length prefix to the hash state and must be followed by normal Write calls.
crypto/sha3/tuple_hash.go:31
MethodWriteItemPrefix
WriteItemPrefix writes length prefix to the hash state and must be followed by normal Write calls.
crypto/sha3/tuple_hash.go:120
MethodWriteTo
WriteTo writes 32-byte encoding of a point.
crypto/ed25519/ecmath/point_serialization.go:43
FunctionXPubKeys
XPubKeys extracts the ed25519.PublicKey from each XPub.
crypto/ed25519/chainkd/util.go:21
MethodZero
()
crypto/ed25519/internal/edwards25519/edwards25519.go:651
MethodZero
()
crypto/ed25519/internal/edwards25519/edwards25519.go:776
Functionand
(a, b byte)
protocol/txvm/bitwise.go:40
Functionbuild
(args []string)
cmd/block/block.go:46
← previousnext →801–900 of 1,025, ranked by callers