Bitcoin Forum
May 04, 2024, 12:03:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Suggested Bitcoin Core Pruned Node Size  (Read 436 times)
minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 08, 2018, 06:40:40 PM
Merited by ABCbits (1)
 #1

I'm installing a pruned node on a mobile device, I was surprised that 2GB was default but seemed pretty low. The more I'm able to store the better I imagine?

Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714824236
Hero Member
*
Offline Offline

Posts: 1714824236

View Profile Personal Message (Offline)

Ignore
1714824236
Reply with quote  #2

1714824236
Report to moderator
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 10, 2018, 12:01:47 PM
 #2

Pruned mode is for people who want an up-to-date client who has validated the whole chain itself but don't want to let the blockchain occupy too much of your hard drive.

It all depends on what you want to achieve with your node. If you just want to use it as a safe wallet, set the prune limit to as much as you want core to have of your hard drive.

However, if you regularly swap wallets inside of core you'll need to download the whole blockchain again to build the available UTXO's.
If you have enough disk space (HDs are extremely cheap currently), it is better to run core without pruning. In case of any failure, you will save yourself from downloading the data again.

minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 10, 2018, 02:19:53 PM
 #3

Thank you for all the reply's. I'll be more specific.

I'm looking to run a node on a 256gb microSD A1 or above. Essentially I can swap this from phone to phone, tablet to tablet, etc easily and have in my opinion a full node in place of a light wallet?

Thoughts?

Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 10, 2018, 03:47:45 PM
 #4

If you have 256gb, you don't need any pruning at all. The best in this case would be to store the complete blockchain.

Also, note that this might not work out as you are expecting. Core needs a continuous connection to the memory. This might fail with a SD card.
In this case some data is going to be corrupted, requiring a resync.

But in theory.. yes, this would be a 'light wallet' (in terms of portability) using a full node.

minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 10, 2018, 08:49:42 PM
 #5

Well it would just be for the node nothing else. 100 mb/s read is the spec I'm looking at, doesn't say what the write is though.

Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 11, 2018, 10:00:32 AM
 #6

Then there shouldn't be any problem, even though i doubt microSD is durable if you plan to run node 24/7.

Yeah, i also believe this won't work out well. SD cards (or external HD's) aren't very good at guaranteeing a continuous connection.
But without pruning and some rescans, it theoretically should work somewhat good.



You should look random read/write speed and make sure at least it's as fast as HDD's random read/write speed.

