MCPcopy Create free account
hub / github.com/chain/txvm / stackItem

Struct stackItem

protocol/txbuilder/template.go:367–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367type stackItem struct {
368 // values
369 amount int64 // valid only if anchor is not empty
370 assetID bc.Hash
371 anchor []byte
372
373 // signature checks
374 pubkeys []ed25519.PublicKey
375 sigs *[]i10rjson.HexBytes
376}
377
378var (
379 // ErrNoAnchor happens when the top-level contract stack contains no

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected