CounterpartyXCP / Documentation

Official Documentation of the Counterparty Project
http://counterparty.io
MIT License
54 stars 58 forks source link

Asset description length not arbitrary? #91

Closed droplister closed 7 years ago

droplister commented 8 years ago

I would consider this very low priority...

Protocol Specification states, "Asset descriptions may be of arbitrary length." However, it appears, at least when using Counterwallet, that 40 bytes is the limit for a description.

I have seen discussion online about 80 bytes being possible, depending on OP_RETURN settings.

This page states: https://counterparty.io/docs/api/ 52 bytes is the max.

There are also asset descriptions in the wild like: https://res.indiesquare.me/json/A2106870093763980398.json which are 57 bytes.

Perhaps, this part of the documentation can be clarified by someone who knows more than I do.

This is specifically about the description in an issuance, and not an enhanced asset info description which is 2048 chars max.

unsystemizer commented 8 years ago

Notes: 1) Before 42 - https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/messages/issuance.py#L146 2) Later 52 - https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/messages/issuance.py#L187 3 Related issue: https://github.com/CounterpartyXCP/counterparty-lib/pull/857

unsystemizer commented 7 years ago

@rubensayshi @deweller what do you suggest with regard to this issue in terms of documentation changes?

unsystemizer commented 7 years ago