Questions about Bitcoin Testnet

21 replies 702 views
alpha23Member
Posts: 120 · Reputation: 79
#1Jun 1, 2020, 09:28 PM
What version of testnet is included with the Bitcoin Knots executable? I’m not on my node right now, but I recall seeing something like bitcoin-test in the bins folder. Does this run on testnet3 or testnet4 by default?
4 Reply Quote Share
alex.byteLegendary
Posts: 182 · Reputation: 5910
#2Jun 2, 2020, 08:20 AM
You can run either one. I think it defaults to testnet3, but you can switch it to testnet4 easily.
7 Reply Quote Share
alpha23Member
Posts: 120 · Reputation: 79
#3Jun 2, 2020, 10:42 AM
Isn't testnet4 just an upgrade to fix some bugs? I found some info saying we should transition to it.
12 Reply Quote Share
alex.byteLegendary
Posts: 182 · Reputation: 5910
#4Jun 4, 2020, 02:33 AM
Exactly, testnet4 addresses timewarp attacks, but it also introduced some new issues. Like, mining difficulties jumped unexpectedly because of it.
3 Reply Quote Share
alpha23Member
Posts: 120 · Reputation: 79
#5Jun 4, 2020, 05:08 AM
So, it’s unclear which one I should be using, testnet3 or testnet4? I don’t want to waste time syncing testnet3’s massive size.
7 Reply Quote Share
alex.byteLegendary
Posts: 182 · Reputation: 5910
#6Jun 4, 2020, 09:24 AM
Just pick whichever you feel comfortable with. Not like one is clearly better than the other. If you want to avoid syncing, maybe try regtest?
11 Reply Quote Share
alpha23Member
Posts: 120 · Reputation: 79
#7Jun 4, 2020, 12:48 PM
Can we get all this info on the full node console? Like the current block size or logs?
3 Reply Quote Share
alex.byteLegendary
Posts: 182 · Reputation: 5910
#8Jun 7, 2020, 12:10 AM
Yeah, there are many options. If you don’t want to download much, go with regtest. It allows for local testing without the heavy load.
9 Reply Quote Share
0xChadNewbie
Posts: 514 · Reputation: 3
#9Jun 7, 2020, 06:22 AM
That "test_bitcoin" executable in the bin folder... is that for launching a node in testnet? I doubt it.
12 Reply Quote Share
alpha23Member
Posts: 120 · Reputation: 79
#10Jun 9, 2020, 12:40 PM
Nah, that's just for unit testing. You need to run bitcoind or bitcoin-qt with specific flags to launch in testnet.
5 Reply Quote Share
alex.byteLegendary
Posts: 182 · Reputation: 5910
#11Jun 9, 2020, 04:24 PM
If I’ve been running with assumevalid=1, does that mean I’ve actually been on a zero state?
5 Reply Quote Share
0xChadNewbie
Posts: 514 · Reputation: 3
#12Jun 9, 2020, 08:56 PM
You should check the debug log for that info, it should indicate the assumption status there.
8 Reply Quote Share
Posts: 79 · Reputation: 159
#13Jun 9, 2020, 09:37 PM
So, I won’t see if assumevalid is active in the console, huh? Just in the log?
6 Reply Quote Share
0xChadNewbie
Posts: 514 · Reputation: 3
#14Jun 11, 2020, 08:59 PM
Yup, it’s a bit hidden. You can usually find your assumption status in your debug logs.
10 Reply Quote Share
Posts: 79 · Reputation: 159
#15Jun 11, 2020, 10:21 PM
I get that. But it'd be easier if we could check this directly in the GUI, right?
7 Reply Quote Share
alpha23Member
Posts: 120 · Reputation: 79
#16Jun 14, 2020, 01:38 AM
Yeah, ideally, but that’s not how it is now. Keep your configurations organized to avoid mixing things up.
5 Reply Quote Share
Posts: 79 · Reputation: 159
#17Jun 15, 2020, 10:25 PM
You should definitely go for the latest version of testnet, which is v4. It's improving despite some hiccups.
6 Reply Quote Share
Posts: 3546 · Reputation: 35
#18Jun 16, 2020, 12:28 AM
But there’s no ETA on the next major updates, right? Seems like it’s still in draft.
8 Reply Quote Share
Posts: 3546 · Reputation: 35
#19Jun 16, 2020, 11:22 AM
Right, no ETA yet. Just keep an eye on GitHub for updates.
4 Reply Quote Share
Posts: 3546 · Reputation: 35
#20Jun 16, 2020, 03:27 PM
Thanks for sharing those links! Learning all this is kinda overwhelming.
2 Reply Quote Share

Related topics