Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
535d369d6f
  1. 3
      iguana/SuperNET_category.c
  2. 2
      iguana/SuperNET_hexmsg.c

3
iguana/SuperNET_category.c

@ -49,9 +49,10 @@ void category_posthexmsg(struct supernet_info *myinfo,bits256 categoryhash,bits2
m->t = now, m->len = len;
decode_hex(m->msg,m->len,hexmsg);
queue_enqueue("categoryQ",Q,&m->DL,0);
char str[65]; printf("HEXMSG.(%s) -> %s.%llx\n",hexmsg,bits256_str(str,categoryhash),(long long)subhash.txid);
return;
}
char str[65]; printf("no subscription for category.(%s) %llx\n",bits256_str(str,categoryhash),(long long)subhash.txid);
//char str[65]; printf("no subscription for category.(%s) %llx\n",bits256_str(str,categoryhash),(long long)subhash.txid); getchar();
}
void *category_sub(struct supernet_info *myinfo,bits256 categoryhash,bits256 subhash)

2
iguana/SuperNET_hexmsg.c

@ -69,5 +69,5 @@ void SuperNET_hexmsgadd(struct supernet_info *myinfo,bits256 category,bits256 su
strcat(str,str2);
}
category_posthexmsg(myinfo,category,subhash,hexmsg,now);
printf("HEXMSG.(%s) -> %s\n",hexmsg,str);
//printf("HEXMSG.(%s) -> %s\n",hexmsg,str);
}

Loading…
Cancel
Save