Browse Source

Merge branch 'httpsrv' into stratumsrv

Luke Dashjr 10 years ago
parent
commit
b122e4c3ab
2 changed files with 2 additions and 0 deletions
  1. 1 0
      README.RPC
  2. 1 0
      miner.c

+ 1 - 0
README.RPC

@@ -364,6 +364,7 @@ The list of requests - a (*) means it requires privileged access - and replies:
                               queue, scantime, expiry (integer in the range
                                                        0 to 9999)
                               coinbase-sig (string)
+                              http-port (valid port number)
 
  pgaset|N,opt[,val] (*)
                none           There is no reply section just the STATUS section

+ 1 - 0
miner.c

@@ -10074,6 +10074,7 @@ int main(int argc, char *argv[])
 	if (opt_realquiet || opt_display_devs)
 		use_curses = false;
 
+	setlocale(LC_ALL, "C");
 	if (use_curses)
 		enable_curses();
 #endif