MCPcopy Create free account

hub / github.com/chain/txvm / types & classes

Types & classes110 in github.com/chain/txvm

↓ 562 callersTypeAliasInt
Int is a stack item containing a 64-bit signed integer.
protocol/txvm/item.go:29
↓ 441 callersTypeAliasBytes
Bytes is a stack item containing a sequence of bytes.
protocol/txvm/item.go:32
↓ 12 callersTypeAliasPublicKey
PublicKey is the type of Ed25519 public keys.
crypto/ed25519/ed25519.go:38
↓ 3 callersTypeAliasPrivateKey
PrivateKey is the type of Ed25519 private keys. It implements crypto.Signer.
crypto/ed25519/ed25519.go:41
↓ 3 callersTypeAliasvmError
protocol/txvm/error.go:9
↓ 1 callersTypeAliasMap
Map is a byte slice that should parse as a string encoding a JSON object. This is checked in UnmarshalJSON.
encoding/json/json.go:31
↓ 1 callersTypeAliasTuple
Tuple is a stack item containing a sequence of zero or more Data items.
protocol/txvm/item.go:35
↓ 1 callersTypeAliasnotBoolValue
notBoolValue is like flag.boolValue but it inverts the value.
cmd/hex/flag.go:10
↓ 1 callersTypeAliasorderedEntries
orderedEntries satisfies sort.Interface
protocol/txbuilder/template.go:140
StructAuditHash
AuditHash stores the hash value and denotes which side of the concatenation operation it should be on. For example, if we have a hashed item A and an
protocol/merkle/merkle.go:22
StructBlock
protocol/bc/block.go:21
StructBlockBuilder
protocol/builder.go:21
StructBlockHeader
BlockHeader is the header of a Block: everything except the block's transactions and predicate args.
protocol/bc/bc.pb.go:187
StructBuilder
Builder helps programmatically build txvm programs.
protocol/txvm/txvmutil/builder.go:17
StructCachedGroupElement
crypto/ed25519/internal/edwards25519/edwards25519.go:647
StructChain
Chain provides a complete, minimal blockchain database. It delegates the underlying storage to other objects, and uses validation logic from package v
protocol/protocol.go:113
StructCommitmentsTx
CommitmentsTx wraps a Tx with its nonce and witness commitments.
protocol/bc/tx.go:34
StructCompletedGroupElement
crypto/ed25519/internal/edwards25519/edwards25519.go:639
StructContract
Contract contains the ID of an input or an output from the txvm log. The Type field tells which kind of contract it is (InputType or OutputType).
protocol/bc/tx.go:49
InterfaceData
Data is an interface for plain-old-data stack items.
protocol/txvm/item.go:22
StructDataItem
DataItem is a txvm plain-data item: bytes, int, or tuple.
protocol/bc/bc.pb.go:145
TypeAliasDataType
please upgrade the proto package DataType is the type for a DataItem.
protocol/bc/bc.pb.go:36
StructDuration
Duration is a time.Duration with JSON unmarshaling that uses time.ParseDuration.
encoding/json/duration.go:13
InterfaceEntry
Entry is the interface for txvm stack items that are not plain data.
protocol/txvm/entries.go:26
StructExtendedGroupElement
crypto/ed25519/internal/edwards25519/edwards25519.go:635
TypeAliasFieldElement
This code is a port of the public domain, “ref10” implementation of ed25519 from SUPERCOP. FieldElement represents an element of the field GF(2^255 -
crypto/ed25519/internal/edwards25519/edwards25519.go:15
StructFile
A File is a log file with associated rotation files. The rotation files are named after the base file with a numeric suffix: base.1, base.2, and so on
log/rotation/file.go:21
StructHash
Hash is a 32-byte hash.
protocol/bc/bc.pb.go:61
TypeAliasHexBytes
HexBytes is a byte slice with hex encoding and decoding when marshaled and unmarshaled.
encoding/json/json.go:14
StructInput
Input is a parsed input-typed txvm log entry, plus information derived from stack introspection during execution.
protocol/bc/tx.go:78
StructInput
Input contains information needed to add an input to a transaction. It is added to a template with AddInput.
protocol/txbuilder/template.go:93
StructInput
Input contains information parsed from input records in a transaction log.
protocol/txbuilder/txresult/result.go:53
StructIssuance
Issuance is a parsed issuance-typed txvm log entry.
protocol/bc/tx.go:87
StructIssuance
Issuance contains information needed to add an issuance to a transaction. It is added to a template with AddIssuance.
protocol/txbuilder/template.go:70
StructIssuance
Issuance contains information parsed from issuance records in a transaction log.
protocol/txbuilder/txresult/result.go:63
InterfaceItem
Item is an interface for all txvm stack items.
protocol/txvm/item.go:14
StructKeccakKats
structs used to marshal JSON test-cases.
crypto/sha3/sha3_test.go:67
StructMemStore
MemStore satisfies the Store interface.
protocol/prottest/memstore/memstore.go:17
StructNonce
Nonce is a parsed nonce-typed txvm log entry.
protocol/bc/tx.go:60
FuncTypeOption
Option is a configuration option for NewChain.
protocol/prottest/block.go:25
StructOption
Option is the type of a function that can be passed as an option to Validate.
protocol/txvm/option.go:13
StructOutput
Output is a parsed output-typed txvm log entry, plus information derived from stack introspection during execution.
protocol/bc/tx.go:68
StructOutput
Output contains information needed to add an output to a transaction. It is added to a template with AddOutput.
protocol/txbuilder/template.go:110
StructOutput
Output contains information parsed from output records in a transaction log.
protocol/txbuilder/txresult/result.go:40
TypeAliasPoint
Point is a point on the ed25519 curve.
crypto/ed25519/ecmath/point.go:10
StructPreComputedGroupElement
crypto/ed25519/internal/edwards25519/edwards25519.go:643
StructPredicate
Predicate contains the quorum and pubkeys needed to authenticate a block.
protocol/bc/bc.pb.go:102
StructProjectiveGroupElement
Group elements are members of the elliptic curve -x^2 + y^2 = 1 + d * x^2 * y^2 where d = -121665/121666. Several representations are used: Projectiv
crypto/ed25519/internal/edwards25519/edwards25519.go:631
StructRawBlock
RawBlock is a raw block.
protocol/bc/bc.pb.go:318
StructRawSnapshot
please upgrade the proto package Snapshot represents a snapshot of the blockchain, including the contracts tree and issuance memory.
protocol/state/rawsnapshot.pb.go:33
StructRawTx
RawTx is a raw transaction, before processing through txvm.
protocol/bc/bc.pb.go:285
StructResult
Result is a container for information that can be parsed from the transaction log of a completed txvm program. Extra log annotations produced by the t
protocol/txbuilder/txresult/result.go:17
StructRetirement
Retirement is a parsed retirement-typed txvm log entry.
protocol/bc/tx.go:98
StructRetirement
Retirement contains information needed to add a retirement to a transaction. It is added to a template with AddRetirement.
protocol/txbuilder/template.go:123
StructRetirement
Retirement contains information parsed from retirement records in a transaction log.
protocol/txbuilder/txresult/result.go:78
TypeAliasScalar
Scalar is a 256-bit little-endian scalar.
crypto/ed25519/ecmath/scalar.go:12
InterfaceShakeHash
ShakeHash defines the interface to hash functions that support arbitrary-length output.
crypto/sha3/shake.go:17
FuncTypeSignFunc
SignFunc is the type of a callback that can generate a signature for a given message and a given keyID and derivation path. If the function does not r
protocol/txbuilder/template.go:298
StructSnapshot
Snapshot contains a blockchain's state. TODO: consider making type Snapshot truly immutable. We already handle it that way in many places (with expl
protocol/state/snapshot.go:23
InterfaceStore
Store provides storage for blockchain data: blocks and state tree snapshots. Note, this is different from a state snapshot. A state snapshot provides
protocol/protocol.go:99
StructTemplate
Template contains the ingredients for a transaction: Issuances, Inputs, Outputs, and Retirements, plus transaction tags and min- and maxtimes. A Templ
protocol/txbuilder/template.go:43
StructTimerange
Timerange is a parsed timerange-typed txvm log entry.
protocol/bc/tx.go:55
StructTree
Tree implements a patricia tree.
protocol/patricia/patricia.go:36
StructTupleBuilder
TupleBuilder wraps a Builder, exposing only pushdata operations.
protocol/txvm/txvmutil/builder.go:91
InterfaceTupleHash
TupleHash defines the interface to hash functions that support tuple input.
crypto/sha3/tuple_hash.go:10
InterfaceTupleHashXOF
TupleHashXOF defines the interface to hash functions that support tuple input with extensible output.
crypto/sha3/tuple_hash.go:23
StructTx
Tx contains the input to an instance of the txvm virtual machine, plus parsed copies of its various side effects.
protocol/bc/tx.go:14
StructUnsignedBlock
UnsignedBlock describes a block with its transactions but no signatures (predicate args).
protocol/bc/block.go:16
StructVM
VM is a virtual machine for executing Chain Protocol transactions.
protocol/txvm/vm.go:18
StructValue
Value is a value triple (amount, assetID, and anchor) parsed from annotations in a transaction log. Objects below use *Value fields, with nil signifyi
protocol/txbuilder/txresult/result.go:32
TypeAliasValue
encoding/json/value.go:5
FuncTypeWalkFunc
WalkFunc is the type of the function called for each item visited by Walk. If an error is returned, processing stops.
protocol/patricia/patricia.go:42
StructWriter
Writer is in an implementation of the "sticky error writer" pattern as described in https://blog.golang.org/errors-are-values. A Writer makes one cal
errors/writer.go:20
TypeAliasXPrv
XPrv is an extended private key from which child keys may be derived.
crypto/ed25519/chainkd/chainkd.go:16
TypeAliasXPub
XPub is an extended public key from which child keys may be derived.
crypto/ed25519/chainkd/chainkd.go:20
Structassembler
protocol/txvm/asm/asm.go:100
StructauditHashT
protocol/merkle/merkle_test.go:8
Structconfig
protocol/prottest/block.go:61
Structcontract
protocol/txvm/entries.go:89
StructdecodeReader
cmd/hex/main.go:74
StructencodeReader
cmd/hex/main.go:36
Interfaceentry
protocol/txbuilder/template.go:130
Structin
protocol/merkle/merkle_test.go:76
Structjump
protocol/txvm/asm/asm.go:17
TypeAliaskey
context key type
log/log.go:20
Structkmac
crypto/sha3/kmac.go:5
Structmacro
protocol/txvm/asm/asm.go:23
Structmaterialization
protocol/txbuilder/template.go:404
Structnode
node is a leaf or branch node in a tree
protocol/patricia/patricia.go:274
Structrun
go:generate go run gen.go A "run" is a program and a position in it
protocol/txvm/vm.go:12
Structs
testutil/deepequal_test.go:6
StructscannedToken
protocol/txvm/asm/scanner_test.go:8
Structscanner
protocol/txvm/asm/scanner.go:11
StructsplitLineReader
cmd/hex/main.go:49
Structsplunk
log/splunk/splunk.go:26
TypeAliasspongeDirection
spongeDirection indicates the direction bytes are flowing through the sponge.
crypto/sha3/sha3.go:8
TypeAliasstack
protocol/txvm/stack.go:7
StructstackItem
protocol/txbuilder/template.go:367
Structstate
crypto/sha3/sha3.go:23
StructstripSpaceReader
cmd/hex/main.go:104
next →1–100 of 110, ranked by callers