|
|
@ -352,6 +352,12 @@ void dpow_sigsend(struct supernet_info *myinfo,struct dpow_info *dp,struct dpow_ |
|
|
|
{ |
|
|
|
struct dpow_sigentry dsig; int32_t i,len; uint8_t data[4096]; struct dpow_entry *ep; |
|
|
|
ep = &bp->notaries[myind]; |
|
|
|
if ( bestk >= 0 ) |
|
|
|
{ |
|
|
|
if ( sigchannel == DPOW_SIGCHANNEL ) |
|
|
|
bp->srcsigsmasks[bestk] |= (1LL << myind); |
|
|
|
else bp->destsigsmasks[bestk] |= (1LL << myind); |
|
|
|
} |
|
|
|
printf("ht.%d sigsend.%s: myind.%d bestk.%d %llx >>>>>> best.(%d %llx) recv.%llx sigs.%llx\n",bp->height,sigchannel == DPOW_SIGCHANNEL ? bp->srccoin->symbol : bp->destcoin->symbol,myind,bestk,(long long)bestmask,bestk,(long long)(bestk>=0?bestmask:0),(long long)bp->recvmask,(long long)(bestk>=0?bp->destsigsmasks[bestk]:0)); |
|
|
|
memset(&dsig,0,sizeof(dsig)); |
|
|
|
for (i=0; i<33; i++) |
|
|
|