mastercoin-MSC / mastercore

mastercore info
mastercoin.org
MIT License
24 stars 11 forks source link

Allow to enable meta DEx etc. as build option #240

Closed dexX7 closed 9 years ago

dexX7 commented 9 years ago

Instead of using a define in the header, provide similar behavior as build option.

The main reason for this is automatic testing, whether this is fully operational at this point or not.

It can be used as follows:

./autogen.sh
./configure --enable-mastercore-development
make

Upfront: I don't really like it, but I'd prefer it over changing defines in the header.

As alternative I suggest to use a whole new branch, something like "0.0.9-release", which completely removes all parts that should not end up in the release version.

As second alternative this could as well be a startup parameter.

dexX7 commented 9 years ago

Actually, I think excluding code to disable features is not necessarily the right approach and I'm more in favor of using branches. Since the only "real" development RPC call is "mscrpc", and hiding calls can also be achieved as part of the RPC categorization which is part of 0.10 (or #161).