Bitcoin Forum
May 17, 2024, 12:28:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [Testnet] Is this normal?  (Read 271 times)
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 02:44:06 PM
 #1

https://i.imgur.com/CGAnOap.png

This thing will get too much time to download. Is it normal for testnet?

Also where exactly do testnet bitcoins and real bitcoins differ?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
ranochigo
Legendary
*
Offline Offline

Activity: 2968
Merit: 4193



View Profile
April 20, 2020, 02:48:24 PM
 #2

Yes. The verification of the blockchain depends very much on your hardware specification as the speed is related to how fast you can verify the entire block. You can speed it up by increasing the dbcache, if you have sufficient ram.

As there are significantly more blocks than the main net, it can still take quite sometime. Testnet Bitcoin is usually useless and is more often than not used as a testbed for experimental implementation before it is actually implemented on the mainnet. Else, if you're a developer for your own stuff, it's better to use regtest instead.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 03:10:32 PM
 #3

Yes. The verification of the blockchain depends very much on your hardware specification as the speed is related to how fast you can verify the entire block. You can speed it up by increasing the dbcache, if you have sufficient ram.

As there are significantly more blocks than the main net, it can still take quite sometime. Testnet Bitcoin is usually useless and is more often than not used as a testbed for experimental implementation before it is actually implemented on the mainnet. Else, if you're a developer for your own stuff, it's better to use regtest instead.

So the difference between regnet and testnet is that on regnet I can create as many satoshis as I want?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 20, 2020, 03:24:08 PM
 #4

So the difference between regnet and testnet is that on regnet I can create as many satoshis as I want?

You can create any amount of coins you want and generate blocks instantly. You don't have to wait for the client to sync with the network since it's basically a private, local blockchain. This page should help you.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 04:33:27 PM
 #5

And how much storage will it take to download 1,5M blocks? The mainnet's blockchain is 250GB+ long.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 20, 2020, 04:39:13 PM
 #6

And how much storage will it take to download 1,5M blocks? The mainnet's blockchain is 250GB+ long.

According to the blockchair.com block explorer, the size of the testnet blockchain is 24.26 GB. You can run your node in a pruned mode to save your disk space, but you will still need to download and verify all the blocks.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 04:45:16 PM
 #7

And how much storage will it take to download 1,5M blocks? The mainnet's blockchain is 250GB+ long.

According to the blockchair.com block explorer, the size of the testnet blockchain is 24.26 GB. You can run your node in a pruned mode to save your disk space, but you will still need to download and verify all the blocks.

I wonder, are there places to "buy" testbitcoins? Or is it too easy to mine them?

About my issue, I just want to test how bitcoin core works for developing reasons. Should I choose regnet?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
LoyceV
Legendary
*
Offline Offline

Activity: 3318
Merit: 16662


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 20, 2020, 05:05:17 PM
 #8

I wonder, are there places to "buy" testbitcoins? Or is it too easy to mine them?
Testnet Bitcoins are not supposed to ever have any value, so you shouldn't buy them. It will ultimately lead to Testnet being reset (we're currently on the third Testnet).
The easiest way to get small amounts of Testnet coins is from faucets.

Mocacinno wrote about the cost of Testnet mining last month.

Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 20, 2020, 05:05:25 PM
 #9

I wonder, are there places to "buy" testbitcoins? Or is it too easy to mine them?

Testnet coins shouldn't have any value and shouldn't be sold. There are plenty of faucets which send under 0.1 tBTC at a time. You can google them.

About my issue, I just want to test how bitcoin core works for developing reasons. Should I choose regnet?

Sure, it should suit your needs.
BrewMaster
Legendary
*
Offline Offline

Activity: 2114
Merit: 1292


There is trouble abrewing


View Profile
April 20, 2020, 05:07:13 PM
 #10

I wonder, are there places to "buy" testbitcoins?
if there were any place where you could trade the worthless by-design testnet coins then the testnet network wouldn't have existed anymore. we would reset it and start Testnet 4 in its place.
there are testnet faucets that give away small amounts for free. google bitcoin testnet faucet and you'll find 3 to 5 working ones on first page.
https://bitcoinfaucet.uo1.net/
https://coinfaucet.eu/en/btc-testnet/
https://testnet-faucet.mempool.co/
https://tpfaucet.appspot.com/

Quote
Or is it too easy to mine them?
it is moderately easy to mine them because of the low difficulty but it is hard because there is competition with ASICs! and also the reward is very small since the block height is so high (there has been more halvings on testnet compared to mainnet)

