Skip to content

assets: decide on if genesis asset details serialization should be explicit or implicit  #62

Open
@Roasbeef

Description

@Roasbeef

Our current serialization actually writes all the genesis asset details (genesis point, name, tag, etc) out to the TLV serialization. In contrast, the BIP only writes the "core" asset information, and sort of assumes that the genesis information "is known".

The current state of #49 puts us somewhere in the middle: the genesis information now holds the type, and we continue to write the type out in the main asset body as well.

In short, we should decide on one or the other. I'm somewhat in favor of just going all the way and making things fully explicit. This would mean all the base genesis information is transmitted along side the core asset, and also will be a part of the asset TLV leaf. This is sort of already there implicitly, since we have an explicit field for the asset_id.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🔖 Ready

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions