jl777 8 years ago
parent
commit
c8abb4197e
  1. 2
      iguana/dpow/dpow_fsm.c
  2. 6
      iguana/iguana_notary.c

2
iguana/dpow/dpow_fsm.c

@ -360,7 +360,7 @@ int32_t dpow_checkutxo(struct supernet_info *myinfo,struct dpow_block *bp,struct
{
addresses = cJSON_CreateArray();
jaddistr(addresses,coinaddr);
if ( (rawtx= iguana_utxoduplicates(myinfo,coin,myinfo->DPOW.minerkey33,DPOW_UTXOSIZE,10,&completed,&signedtxid,0,addresses)) != 0 )
if ( (rawtx= iguana_utxoduplicates(myinfo,coin,myinfo->DPOW.minerkey33,DPOW_UTXOSIZE,strcmp(coin->symbol,"BTC") == 0 ? 50 : 10,&completed,&signedtxid,0,addresses)) != 0 )
{
if ( (sendtx= dpow_sendrawtransaction(myinfo,coin,rawtx)) != 0 )
{

6
iguana/iguana_notary.c

@ -15,9 +15,9 @@
// Todo list:
// a) updating latest notarized height based on the notarized tx data
// b) prevent overwriting blocks below notarized height
// c) detection of special transactions to update list of current notaries
// a) creation and detection of special transactions to update list of current notaries
// b) updating latest notarized height based on the notarized tx data
// c) prevent overwriting blocks below notarized height
// d) award 5% APR for utxo older than a week when they are spent
// e) round robin mining difficulty
// f) reduce cost for splitting

Loading…
Cancel
Save