Bitcoin Forum
October 24, 2018, 06:27:27 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Testnet blockchain  (Read 234 times)
cellard
Legendary
*
Offline Offline

Activity: 1176
Merit: 1152


View Profile
December 06, 2017, 06:08:43 PM
 #1

Im trying to do some tests to learn how to use raw transactions and other command lines. Since im scared to do this with real coins, I would like to use the testnet. I've never used it before. It looks like you just have to open the testnet shortcut and it will open. My questions are:

1) Does it keep the data folder separated from the real blockchain I guess? Do I get prompted when I first open it for the first time where to put the testnet blockchain?
2) Is there any way to download this faster from a torrent or something? Since its just testnet coins I don't really care that much about it so I would be willing to download it from somewhere faster that the client then just validate it.

1540362447
Hero Member
*
Offline Offline

Posts: 1540362447

View Profile Personal Message (Offline)

Ignore
1540362447
Reply with quote  #2

1540362447
Report to moderator
1540362447
Hero Member
*
Offline Offline

Posts: 1540362447

View Profile Personal Message (Offline)

Ignore
1540362447
Reply with quote  #2

1540362447
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1540362447
Hero Member
*
Offline Offline

Posts: 1540362447

View Profile Personal Message (Offline)

Ignore
1540362447
Reply with quote  #2

1540362447
Report to moderator
1540362447
Hero Member
*
Offline Offline

Posts: 1540362447

View Profile Personal Message (Offline)

Ignore
1540362447
Reply with quote  #2

1540362447
Report to moderator
1540362447
Hero Member
*
Offline Offline

Posts: 1540362447

View Profile Personal Message (Offline)

Ignore
1540362447
Reply with quote  #2

1540362447
Report to moderator
bob123
Hero Member
*****
Offline Offline

Activity: 714
Merit: 616



View Profile WWW
December 06, 2017, 09:16:09 PM
 #2

If you just want to test some stuff out you don't really need to download the whole blockchain.
Theoretically you don't even have to download any blockchain.
For such purposes you can use bitcoin testnet box (https://github.com/freewil/bitcoin-testnet-box).
It will create a private btc network on your pc with 2 nodes being connected to each other.
Additionally you don't have to wait for any blocks to be mined, since you can easily just generate new blocks with "make generate"-command.
Or you can use the regtest mode which also creates a private blockchain with the same rules as testnet (and block-generating-feature).

aplistir
Full Member
***
Offline Offline

Activity: 274
Merit: 119



View Profile
December 06, 2017, 10:33:36 PM
 #3

Im trying to do some tests to learn how to use raw transactions and other command lines. Since im scared to do this with real coins, I would like to use the testnet. I've never used it before. It looks like you just have to open the testnet shortcut and it will open. My questions are:

1) Does it keep the data folder separated from the real blockchain I guess? Do I get prompted when I first open it for the first time where to put the testnet blockchain?
2) Is there any way to download this faster from a torrent or something? Since its just testnet coins I don't really care that much about it so I would be willing to download it from somewhere faster that the client then just validate it.

You do not have to use the bitcoin core, which needs to download the blockchain.

For example I use Copay (both in android phone and desktop), which supports testnet, and doesn't need to download anything.

If you want to manually create your transactions then you can just use https://live.blockcypher.com/btc-testnet/pushtx/ to broadcast them.

My Address: 121f7zb2U4g9iM4MiJTDhEzqeZGHzq5wLh
cellard
Legendary
*
Offline Offline

Activity: 1176
Merit: 1152


View Profile
December 06, 2017, 11:55:25 PM
 #4

Im trying to do some tests to learn how to use raw transactions and other command lines. Since im scared to do this with real coins, I would like to use the testnet. I've never used it before. It looks like you just have to open the testnet shortcut and it will open. My questions are:

1) Does it keep the data folder separated from the real blockchain I guess? Do I get prompted when I first open it for the first time where to put the testnet blockchain?
2) Is there any way to download this faster from a torrent or something? Since its just testnet coins I don't really care that much about it so I would be willing to download it from somewhere faster that the client then just validate it.

You do not have to use the bitcoin core, which needs to download the blockchain.

For example I use Copay (both in android phone and desktop), which supports testnet, and doesn't need to download anything.

If you want to manually create your transactions then you can just use https://live.blockcypher.com/btc-testnet/pushtx/ to broadcast them.



I need to use Bitcoin Core because I want to practice with Bitcoin Core's command line because I want to learn how to do rawtransactions and other cvars, so I just can't use any other software, it must be Core.

Anyone knows how big the testnet blockchain is? I've heard it's like 7 GB which is not that much, maybe I will give it a try with the actual client.

bob123
Hero Member
*****
Offline Offline

Activity: 714
Merit: 616



View Profile WWW
December 07, 2017, 07:05:40 AM
 #5

I need to use Bitcoin Core because I want to practice with Bitcoin Core's command line because I want to learn how to do rawtransactions and other cvars, so I just can't use any other software, it must be Core.

Are you able to read? Do you know how to use google?
Just read my Post:

Or you can use the regtest mode which also creates a private blockchain with the same rules as testnet (and block-generating-feature).

cellard
Legendary
*
Offline Offline

Activity: 1176
Merit: 1152


View Profile
December 07, 2017, 07:58:32 PM
 #6

I need to use Bitcoin Core because I want to practice with Bitcoin Core's command line because I want to learn how to do rawtransactions and other cvars, so I just can't use any other software, it must be Core.

Are you able to read? Do you know how to use google?
Just read my Post:

Or you can use the regtest mode which also creates a private blockchain with the same rules as testnet (and block-generating-feature).

Regtest is useless for my goal, it would only be useful if I didn't need 2 laptops, but I want to create a realistic scenario with my 2 laptops, so I can do the entire thing exactly as it would in a real situation, can't do that with regtest mode so I will need to download the testnet blockchain, it's not that big anyway.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!