attribute

package
v0.0.0-...-b0046da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

attribute/attribute.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Value []byte `json:"value"`
	Hash  []byte `json:"hash"`
}

func NewAttribute

func NewAttribute(value []byte) *Attribute

func (Attribute) CalculateHash

func (t Attribute) CalculateHash() []byte

func (Attribute) Equals

func (t Attribute) Equals(other Attribute) bool

func (Attribute) IntValue

func (t Attribute) IntValue() *big.Int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL