test
This commit is contained in:
@@ -13,6 +13,23 @@
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
void komodo_gateway_iteration()
|
||||
{
|
||||
char *retstr; uint32_t n=0; static uint32_t r,counter=0;
|
||||
if ( r == 0 )
|
||||
r = rand();
|
||||
if ( (counter++ % 10) == (r % 10) )
|
||||
{
|
||||
printf("%s calling getinfo %d\n",ASSETCHAINS_SYMBOL,n);
|
||||
if ( (retstr= komodo_issuemethod((char *)"getinfo",0,7771)) != 0 )
|
||||
{
|
||||
//printf("GETINFO from.%s (%s)\n",ASSETCHAINS_SYMBOL,retstr);
|
||||
free(retstr);
|
||||
n++;
|
||||
} else printf("error from %s\n",ASSETCHAINS_SYMBOL);
|
||||
}
|
||||
}
|
||||
|
||||
void komodo_gateway_issuer() // "assetchain"
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user