package
0.9.8
Repository: https://github.com/iotaledger/goshimmer.git
Documentation: pkg.go.dev

# Functions

FromBytes unmarshals a Payload from a sequence of bytes.
NewGenericDataPayload creates new GenericDataPayload.
NewType creates and registers a new payload Type.

# Constants

MaxSize = MaxBlockSize - (version(1) + parentsBlocksCount(1) + 3 * (parentsType(1) + parentsCount(1) + 8 * reference(40)) + issuerPK(32) + issuanceTime(8) + seqNum(8) + payloadLength(4) + + ECRecordI(8) + ECR(32) + PrevEC(32) + LatestConfirmedEpoch(8) + nonce(8) + signature(64) = MaxBlockSize - 1172 bytes = 64364.

# Variables

GenericDataPayloadType is the Type of a generic GenericDataPayload.

# Structs

GenericDataPayload represents a payload which just contains a blob of data.

# Interfaces

Payload represents the generic interface for an object that can be embedded in Blocks of the Tangle.

# Type aliases

Type represents the Type of a payload.