Bitcoin Forum
May 07, 2024, 05:10:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Issues setting up a testnet node.  (Read 68 times)
CullerWhale (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 7


View Profile
February 08, 2023, 05:24:39 PM
Merited by LoyceV (4), ABCbits (2), pooya87 (1)
 #1

Hello,

I am trying to synchronize with tesnet in order to participate in my Digital Currency Programming class. The next step in class is writinge python script to interact with the tesnet. I believe I do need a complete copy of the testnet or at the minimum a node that is synconrized. My instructructions were to use snap package using "$ sudo snap install bitcoin-core" which was successful and then "$ bitcoin-core.daemon -testnet -daemon" which never completes for me. I don't think my node is configured yet since it hasn't been successfully initialized yet after installation.

I did a complete factory reset on my computer and simply started over. I have a Aorus 5SE with windows 11. I am using VirtualBox 7.0.6 and Ubuntu 20.04.

My new virtual machine has 4GB of base memory, 4 CPUS, and the optical drive has 95GB. The equivalent of dynamic space adaptation is functioning. (I was recommended by my teacher to use 2GB, 2 CPUs, and 60 GB)

Before using "$sudo snap install bitcoin-core" and letting my computer run over night, "df" indicated my '/' directory had 15% of memory used. However, the default system information that prints at start up indicated 13.5% of 45.64GB for "/". This confused me since I don't recall configuring that number, nor the ability to change it.

https://i.stack.imgur.com/ZthIZ.jpg



This morning, my computer somehow went to sleep but the download appears to still be running, just very slowly. The session information indicates 0% guest activity and 50-75% VMM load of CPU usage. The results of "df" indicate 89% usage of my " / " directory. I ran it again after some time and the usage increased by 92 1K-Blocks. Is this abnormal?

https://i.stack.imgur.com/HayGT.jpg



https://i.stack.imgur.com/vxsta.jpg



1715101852
Hero Member
*
Offline Offline

Posts: 1715101852

View Profile Personal Message (Offline)

Ignore
1715101852
Reply with quote  #2

1715101852
Report to moderator
1715101852
Hero Member
*
Offline Offline

Posts: 1715101852

View Profile Personal Message (Offline)

Ignore
1715101852
Reply with quote  #2

1715101852
Report to moderator
1715101852
Hero Member
*
Offline Offline

Posts: 1715101852

View Profile Personal Message (Offline)

Ignore
1715101852
Reply with quote  #2

1715101852
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715101852
Hero Member
*
Offline Offline

Posts: 1715101852

View Profile Personal Message (Offline)

Ignore
1715101852
Reply with quote  #2

1715101852
Report to moderator
1715101852
Hero Member
*
Offline Offline

Posts: 1715101852

View Profile Personal Message (Offline)

Ignore
1715101852
Reply with quote  #2

1715101852
Report to moderator
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16616


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 08, 2023, 05:48:30 PM
Merited by pooya87 (2), ABCbits (2)
 #2

Since you're having "digital lessons", it's good to use the proper names:
the optical drive has 95GB.
An optical drive reads for instance DVDs. You're using a hard drive (or SSD).

Quote
"df" indicated my '/' directory had 15% of memory used.
"Memory" usually refers to RAM, this is storage space.

Quoting for your images to show up:
Quote


This morning, my computer somehow went to sleep but the download appears to still be running, just very slowly. The session information indicates 0% guest activity and 50-75% VMM load of CPU usage. The results of "df" indicate 89% usage of my " / " directory. I ran it again after some time and the usage increased by 92 1K-Blocks. Is this abnormal?




Some thoughts: syncing Bitcoin Core is very demanding to your system. Testnet is smaller, but still takes quite a while to sync. 4 GB RAM may be a bit low, and depending on your system a VM could slow it down significantly. I (personally) wouldn't want to run Linux in a VM under Windows, although it's possible. It sounds like using the worst of both worlds.



I recently installed a Testnet node following these instructions: [Guide] Solo mine testnet bitcoins with bfgminer, Bitcoin Core, and a CPU/GPU.

NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6730


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 09, 2023, 11:32:47 AM
Merited by ABCbits (1)
 #3

Try increasing the disk capacity to 200GB, make it fixed size (for better performance), erase the previous blockchain data on the guest disk, and start over.

But then again, you can run testnet on your host without a VM, even if you have a mainnet node running. Is there any reason why you would rather refrain from doing that?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!