Minor fix to use the correct constant to switch algo with.
Add libcurl to depends folder for portability. Only set up curl environment once, calls to curl_global_cleanup were unreachable, move the call to shutdown. There's now one call to set up the environment for curl and one to destroy that environment. In some calls using curl move the "else" return statement to the end to get rid of compiler warnings.
Enforce masternode payment by spork.
Set grace period to 20,000 blocks, a spork is unnecessary for this.
Set version to 0.12.4.1 in configure.ac
Replace magic number with params variable.
Fixes for compiling on Mac. Calling of GetArg for token API URL in chainparamsbase triggers recursive_mutex assert, move calls to curl_read. Backport from Dash to fix depends Qt compilation error on MacOS.