Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
88ef84e89d
  1. 3
      iguana/iguana777.c
  2. 2
      iguana/tests/decoderawtransaction

3
iguana/iguana777.c

@ -654,8 +654,6 @@ void iguana_helper(void *arg)
allcurrent = 1;
polltimeout = 100;
//portable_mutex_lock(&myinfo->allcoins_mutex);
if ( helperid == 0 )
{
numpeers = 0;
HASH_ITER(hh,myinfo->allcoins,coin,tmp)
{
@ -676,7 +674,6 @@ void iguana_helper(void *arg)
if ( helperid == 0 )
iguana_coin_mainiter(coin,&numpeers);
}
}
//portable_mutex_unlock(&myinfo->allcoins_mutex);
n = queue_size(&bundlesQ);
for (iter=0; iter<n; iter++)

2
iguana/tests/decoderawtransaction

@ -1 +1 @@
curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTCD\",\"method\":\"decoderawtransaction\",\"params\":[\"010000004347bb5701466304197095eeceb34a9b8cc57b34a9d069f37cb3c0aedcb71c5f3c0858afd5010000006b483045022100dc33613d6c84495dcb89aca17296bca6fd47f30a48ee8dc32d2c7d08fda61e80022019b71b09872c70d61a1cca30460262dffc73e7a3cce343921e9077dab2b2dfb70121020ce8ffc263769bfa15579b2757873ea5690107acfafb6dc1b77cd7057ac38349ffffffff02a0860100000000001976a91472c57f6fb0e4635b6f75b118787b8d0d105aea2e88ac3045fc01000000001976a914b7128d2ee837cf03e30a2c0e3e0181f7b9669bb688ac00000000\", 1]}"
curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTCD\",\"method\":\"decoderawtransaction\",\"params\":[\"010000000f0ea95701466304197095eeceb34a9b8cc57b34a9d069f37cb3c0aedcb71c5f3c0858afd50000000090004730440220626010de8205712edb16560410fb2e99c1c602aa25d77575471321c62c1b33e30220684ab1e4037e1b38c25fb1f175e07a54621ffca4e37659019dcfa1d7ac463b0e0147304402205f907d97d9b229ce660f4bf13382e04132e042d49d1ea043a3043ea76e4c6f710220177f69d1be52744c0f55b2be106575159efffd5c8d84ca85b2cb0741d022fbaa01ffffffff01706f9800000000001976a91454a752f0d71b89d7c014ed0be29ca231c9546f9f88ac00000000\", 1]}"

Loading…
Cancel
Save