Bitcoin Forum
May 04, 2024, 09:46:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Can I just run a pruned node without downloading historical data?  (Read 458 times)
Beetkoin (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 18


View Profile
October 07, 2021, 07:07:43 AM
 #1

I am trying to run Bitcoin core, but when I started the software, it says that I can either:

1) Download the entire blockchain and keep it on my disk, 350GB
2) Download the entire blockchain, verify historical data, and only keep the most recent 2 GB of blocks.

Either way, I have to download 350GB of historical data.

Forgive me, Toxic Maxis, but is there an implementation of Bitcoin Core where I can only download the most recent 2GB of blocks?

Furthermore, I have another idea.

Is it possible to build a full node that stores only the latest UTXO set and the latest 2016 blocks for difficulty adjustment?

If I store all current UTXOs and the latest 2016 blocks, is it to all intents and purposes, the same as storing the entire 350GB block chain?

If no such software exists I will build it from scratch. I am currently reading Programming Bitcoin by Jimmy Song.
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714859210
Hero Member
*
Offline Offline

Posts: 1714859210

View Profile Personal Message (Offline)

Ignore
1714859210
Reply with quote  #2

1714859210
Report to moderator
1714859210
Hero Member
*
Offline Offline

Posts: 1714859210

View Profile Personal Message (Offline)

Ignore
1714859210
Reply with quote  #2

1714859210
Report to moderator
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6374


Looking for campaign manager? Contact icopress!


View Profile
October 07, 2021, 07:15:31 AM
Merited by mprep (5), pooya87 (2), ABCbits (2), vapourminer (1)
 #2

is there an implementation of Bitcoin Core where I can only download the most recent 2GB of blocks?

Nope. The idea is to trust nobody, hence you (your local wallet software) will verify/validate the whole blockchain to ensure the 2 GB you keep is correct / not tampered.
Furthermore, the pruned blockchain contains data relevant to your wallet, hence other nodes cannot really give you "filtered" data, since they don't know your addresses.


If no such software exists I will build it from scratch. I am currently reading Programming Bitcoin by Jimmy Song.

