Yeah, 0x80000000, 80000001, 80000002 are undefined. I don't think we'd ever
need to use them. If I did anything with them, I'd probably just map them
to 0,1,2, but I don't want to worry about that for this release.

0x80000003 would be the first property issued in the TMSC ecosystem
0x80000004 would be the second property issued in the TMSC ecosystem
3 would be the first property issued in the MSC ecosystem
4 would be the second property issued in the TMSC ecosystem

We should probably keep "1 to 4,294,967,295" as the allowable range. I
don't think implementations should drop the most significant bit for
display, because that would allow someone to create a test coin which
looked identical to a real coin (same apparent name and ID).


On Fri, Mar 28, 2014 at 9:42 AM, dexX7 <notifications@github.com> wrote:

> In README.md:
>
> > @@ -156,7 +157,9 @@ This section defines the fields that are used to construct transaction messages.
> >  ### Field: Currency identifier
> >  + Description: the currency used in the transaction
> >  + Size: 32-bit unsigned integer, 4 bytes
> > -+ Valid values: 1 to 4,294,967,295  (1 = Mastercoin, 2 = Test Mastercoin, Test MSC currencies and properties have the most significant bit set)
> > ++ Valid values: 1 to 2,147,483,647
> > +    * 1 = Mastercoin
> > +    * 2 = Test Mastercoin (Test MSC currencies and properties have the most significant bit set, so internally they have values starting with 0x80000003)
>
> I'm not sure, if I get this right. This is a hack to get an ecosystem flag
> encoded inside the currency identifier field with the idea of "starting
> with 0 => real, starting with 1 => test"?
>
> 00000000000000000000000000000000b <> 0x00000000 <> Bitcoin (well, if we'd count it here)
> 00000000000000000000000000000001b <> 0x00000001 <> Mastercoin
> 00000000000000000000000000000010b <> 0x00000002 <> Test Mastercoin
> 10000000000000000000000000000000b <> 0x80000000 <> ??
> 10000000000000000000000000000001b <> 0x80000001 <> Test ecosystem, Mastercoin?
> 10000000000000000000000000000010b <> 0x80000002 <> Test ecosystem, Test Mastercoin?
> 10000000000000000000000000000011b <> 0x80000003 <> ??
>
> The description seems to be in conflict with the valid values. 0x80000000
> is 2,147,483,647 + 1 which would be outside of the allowed range.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/mastercoin-MSC/spec/pull/97/files#r11074120>
> .
>