Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
af0c794725
  1. 1
      iguana/iguana_realtime.c
  2. 2
      iguana/tests/listunspent

1
iguana/iguana_realtime.c

@ -305,6 +305,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info *
else
{
printf("cant find bundleblock [%d:%d]\n",bp->hdrsi,bundlei);
coin->RTdatabad = 1;
}
if ( coin->RTdatabad == 0 && block != 0 && (block->height == 0 || bits256_nonz(block->RO.prev_block) != 0) )
{

2
iguana/tests/listunspent

@ -1 +1 @@
curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTC\",\"method\":\"listunspent\",\"params\":[1, 9999999, []]}"
curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTC\",\"method\":\"listunspent\",\"params\":[1, 9999999, [\"REzqSJ7qonDbMVWfPEJKfRPduvfPyumkPR\"]]}"

Loading…
Cancel
Save