I suggest you read more first. Also maybe what you want is a SPV wallet.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Beetkoin (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 18


View Profile
October 07, 2021, 07:29:27 AM
 #3

Quote
the pruned blockchain contains data relevant to your wallet
hence other nodes cannot really give you "filtered" data

Do I have to start a new wallet in order to run Bitcoin core?
What if I just want to use Bitcoin core as a block explorer?

I just want to run a full node where I can just type in a certain public key, and it tells me which UTXOs are associated with this key. Basically a local version of blockchain.com/explorer

Furthermore I don't have the space to store 350GB of data.
As far as I can tell, if I run a pruned node, when I want to look up a certain public key I will have to reference other people's nodes. Basically a pruned node is no different from blockchain.com/explorer.

So I am thinking this:
If I can just store the complete set of all current UTXOs, plus the most recent 2016 blocks, then it is to all intents and purposes the same as running a 350GB full node.
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4842



View Profile
October 07, 2021, 08:08:00 AM
Merited by Cookdata (1)
 #4

Is it possible to build a full node that stores only the latest UTXO set and the latest 2016 blocks for difficulty adjustment?
You can check this out to know more about pruned node, but ways to privacy can be costly and best to download the full blockchain.

Pros and Cons of Bitcoin Node types (Full node and Prune node)

As far as I can tell, if I run a pruned node, when I want to look up a certain public key I will have to reference other people's nodes. Basically a pruned node is no different from blockchain.com/explorer.
Completely different. If you have pruned node, you are running full node, not necessary to download the whole blockchain, but it is advisable to download the whole blockchain if you want to enjoying running full node. Blockchain explerers are their parties, many people will use their IP address to look up bitcoin addresses, just a way many addresses can be connected together and resulting to no privacy, you can check this including the mempool on Bitcoin Core if you are running full node.

Also is the issue of SPV wallets connecting to central servers that can link your bitcoin addresses together, linking it to your IP addresses, making privacy not possible, this is the reason privacy oriented bitcoin users will not depend on central servers but run their own node.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
October 07, 2021, 09:23:45 AM
Last edit: October 07, 2021, 10:42:15 AM by n0nce
Merited by pooya87 (2)
 #5

So I am thinking this:
If I can just store the complete set of all current UTXOs, plus the most recent 2016 blocks, then it is to all intents and purposes the same as running a 350GB full node.
How would you plan to get all current UTXOs without downloading the blockchain from the beginning?
It's simple: if I bought BTC in 2010, that UTXO was mined and recorded in the blockchain back then. If you only download the latest blocks, you will never know about it and think that that address is empty. This is why you need to download everything to build the UTXO cache yourself and verify everything.

If you don't mind verifying everything, just run an SPV node. It's as simple as that Smiley

If you don't have the storage for 350GB, I think pruned node is a good idea. It gives you many benefits over SPV, while only requiring a few GB of storage. Sure, the initial block download won't be faster than when doing a regular full node, but if you don't have bandwidth issues, it's really a no-brainer.

I'm not sure, what's the state on this, but it seems you can just run Bitcoin Core in SPV mode actually. Thus having access to all of the commands etc.:
https://github.com/bitcoin/bitcoin/pull/9076
It seems it was never merged (?)

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Beetkoin (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 18


View Profile
October 07, 2021, 10:02:13 AM
 #6

Ok, so currently the only two options for running a full node are Unpruned and Pruned.

Unpruned costs 350GB. Pruned requires trusting third parties for historical data.

I am proposing a "partially pruned" full node.

Basically, a Pruned full node plus all currently non-zero UTXO.

This can save disk space, plus not having to trust third parties for historical data.

The list of all non-zero UTXO can be constructed from an Unpruned full node. Or it can be downloaded from somewhere.
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
October 07, 2021, 10:05:20 AM
Merited by vapourminer (2)
 #7

Ok, so currently the only two options for running a full node are Unpruned and Pruned.

Unpruned costs 350GB. Pruned requires trusting third parties for historical data.

I am proposing a "partially pruned" full node.

Basically, a Pruned full node plus all currently non-zero UTXO.

That's exactly what a pruned node does actually. You construct the UTXO list yourself while downloading all blocks from genesis onwards, so you can be 100% sure that it's correct.
But looking up how much funds were on an address at an earlier point in time, whose block has been deleted from your drive, that has to be fetched from non-pruned full nodes.

The list of all non-zero UTXO can be constructed from an Unpruned full node. Or it can be downloaded from somewhere.
This makes absolutely no sense. If you 'just download something somewhere', you're trusting and might as well just use an SPV node software.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Beetkoin (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 18


View Profile
October 07, 2021, 10:12:52 AM
 #8

That's exactly what a pruned node does actually. You construct the UTXO list yourself while downloading all blocks from genesis onwards, so you can be 100% sure that it's correct.
But looking up how much funds were on an address at an earlier point in time, whose block has been deleted from your drive, that has to be fetched from non-pruned full nodes.

Wow that is good news. I will want to run a pruned node.

However, when I first run Bitcoin Core / Bitcoin Knots, it only gives me two options. Both options require me to download the entire 350GB blockchain, regardless of whether I want to run a full node or a pruned node.

That triggers me a lot. Feels like the developers forcing me to do a lot of extra work.

And if I reinstall my computer or my harddisk fails, then I have to do everything all over again.

So I want to know if there is an implementation of Bitcoin where I can just start with a pruned node. I will sacrifice the security of verifying the entire chain from genesis for the convenience of just downloading what is necessary to construct a pruned node.
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
October 07, 2021, 10:39:13 AM
 #9

However, when I first run Bitcoin Core / Bitcoin Knots, it only gives me two options. Both options require me to download the entire 350GB blockchain, regardless of whether I want to run a full node or a pruned node.
This is the only thing giving you more security over an SPV node though. Anything else would be pointless really.
Just let it sit for a few days, it's not as bad as you might think Smiley

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
witcher_sense
Legendary
*
Offline Offline

Activity: 2338
Merit: 4316

🔐BitcoinMessage.Tools🔑


View Profile WWW
October 07, 2021, 10:41:31 AM
Last edit: October 07, 2021, 10:56:38 AM by witcher_sense
 #10

That's exactly what a pruned node does actually. You construct the UTXO list yourself while downloading all blocks from genesis onwards, so you can be 100% sure that it's correct.
But looking up how much funds were on an address at an earlier point in time, whose block has been deleted from your drive, that has to be fetched from non-pruned full nodes.

Wow that is good news. I will want to run a pruned node.

However, when I first run Bitcoin Core / Bitcoin Knots, it only gives me two options. Both options require me to download the entire 350GB blockchain, regardless of whether I want to run a full node or a pruned node.

That triggers me a lot. Feels like the developers forcing me to do a lot of extra work.

And if I reinstall my computer or my harddisk fails, then I have to do everything all over again.

So I want to know if there is an implementation of Bitcoin where I can just start with a pruned node. I will sacrifice the security of verifying the entire chain from genesis for the convenience of just downloading what is necessary to construct a pruned node.

The only implementation I am aware of is this: Bitcoin Core pruned blockchain: download it here! (DON'T DO THIS!) It is no longer being maintained, though.

You may have noticed a big "DON'T DO THIS" sign, so you probably shouldn't try to run a pruned node without validating of all previous history.

It is not developers who are forcing you to download and verify everything that occurred in bitcoin blockchain, it is trust issues with third-party providers of blockchain data that require developers to not implement questionable things that may destroy the whole network.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
PrimeNumber7
Copper Member
Legendary
*
Offline Offline

Activity: 1624
Merit: 1899

Amazon Prime Member #7


View Profile
October 07, 2021, 12:50:12 PM
 #11

Forgive me, Toxic Maxis, but is there an implementation of Bitcoin Core where I can only download the most recent 2GB of blocks?

Furthermore, I have another idea.

Is it possible to build a full node that stores only the latest UTXO set and the latest 2016 blocks for difficulty adjustment?

If I store all current UTXOs and the latest 2016 blocks, is it to all intents and purposes, the same as storing the entire 350GB block chain?
No, this is not possible.

Each new block that is found is a derivative of the previous block, and every block before it. In order to validate if a block is valid or not, you need to know if all inputs spent in that block are valid, and the only way to know if an input is valid is by at one point looking at all previous blocks. If your node has never looked at all previous blocks, it will have no way of knowing the UTXO set.

One solution might be to change the bitcoin protocol so that blocks must contain a hash of the UTXO set so that someone has the ability to run a full node without processing the entire blockchain.

Quote
the pruned blockchain contains data relevant to your wallet
hence other nodes cannot really give you "filtered" data

Do I have to start a new wallet in order to run Bitcoin core?
What if I just want to use Bitcoin core as a block explorer?

I just want to run a full node where I can just type in a certain public key, and it tells me which UTXOs are associated with this key. Basically a local version of blockchain.com/explorer
If you want to use a full node as anything resembling a block explorer, you must store the entire blockchain. When you run a pruned node, you are disregarding the history of all transactions, and are keeping a list of all unspent outputs that can be part of a block, plus a portion of the recent blockchain in case of a reorg.

If all you want are unspent outputs, you can run a pruned node, but this will omit a lot of information that pretty much all other block explorers provide.
vjudeu
Hero Member
*****
Offline Offline

Activity: 678
Merit: 1560



View Profile
October 07, 2021, 02:00:06 PM
Merited by BlackHatCoiner (1)
 #12

Quote
The list of all non-zero UTXO can be constructed from an Unpruned full node. Or it can be downloaded from somewhere.
UTXO's with zero satoshis are valid. Creating and spending them is valid, so if you get rid of them, you will have an incompatible node.

Quote
And if I reinstall my computer or my harddisk fails, then I have to do everything all over again.
No, because you can make a backup of your pruned node and store it somewhere. All you need is keeping some hash of that backup, then you can later download something like 7 GB of data and check if the hash is correct, in that way you can do initial block downloading once and trust your own backup since then.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1512
Merit: 7350


Farewell, Leo


View Profile
October 07, 2021, 02:22:45 PM
 #13

If you don't mind verifying everything, just run an SPV node. It's as simple as that Smiley
You mean, connect with an SPV node? If you run your own SPV node, you're verifying everything.

However, when I first run Bitcoin Core / Bitcoin Knots, it only gives me two options. Both options require me to download the entire 350GB blockchain, regardless of whether I want to run a full node or a pruned node.
This is the only thing giving you more security over an SPV node though.
You mean privacy? Connecting to an SPV node has no difference from running your own in terms of security.

Unpruned costs 350GB. Pruned requires trusting third parties for historical data.
Both pruned and unpruned requires you to trust none. With pruned you just then get rid of the blocks you had downloaded to save up storage. Note that once you start syncing as a pruned node, you can only choose specific wallet(s). Once you finish the synchronization, no new wallets can be loaded unless you're fine by re-syncing it.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
October 07, 2021, 02:22:50 PM
 #14

The only implementation I am aware of is this: Bitcoin Core pruned blockchain: download it here! (DON'T DO THIS!) It is no longer being maintained, though.
This doesn't include a UTXO list. I'm not even sure if a pruned node does that nowadays. I'd like the feature though: that would allow to load an old wallet.dat into a pruned node.

That triggers me a lot. Feels like the developers forcing me to do a lot of extra work.
It's part of the "verify, don't trust" mantra. As long as you're not limited on data, any half decent computer should be able to download and prune Bitcoin Core in about a day. If you have enough RAM you could even fit it on a RAM drive to beat SSD speed (I've done this as a test on /dev/shm).

pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10546



View Profile
October 08, 2021, 03:12:39 AM
Merited by vapourminer (1)
 #15

So I want to know if there is an implementation of Bitcoin where I can just start with a pruned node. I will sacrifice the security of verifying the entire chain from genesis for the convenience of just downloading what is necessary to construct a pruned node.
Yes there is, the category is called SPV clients and the example of it is Electrum.
In this category, you download a very small amount of data known as block headers and perform minimal verification on a lot of things. Your communication with nodes will also be minimal each time you want to synchronize.

I just want to run a full node where I can just type in a certain public key, and it tells me which UTXOs are associated with this key
Maybe you should first explain what your real goal is.

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

Activity: 3388
Merit: 4616



View Profile
October 08, 2021, 03:27:45 PM
Merited by n0nce (1)
 #16

So I want to know if there is an implementation of Bitcoin where I can just start with a pruned node. I will sacrifice the security of verifying the entire chain from genesis for the convenience of just downloading what is necessary to construct a pruned node.
Yes there is, the category is called SPV clients and the example of it is Electrum.
In this category, you download a very small amount of data known as block headers and perform minimal verification on a lot of things. Your communication with nodes will also be minimal each time you want to synchronize.

I just want to run a full node where I can just type in a certain public key, and it tells me which UTXOs are associated with this key
Maybe you should first explain what your real goal is.

This is definitely starting to sound like a classic XY Problem.
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
October 08, 2021, 04:26:14 PM
 #17

So I want to know if there is an implementation of Bitcoin where I can just start with a pruned node. I will sacrifice the security of verifying the entire chain from genesis for the convenience of just downloading what is necessary to construct a pruned node.
Yes there is, the category is called SPV clients and the example of it is Electrum.
In this category, you download a very small amount of data known as block headers and perform minimal verification on a lot of things. Your communication with nodes will also be minimal each time you want to synchronize.

I just want to run a full node where I can just type in a certain public key, and it tells me which UTXOs are associated with this key
Maybe you should first explain what your real goal is.

This is definitely starting to sound like a classic XY Problem.
I was just thinking about it Cheesy
The XY problem is asking about your attempted solution rather than your actual problem. This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.
~
The problem occurs when people get stuck on what they believe is the solution and are unable step back and explain the issue in full.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6263


Crypto Swap Exchange


View Profile WWW
October 08, 2021, 06:20:11 PM
 #18

This is definitely starting to sound like a classic XY Problem.
I was just thinking about it Cheesy
The XY problem is asking about your attempted solution rather than your actual problem. This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.
~
The problem occurs when people get stuck on what they believe is the solution and are unable step back and explain the issue in full.

Also part of the problem is that as we have discussed in other threads, you can put a complete node together for well under $200, NEW.
Used PCs and stuff are much much less. https://www.ebay.com/itm/284407553576
At what point does doing the lets try 100 different things so you don't have to download the entire blockchain or have that extra storage space not worth it because if you ever want to do anything else with the node you are going to have to download it anyway and all you did is waste time and effort to get to the same place you were going to wind up at anyway.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
October 09, 2021, 12:08:43 AM
Merited by DaveF (1)
 #19

Also part of the problem is that as we have discussed in other threads, you can put a complete node together for well under $200, NEW.
Used PCs and stuff are much much less. https://www.ebay.com/itm/284407553576
At what point does doing the lets try 100 different things so you don't have to download the entire blockchain or have that extra storage space not worth it because if you ever want to do anything else with the node you are going to have to download it anyway and all you did is waste time and effort to get to the same place you were going to wind up at anyway.
I agree; some people are ready to fully trust 3rd parties, while others want to change the Bitcoin protocol itself.... for what? For impatience and / or not wanting to save up for a few pieces of basic hardware (which can always come in handy in case you abandon the full node project).
If price is really such a big concern, they can even get hardware for free, like look on eBay & similar for trashed laptops where mostly the screen is broken - there you go, saved 100 bucks off a Raspi setup. SSD / HDD you might want to buy new, but at that point it's just one single component left to buy. If you can't afford an SSD, 1TB HDDs are dirt cheap in 2021 and people might give them away too, if you ask around. I find them used everywhere for 20€.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Syke
Legendary
*
Offline Offline

Activity: 3878
Merit: 1193


View Profile
October 10, 2021, 07:23:30 AM
 #20

No, because you can make a backup of your pruned node and store it somewhere. All you need is keeping some hash of that backup, then you can later download something like 7 GB of data and check if the hash is correct, in that way you can do initial block downloading once and trust your own backup since then.

That's what I just finished doing. 5.4 GB zipped and ready to jump-start a fresh install when needed.

Buy & Hold
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!