Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
9d03b1cd8f
  1. 2
      iguana/iguana777.h
  2. 2
      iguana/iguana_bundles.c
  3. 2
      iguana/iguana_unspents.c

2
iguana/iguana777.h

@ -39,7 +39,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_MAXPENDHDRS 1 #define IGUANA_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 3 #define _IGUANA_MAXPENDING 3
#define IGUANA_MINPENDBUNDLES 16 #define IGUANA_MINPENDBUNDLES 16
#define IGUANA_MAXPENDBUNDLES 32 #define IGUANA_MAXPENDBUNDLES 128
#define IGUANA_BUNDLELOOP 77 #define IGUANA_BUNDLELOOP 77
#define IGUANA_RPCPORT 7778 #define IGUANA_RPCPORT 7778
#define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16) #define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16)

2
iguana/iguana_bundles.c

@ -378,7 +378,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
if ( coin->current != 0 ) if ( coin->current != 0 )
starti = coin->current->hdrsi; starti = coin->current->hdrsi;
else starti = 0; else starti = 0;
priority = 1;//(bp->hdrsi < starti+8); priority = (bp->hdrsi < starti+8);
lag = (bp->hdrsi - starti); lag = (bp->hdrsi - starti);
lag *= lag; lag *= lag;
if ( (i= sqrt(bp->hdrsi)) < 2 ) if ( (i= sqrt(bp->hdrsi)) < 2 )

2
iguana/iguana_unspents.c

@ -253,7 +253,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,struct iguana_bundle *bp)
numtxid = 1; numtxid = 1;
if ( ramchain->Xspendinds != 0 ) if ( ramchain->Xspendinds != 0 )
{ {
printf("iguana_utxogen: already have Xspendinds[%d]\n",ramchain->numXspends); //printf("iguana_utxogen: already have Xspendinds[%d]\n",ramchain->numXspends);
return(0); return(0);
} }
ptr = mycalloc('x',sizeof(*ptr),n); ptr = mycalloc('x',sizeof(*ptr),n);

Loading…
Cancel
Save