Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: lukew on November 05, 2016, 08:56:22 PM



Title: What's going on with the Testnet?
Post by: lukew on November 05, 2016, 08:56:22 PM
A few days ago I had trouble sending all the Testnet coins from my phone to development machine. Today I send some back to the phone after re-installing the app, and they've not turned up. The transaction also has 30 confirmations, however it was made about 10 minutes ago.

Has the Testnet forked and left my phone on one fork, and my dev machine using the other?


Title: Re: What's going on with the Testnet?
Post by: achow101 on November 05, 2016, 09:12:21 PM
Nope, someone just turned on a lot of mining power onto testnet briefly. This tends to happen since the difficulty is so low. At one point I remember there being several blocks being mined every second.


Title: Re: What's going on with the Testnet?
Post by: lukew on November 05, 2016, 09:18:59 PM
Problem is the block that my transaction was first included in only contains one transaction, and it isn't mine.

The check transaction function in my software (which has worked perfectly during 6+ months of development) shows block 1029856 as the block it was first included in, however BlockCypher disagrees, and so does my testnet Android wallet. I'll drag the txid from the database and post it up here in a few minutes.

Edit:

Okay, something's gone a bit screwed up. I must have screwed up the block height code when I re-wrote the GUI, but the transaction still hasn't appeared on my phone, and re-syncing it hasn't helped either.

Just as I'm typing it appears, ah well, non-existant problem solved. It's been one of those days!


Title: Re: What's going on with the Testnet?
Post by: johoe on November 06, 2016, 01:48:50 PM
I also have problems with testnet.  Some transactions I sent a few days ago still show as unconfirmed in Mycelium even though they have 4800 confirmations on blockr.io.

And then I have sent a Segwit transaction.  I first sent it without fee and later resent it with 5000 Satoshi fee. That still hasn't been confirmed after almost 2000 blocks have past.  It is not displayed on tbtc.blockr.io nor on test-insight.bitpay.com (and I can't push it to blockr.io, because their push interface can't parse witnesses).

Or is something wrong with it?

Code:
> bitcoin-cli getrawtransaction 35aafd22054d15bcb4f2444de56989b18fd9765f3c33fbb8b89ff12092d611f6

0100000000010100675e46bdcd69821fbdc43abea61c1ba081469b6e53e3f8007073bf96be9fb20100000000ffffffff01388be605000000001976a914d6dcdaddc4208548846583ef1162c199309d3dc488ac02473044022018d165ad5cc04701eb0d19149bd48451775cbd0abcdb93232b167058952061ed02200279f0e9764e7aa555a83a05b19ab600d76afc60995c31e3dd6f7e63bfcfbb2301210279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179800000000


Title: Re: What's going on with the Testnet?
Post by: lukew on November 06, 2016, 02:26:09 PM
I also have problems with testnet.  Some transactions I sent a few days ago still show as unconfirmed in Mycelium even though they have 4800 confirmations on blockr.io.

And then I have sent a Segwit transaction.  I first sent it without fee and later resent it with 5000 Satoshi fee. That still hasn't been confirmed after almost 2000 blocks have past.  It is not displayed on tbtc.blockr.io nor on test-insight.bitpay.com (and I can't push it to blockr.io, because their push interface can't parse witnesses).

Or is something wrong with it?

Code:
> bitcoin-cli getrawtransaction 35aafd22054d15bcb4f2444de56989b18fd9765f3c33fbb8b89ff12092d611f6

0100000000010100675e46bdcd69821fbdc43abea61c1ba081469b6e53e3f8007073bf96be9fb20100000000ffffffff01388be605000000001976a914d6dcdaddc4208548846583ef1162c199309d3dc488ac02473044022018d165ad5cc04701eb0d19149bd48451775cbd0abcdb93232b167058952061ed02200279f0e9764e7aa555a83a05b19ab600d76afc60995c31e3dd6f7e63bfcfbb2301210279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179800000000

I just ran that through my application and there's nothing there, it threw an exception. The transaction doesn't exist. I've actually been having issues with sending Bitcoin to paper wallets. One feature of my system is that it can print a paper wallet, then send Bitcoin to it. Sometimes it took weeks before scanning the WIF code gave a balance, others have never worked even though the transaction is there on the blockchain.