SD cards use flash memory (same as USB sticks and SSD's).
So a SD card should be at least as fast as a HDD by default, even cheap ones (but their durability is way lower than from a quality SD card).

minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 15, 2018, 09:04:37 PM
Last edit: October 16, 2018, 07:19:01 PM by minefarmbuy
 #7

We'll I'm going to proceed with a "mobile" node with this mircoSD card I paid for myself. Not by mfb or given by PNY. I'll try to load everything including application onto it and will prune at 230 gb. Will update as it goes. Sorry for refection.

 




Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 15, 2018, 09:33:25 PM
Last edit: October 16, 2018, 07:20:09 PM by minefarmbuy
 #8

Half hour in mobile mesh.




Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 15, 2018, 09:42:39 PM
Last edit: October 16, 2018, 07:21:23 PM by minefarmbuy
 #9

Not sure how to resize but should have posted without screen capture.


Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
October 16, 2018, 01:18:21 PM
 #10

It's always interested me to know how well a mobile device handles the satoshi bitcoin client, it's obviously always been possible (and now that people are using Arm A53 class SoC machines like Raspis for full nodes + lightning, it's obviously practical).

I'd recommend supplying the -blocksonly parameter to bitcoind as well as -prune (assuming the app lets you do that easily enough). Your data plan will get crushed if you re-sync the blockchain over your cell connection too regularly, relaying transactions and all the other network messages will make that something like twice as data-hungry.



You want this in your image tags to change image size:
[img height=numberOfPixels][/img]  

Vires in numeris
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
October 16, 2018, 07:07:02 PM
 #11

The flash memory in microSD cards isn't designed to sustain so many write operations. It'll wear out quickly. You're better of buying an SSD and using that.
minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 16, 2018, 07:15:59 PM
 #12

The mobile device I can't update the main drive with more storage but can add the microSD storage. This is a high grade microSD but still more of an experiment, yes.

Looks like 99GB is max for a pruned node. UL speed has fluctuated when using the device. 63% progress into May 2017 blocks, 15 hrs remaining as of now.

Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 17, 2018, 03:26:50 PM
 #13

I'll try to load everything including application onto it and will prune at 230 gb.

Fortunately you won't need pruning. The current size of the blockchain is at about 184 GB.

You might also want to backup the chainstate folder (on the same sd card, in a different directory).
This will allow you to get to a working state if your current chainstate will get corrupted.



Will update as it goes.

Feel free to update regarding stability and convenience.
We'll also gladly assist in any occurring problems.

minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 17, 2018, 07:40:43 PM
 #14

I'll try to load everything including application onto it and will prune at 230 gb.

Fortunately you won't need pruning. The current size of the blockchain is at about 184 GB.

You might also want to backup the chainstate folder (on the same sd card, in a different directory).
This will allow you to get to a working state if your current chainstate will get corrupted.



Will update as it goes.

Feel free to update regarding stability and convenience.
We'll also gladly assist in any occurring problems.

We'll just a couple more hours till done syncing. I did select pruned as Core website said it needed 220gb from what I recall and would be about 10gb added monthly? 

I'll try and get the back up as suggested. Currently the "disk" is at 90-100% usage while UL and get's average of 7MB/s read/write. Not to bad. Might UL faster with pruning I imagine.

Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 18, 2018, 06:03:34 AM
 #15

Everything works well. Read/write to disk is about 2 mb/s "spikes" three or four times a minute, or so. The initial strain is obviously the ul of history for two days. One thing I miss is incoming connections of a full node. Unless I'm missing something?

Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 18, 2018, 07:02:50 AM
 #16

I did select pruned as Core website said it needed 220gb from what I recall and would be about 10gb added monthly? 

220 gb sounds a bit too much. Blockchain size is currently at ~184 GB and core shouldn't need more than a few GB.
Also 10 GB quarterly sounds more appropriate than monthly.



One thing I miss is incoming connections of a full node. Unless I'm missing something?

You need to enable incoming connections in the settings first.
Also, did you set port forwarding of port 8333 on your router ?

minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 18, 2018, 07:13:34 AM
 #17

So pruned I can have incoming then? It depends on the network I suppose being mobile (to have ports forwarded). At least a couple networks i traveled to today do but still only 8 out.

Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 18, 2018, 07:16:08 AM
 #18

So pruned I can have incoming then? It depends on the network I suppose being mobile (to have ports forwarded). At least a couple networks i traveled to today do but still only 8 out.

Whether you are running a pruned node or not has no influence on the incoming connections.

If the network you are visiting with your full node, doesn't have port 8333 forwarded to your machine, you can not accept incoming connections.
You'll need either to contact the administrator to give you a static IP and set port forwarding for this IP, or live without incoming connections.

Note that your node is fully functional, you just don't support the network without incoming connections.

minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 18, 2018, 07:50:53 AM
 #19

I had forgotten about the port forwarding. So being mobile I may have to let that go as I wont be able to control other networks or hotspots, etc.

Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
minefarmbuy (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 221


We are not retail.


View Profile WWW
October 20, 2018, 03:51:56 PM
 #20

The disc is practically idle now when minimized to taskbar on the winX tablet i'm using. Transactions in and out working fine, I suppose if you have a wallet that connects to a node already it maybe redundant.

Since my goal was to have a full node w/incoming traffic my shortsightedness let me down but still may suffer another ul period to at least sync the full chain.

I don't have a windows phone but wonder if I can swap the card out between devices? Maybe give it try after some research, or experience of others replying.   


Premier asic sourcing minefarmbuy.com #mineon
Twitter:@minefarmbuy -LN Tips-
Email: info@minefarmbuy.com PGP:1A1C A4D4 CE04 F57E 1C0C 5240 592A 09BF CCB4 F0C3
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!