jl777 8 years ago
parent
commit
34ea3c4130
  1. 5
      crypto777/jpeg/unix/jmemname.c
  2. 2
      iguana/coins/genbtcd
  3. 2
      iguana/iguana_init.c

5
crypto777/jpeg/unix/jmemname.c

@ -11,7 +11,10 @@
* Also, the problem of determining the amount of memory available * Also, the problem of determining the amount of memory available
* is shoved onto the user. * is shoved onto the user.
*/ */
//#include <unistd.h>
#ifndef WIN32
#include <unistd.h>
#endif
#define JPEG_INTERNALS #define JPEG_INTERNALS
#include "../jinclude.h" #include "../jinclude.h"

2
iguana/coins/genbtcd

@ -1 +1 @@
curl --url "http://127.0.0.1:7778" --data "{\"prefetchlag\":11,\"poll\":50,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTCD\",\"startpend\":256,\"endpend\":256,\"services\":129,\"maxpeers\":512,\"RELAY\":1,\"VALIDATE\":1,\"portp2p\":14631,\"rpc\":14632,\"minconfirms\":5}" curl --url "http://127.0.0.1:7778" --data "{\"prefetchlag\":11,\"poll\":50,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTCD\",\"startpend\":512,\"endpend\":512,\"services\":129,\"maxpeers\":512,\"RELAY\":1,\"VALIDATE\":1,\"portp2p\":14631,\"rpc\":14632,\"minconfirms\":5}"

2
iguana/iguana_init.c

@ -312,7 +312,7 @@ void iguana_parseline(struct supernet_info *myinfo,struct iguana_info *coin,int3
iguana_launch(coin,"connection",iguana_startconnection,addr,IGUANA_CONNTHREAD); iguana_launch(coin,"connection",iguana_startconnection,addr,IGUANA_CONNTHREAD);
} }
#ifndef IGUANA_DISABLEPEERS #ifndef IGUANA_DISABLEPEERS
//if ( (rand() % 2) == 0 ) if ( (rand() % 2) == 0 )
{ {
addr = &coin->peers->active[m++]; addr = &coin->peers->active[m++];
iguana_initpeer(coin,addr,(uint32_t)calc_ipbits(line)); iguana_initpeer(coin,addr,(uint32_t)calc_ipbits(line));

Loading…
Cancel
Save