Quote
About my issue, I just want to test how bitcoin core works for developing reasons. Should I choose regnet?
it depends on what you are doing. most tests can be done with testnet and with the small amount these faucets give you.

There is a FOMO brewing...
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 05:19:23 PM
 #11

I wonder, are there places to "buy" testbitcoins? Or is it too easy to mine them?

Testnet coins shouldn't have any value and shouldn't be sold. There are plenty of faucets which send under 0.1 tBTC at a time. You can google them.

About my issue, I just want to test how bitcoin core works for developing reasons. Should I choose regnet?

Sure, it should suit your needs.

I have opened bitcoind.exe, because I'm trying to use the regtest mode

For how long will it do me this?
Does it mine or anything?
https://youtu.be/AlQCCXnRQ5Q


.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 20, 2020, 05:25:05 PM
 #12

Does it mine or anything?
https://youtu.be/AlQCCXnRQ5Q

It seems to be still synchronizing with the testnet. What are your startup parameters for bitcoind? Did you add '-regtest' there?
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 05:29:49 PM
 #13

What parameters? When I open bitcoind.exe I can't write anything, it starts doing that "mining" thing.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 20, 2020, 05:44:54 PM
 #14

What parameters? When I open bitcoind.exe I can't write anything, it starts doing that "mining" thing.

Let's do it the other way. Shut down Bitcoin Core, press WIN + R and enter %appdata%. You should see Bitcoin folder inside which there should be bitcoin.conf file. If you don't have one, create it. Inside that file enter regtest=1 and make sure that both testnet and mainnet are set to 0. Now, launch Bitcoin Core and you should be in the regtest mode. You can use commands in the console (Window -> Console).
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 05:54:20 PM
 #15

What parameters? When I open bitcoind.exe I can't write anything, it starts doing that "mining" thing.

Let's do it the other way. Shut down Bitcoin Core, press WIN + R and enter %appdata%. You should see Bitcoin folder inside which there should be bitcoin.conf file. If you don't have one, create it. Inside that file enter regtest=1 and make sure that both testnet and mainnet are set to 0. Now, launch Bitcoin Core and you should be in the regtest mode. You can use commands in the console (Window -> Console).

That's my bitcoin.conf:
https://pastebin.com/raw/FAFxSX6b

I did what you told me but where is the "mainnet" you said? I can't find it in the file. (Only testnet = 0 and regtest = 1)

This is what it prints me and I then run bitcoin core:
https://i.imgur.com/RDCv2Qa.png

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 20, 2020, 05:58:37 PM
 #16

I did what you told me but where is the "mainnet" you said? I can't find it in the file. (Only testnet = 0 and regtest = 1)

You need to remove '#' which is in front of both testnet and regtest - https://pastebin.com/raw/q9eY936e . Replace your config with this and it should work now.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 07:41:22 PM
 #17

I did what you told me but where is the "mainnet" you said? I can't find it in the file. (Only testnet = 0 and regtest = 1)

You need to remove '#' which is in front of both testnet and regtest - https://pastebin.com/raw/q9eY936e . Replace your config with this and it should work now.

Thanks! It successfully loaded me regnet. Question!

Why is says I'm years behind?
https://i.imgur.com/GbI47NV.png

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 20, 2020, 07:52:05 PM
 #18

Why is says I'm years behind?

Take a closer look. There are no more blocks left to download and there are no peers to connect to since you are the only node in your local setup. You can now open the console and enter regtest specific commands.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1526
Merit: 7377


Farewell, Leo


View Profile
April 20, 2020, 07:57:59 PM
 #19

Why is says I'm years behind?

Take a closer look. There are no more blocks left to download and there are no peers to connect to since you are the only node in your local setup. You can now open the console and enter regtest specific commands

So I can start administrate my own network. I read that: https://medium.com/@peterjd42/basic-commands-to-interact-with-the-bitcoin-core-rpc-console-180da2c2dc45

And of course on commands like "getblockcount" it returned "0". But how will I mine the genesis block? Can you help me here?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 20, 2020, 08:09:14 PM
 #20

And of course on commands like "getblockcount" it returned "0". But how will I mine the genesis block? Can you help me here?

You can use generatetoaddress to generate new blocks. If you type it in the console, you will see a detailed explanation on the parameters and instructions on generating a new address. I don't think if there is any point in me explaining it. Keep in mind that coins are spendable 100 blocks after they have been mined.
Pages: [1] 2 »  All
  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!