|
@ -205,6 +205,9 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct |
|
|
} |
|
|
} |
|
|
bp->ratifyrecvmask |= (1LL << senderind) | (1LL << bp->myind); |
|
|
bp->ratifyrecvmask |= (1LL << senderind) | (1LL << bp->myind); |
|
|
bp->ratifybestmask = dpow_ratifybest(bp->ratifyrecvmask,bp,&bp->ratifybestk); |
|
|
bp->ratifybestmask = dpow_ratifybest(bp->ratifyrecvmask,bp,&bp->ratifybestk); |
|
|
|
|
|
bp->notaries[bp->myind].ratifybestk = bp->ratifybestk; |
|
|
|
|
|
bp->notaries[bp->myind].ratifybestmask = bp->ratifybestmask; |
|
|
|
|
|
bp->notaries[bp->myind].ratifyrecvmask = bp->ratifyrecvmask; |
|
|
if ( bp->ratifybestk >= 0 ) |
|
|
if ( bp->ratifybestk >= 0 ) |
|
|
{ |
|
|
{ |
|
|
bp->notaries[bp->myind].ratifybestmask = bp->ratifybestmask; |
|
|
bp->notaries[bp->myind].ratifybestmask = bp->ratifybestmask; |
|
|