LNP-BP/LNPBPs

RGB-21 Schema: What should be the limit of the length of the name field?

UkolovaOlga opened this issue · 2 comments

According to the dev call held on the 25.11.2020 LNP-BP/devcalls@1fbb7e7

This issue is a part of discussion #79

Does it make sense to impose a limit? What are the maximum limits for this? 64KB or 16MB? Are there any thresholds where there it makes sense to impose a limit, such as 255 ASCII characters, vs, say, 260?

Again, the issue is heavily outdated. Sorry for occasionally bringing it back during the issue sort process.

The limits are there and they are defined with strict type system (where everything has a limits). If you believe they should be adjusted, please open a PR against current version in

LNPBPs/lnpbp-0020.md

Lines 66 to 69 in 6861587

data Denomination ::
ticker [Ascii ^ 1..8],
name [Ascii ^ 1..40],
details [Unicode ^ 40..256]?,