@ -1266,13 +1266,13 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu
char * myipaddr = 0 , version [ 64 ] ; long filesize , n ; int32_t valid , timeout ; struct LP_peerinfo * mypeer = 0 ; char pushaddr [ 128 ] , subaddr [ 128 ] , bindaddr [ 128 ] , * coins_str = 0 ; cJSON * coinsjson = 0 ; void * ctx = bitcoin_ctx ( ) ;
char * myipaddr = 0 , version [ 64 ] ; long filesize , n ; int32_t valid , timeout ; struct LP_peerinfo * mypeer = 0 ; char pushaddr [ 128 ] , subaddr [ 128 ] , bindaddr [ 128 ] , * coins_str = 0 ; cJSON * coinsjson = 0 ; void * ctx = bitcoin_ctx ( ) ;
sprintf ( version , " Marketmaker %s.%s %s rsize.%ld " , LP_MAJOR_VERSION , LP_MINOR_VERSION , LP_BUILD_NUMBER , sizeof ( struct basilisk_request ) ) ;
sprintf ( version , " Marketmaker %s.%s %s rsize.%ld " , LP_MAJOR_VERSION , LP_MINOR_VERSION , LP_BUILD_NUMBER , sizeof ( struct basilisk_request ) ) ;
bitcoind_RPC_inittime = 1 ;
bitcoind_RPC_inittime = 1 ;
printf ( " %s %u \n " , version , calc_crc32 ( 0 , version , ( int32_t ) strlen ( version ) ) ) ;
if ( LP_MAXPRICEINFOS > 256 )
if ( LP_MAXPRICEINFOS > 256 )
{
{
printf ( " LP_MAXPRICEINFOS %d wont fit in a uint8_t, need to increase the width of the baseind and relind for struct LP_pubkey_quote \n " , LP_MAXPRICEINFOS ) ;
printf ( " LP_MAXPRICEINFOS %d wont fit in a uint8_t, need to increase the width of the baseind and relind for struct LP_pubkey_quote \n " , LP_MAXPRICEINFOS ) ;
exit ( - 1 ) ;
exit ( - 1 ) ;
}
}
LP_showwif = juint ( argjson , " wif " ) ;
LP_showwif = juint ( argjson , " wif " ) ;
printf ( " showwif.%d %s %u \n " , LP_showwif , version , calc_crc32 ( 0 , version , ( int32_t ) strlen ( version ) ) ) ;
if ( passphrase = = 0 | | passphrase [ 0 ] = = 0 )
if ( passphrase = = 0 | | passphrase [ 0 ] = = 0 )
{
{
printf ( " jeezy says we cant use the nullstring as passphrase and I agree \n " ) ;
printf ( " jeezy says we cant use the nullstring as passphrase and I agree \n " ) ;