Bitcoin Forum
May 04, 2024, 09:44:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Testnet stability (was Lost coins on testnet)  (Read 1863 times)
wumpus (OP)
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
May 25, 2011, 06:33:38 PM
Last edit: May 26, 2011, 03:29:23 AM by John Smith
 #1

I've been mining on the testnet for the last few days, had collected about BTC 1000 confirmed, but this evening suddenly all my transactions were gone again.

This also happened to someone else on IRC. He mined his coins last week, tried to send me some but today they were gone.

What happened on the testnet? Did it split/rejoin?

I have the latest git version of bitcoin.

Edit: I also asked the testnet faucet to send me some coins, but they haven't arrived yet (more than an hour ago).

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
1714815854
Hero Member
*
Offline Offline

Posts: 1714815854

View Profile Personal Message (Offline)

Ignore
1714815854
Reply with quote  #2

1714815854
Report to moderator
1714815854
Hero Member
*
Offline Offline

Posts: 1714815854

View Profile Personal Message (Offline)

Ignore
1714815854
Reply with quote  #2

1714815854
Report to moderator
1714815854
Hero Member
*
Offline Offline

Posts: 1714815854

View Profile Personal Message (Offline)

Ignore
1714815854
Reply with quote  #2

1714815854
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Raulo
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
May 25, 2011, 06:49:50 PM
 #2

I've been mining on the testnet for the last few days, had collected about BTC 1000 confirmed, but this evening suddenly all my transactions were gone again.

This also happened to someone else on IRC. He mined his coins last week, tried to send me some but today they were gone.

What happened on the testnet? Did it split/rejoin?

Likely chain reorganization. It is frequent in testnet.

Stop your deamon, and run the following command (assuming Unix-like system):
Code:
./bitcoind -testnet -printblocktree

It will print the block tree and exit. You will see if your coins were in an orphaned chain.

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
wumpus (OP)
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
May 25, 2011, 08:23:18 PM
 #3

Thanks Smiley

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
wumpus (OP)
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
May 26, 2011, 03:34:51 AM
 #4

I know there are some people that claim "this is supposed to happen on the testnet". Partially, I agree with that. I couldn't care less about losing these coins specifically.

On the other hand, a stable testnet is somewhat important for people that want to debug and test merchant sites.

This time, it took me about two days to generate any coins on the testnet, the coins the faucet sent me never arrived (and still, it insisted it had sent me coins, I wasn't able to repeat it).

What is the cause of this instability? Is it because there is currently no incentive for people to either maintain a node on the testnet, or mine on it?

Or is it because people are testing their devious net-splitting schemes on the testnet? In that case it might make sense to make two testnets: one completely unreliable for testing bitcoin itself, one semi-stable for merchants.

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 26, 2011, 03:57:02 AM
 #5

I see what appear to be lengthy reorgs in testnet, with some transactions taking hundreds of blocks before they're reinserted into a valid block.

On that note, if you need a supply of testnet coins, I've got you covered. Cheesy

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12970


View Profile
May 26, 2011, 03:58:10 AM
 #6

Yeah, someone's making huge forks of the testnet chain.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
wumpus (OP)
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
May 26, 2011, 04:03:25 AM
 #7

Is this what happens when someone mines much faster than the network, and ignores all transactions and other people's blocks?

Error: Thanks, though it seems I generated some blocks again over the night, let's see if these stay

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 26, 2011, 04:04:25 AM
 #8

Is this what happens when someone mines much faster than the network, and ignores all transactions and other people's blocks?

Error: Thanks, though it seems I generated some blocks again over the night, let's see if these stay

Mine have thousands of confirmations. They aren't going anywhere. Cheesy

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
May 26, 2011, 07:47:14 AM
 #9

On the other hand, a stable testnet is somewhat important for people that want to debug and test merchant sites.

This time, it took me about two days to generate any coins on the testnet, the coins the faucet sent me never arrived (and still, it insisted it had sent me coins, I wasn't able to repeat it).

For debugging your own sites, a testnet-in-a-box setup is nice and stable, completely under your control, and has a good supply of mature coins to debug with. See http://sourceforge.net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/

How often do you get the chance to work on a potentially world-changing project?
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
May 26, 2011, 07:56:19 AM
 #10

On the other hand, a stable testnet is somewhat important for people that want to debug and test merchant sites.

This time, it took me about two days to generate any coins on the testnet, the coins the faucet sent me never arrived (and still, it insisted it had sent me coins, I wasn't able to repeat it).

For debugging your own sites, a testnet-in-a-box setup is nice and stable, completely under your control, and has a good supply of mature coins to debug with. See http://sourceforge.net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/

Well, there went my market. Thanks a lot Tongue

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
wumpus (OP)
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
May 26, 2011, 03:52:08 PM
 #11

Thanks, that testnet-in-a-box works incredibly well.

I've given up on the public testnet, transactions are still getting lost even though I did a direct -addnode of the testnet faucet.

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
stygian
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 29, 2011, 10:37:36 PM
 #12

For debugging your own sites, a testnet-in-a-box setup is nice and stable, completely under your control, and has a good supply of mature coins to debug with. See http://sourceforge.net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/

My first post! I was looking for some information on the testnet, because it seems rather hard to connect to it. Your tool solves my current problem. Thanks alot!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!