package
0.16.0
Repository: https://github.com/bitmark-inc/bitmarkd.git
Documentation: pkg.go.dev

# Functions

CreateAsset - create the ownership record for an asset.
CreateBlock - create the ownership record for a block.
CurrentlyOwns - check owner currently owns this transaction id.
Get - return Record interface.
GetOwnerData - fetch and unpack owner data.
GetOwnerDataB - fetch and unpack owner data.
Initialise - initialise ownership.
OwnerOf - find the owner of a specific transaction.
Share - setup for share ownership transfer, must have a lock.
Transfer - transfer ownership.

# Constants

type codes for flag byte.
type codes for flag byte.
type codes for flag byte.

# Structs

AssetOwnerData - owner data.
BlockOwnerData - owner data.
Record - type to represent an ownership record.
ShareOwnerData - owner data.

# Interfaces

OwnerData - generic owner data methods.
Ownership - interface for ownership.

# Type aliases

OwnedItem - the flag byte.
PackedOwnerData - packed data to store in database.