diff --git a/.gitignore b/.gitignore index 22aac4910..b2923f002 100755 --- a/.gitignore +++ b/.gitignore @@ -150,4 +150,5 @@ iguana/DB/DEX.log iguana/iguana_notary.o-54f98cc3 +iguana/basilisk.o-2ad8cb38 iguana/pangea_hand.o-02d25ec3 diff --git a/iguana/kmd_lookup.h b/iguana/kmd_lookup.h index 5ed99a79b..5499864f6 100755 --- a/iguana/kmd_lookup.h +++ b/iguana/kmd_lookup.h @@ -207,7 +207,7 @@ FILE *kmd_txidinit(struct iguana_info *coin) if ( (ptr= kmd_transactionadd(coin,tx,T.numvouts,T.numvins)) != 0 ) { if ( ptr != kmd_transaction(coin,tx->txid) ) - printf("ERROR: %p != %p for ht.%d\n",ptr,kmd_transaction(coin,tx->txid),tx->height); + printf("%s ERROR: %p != %p for ht.%d\n",coin->symbol,ptr,kmd_transaction(coin,tx->txid),tx->height); ptr->fpos = lastpos; ptr->numvins = T.numvins; ptr->numvouts = T.numvouts; @@ -219,7 +219,7 @@ FILE *kmd_txidinit(struct iguana_info *coin) } else { - printf("error loading vout.%d ht.%d\n",i,T.height); + printf("%s error loading vout.%d ht.%d\n",coin->symbol,i,T.height); break; } } @@ -255,7 +255,7 @@ FILE *kmd_spendinit(struct iguana_info *coin) { if ( kmd_transactionvin(coin,txid,i,spenttxid,spentvout) < 0 ) { - printf("error adding spend %s %d of %d\n",bits256_str(str,txid),i,numvins); + printf("%s error adding spend %s %d of %d\n",coin->symbol,bits256_str(str,txid),i,numvins); //break; } } else break; @@ -277,7 +277,7 @@ FILE *kmd_spendinit(struct iguana_info *coin) { if ( ptr->ptrs[(i<<1) + 1] != kmd_transaction(coin,vptr->spendtxid) ) { - printf("mismatch %s spend.%d %p %p\n",bits256_str(str,vptr->spendtxid),i,ptr->ptrs[(i<<1) + 1],kmd_transaction(coin,vptr->spendtxid)); + printf("%s mismatch %s spend.%d %p %p\n",coin->symbol,bits256_str(str,vptr->spendtxid),i,ptr->ptrs[(i<<1) + 1],kmd_transaction(coin,vptr->spendtxid)); } } }