disable utxo fiter CCtx.cpp
This commit is contained in:
@@ -276,10 +276,10 @@ int32_t CC_vinselect(int32_t *aboveip,int64_t *abovep,int32_t *belowip,int64_t *
|
|||||||
for (above=below=i=0; i<numunspents; i++)
|
for (above=below=i=0; i<numunspents; i++)
|
||||||
{
|
{
|
||||||
// Filter to randomly pick utxo to avoid conflicts, and having multiple CC choose the same ones.
|
// Filter to randomly pick utxo to avoid conflicts, and having multiple CC choose the same ones.
|
||||||
if ( numunspents > 200 ) {
|
//if ( numunspents > 200 ) {
|
||||||
if ( (rand() % 100) < 90 )
|
// if ( (rand() % 100) < 90 )
|
||||||
continue;
|
// continue;
|
||||||
}
|
//}
|
||||||
if ( (atx_value= utxos[i].nValue) <= 0 )
|
if ( (atx_value= utxos[i].nValue) <= 0 )
|
||||||
continue;
|
continue;
|
||||||
if ( atx_value == value )
|
if ( atx_value == value )
|
||||||
|
|||||||
Reference in New Issue
Block a user