Pages:
Author

Topic: Running a full node vs running with "prune mode" enabled (Read 3955 times)

hero member
Activity: 725
Merit: 503
Cool, exactly my use case, adding new addresses!
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
importing private keys without rescanning the blockchain is possible by entering importprivkey [key] [label] false . but you probably shouldn't import a used address.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
But how does importprivkey work with pruning?!

I'm not sure if that command is even allowed when running in prune mode but if it is allowed then it would only be permitted for adding a new (never used before) address (same would apply to importaddress also).
hero member
Activity: 725
Merit: 503
But how does importprivkey work with pruning?!
hero member
Activity: 692
Merit: 569
Block pruning was introduced with 0.11.0, you can run a pruned node right now if you wanted to.  There is no security compromise here, but you lose some functionality in not having the entire block chain stored at your node.  If you have HD space to spare and a decent internet connection there's really no reason to run in pruned mode.

You still have to d/l the entire 40GB+ blockchain the first time you install before it can be pruned, so starting a pruned node will still take some time, but once it's pruned you don't need to keep all the data.

Here's some good reading for you: https://news.bitcoin.com/pros-and-cons-on-bitcoin-block-pruning/

Keep in mind that a pruned mode can currently not offer a wallet and it does not relay blocks. It is thus no help to SPV clients or at least thats my understanding of SPV. A pruned node will just relay transactions.

Why does it not relay blocks ? It can relay blocks that it has. Only the pruned blocks it cannot relay.
legendary
Activity: 1386
Merit: 1123
Another question, why was this method of "pruning" chosen? Why does it just keep track of the last X amount of blocks?

This seems like an awkward implementation because it doesn't actually help anything directly, and just leaves a huge gap in the blockchain.
It would work without keeping any of the blockchain. After it verifies the blocks there really is no need for the blockchain. It keeps those blocks in case of blockchain reorgs.

Wouldn't it be more effective to prune by following the coins from the blocks they were mined from?

I.E. Keeping a record of where the coin was mined and where it is currently.
This is pruning at the node level, not shrinking the blockchain which is what you are suggesting. And at the protocol level, there is no such thing as a "coin", it is all inputs and outputs so such an idea does not work.

Ok, thanks for the further explanation. Things are a little clearer now.. I've been doing my best to learn more about the "technical" side of bitcoin, and so far the community has been wonderful for it.
legendary
Activity: 2828
Merit: 2472
https://JetCash.com
Some of us will run more than one computer with up-to-date cores on them. It will depend on the circumstances of the moment. ie. are you at home, or in McDonalds. Maybe you are in a nature park filming wildlife, and doing some domain name trading while you wait for some event.
hero member
Activity: 1106
Merit: 521
I think those who will run this pruned mode would not have run a full node anyway. This new feature might actually pull more people running SPV wallets or web wallets into running pruned nodes. Security of the network will not be impacted much.

I think your right, i run a full node because i enjoy knowing i am contributing to the network,  i think anyone who runs a pruned node wouldn't have bothered with a full node anyway. 
staff
Activity: 3458
Merit: 6793
Just writing some code
Another question, why was this method of "pruning" chosen? Why does it just keep track of the last X amount of blocks?

This seems like an awkward implementation because it doesn't actually help anything directly, and just leaves a huge gap in the blockchain.
It would work without keeping any of the blockchain. After it verifies the blocks there really is no need for the blockchain. It keeps those blocks in case of blockchain reorgs.

Wouldn't it be more effective to prune by following the coins from the blocks they were mined from?

I.E. Keeping a record of where the coin was mined and where it is currently.
This is pruning at the node level, not shrinking the blockchain which is what you are suggesting. And at the protocol level, there is no such thing as a "coin", it is all inputs and outputs so such an idea does not work.
legendary
Activity: 1386
Merit: 1123
Another question, why was this method of "pruning" chosen? Why does it just keep track of the last X amount of blocks?

This seems like an awkward implementation because it doesn't actually help anything directly, and just leaves a huge gap in the blockchain.

Wouldn't it be more effective to prune by following the coins from the blocks they were mined from?

I.E. Keeping a record of where the coin was mined and where it is currently.
staff
Activity: 3458
Merit: 6793
Just writing some code
So from my understanding, the implications of "prune mode" would be to allow transactions to be relayed as in a full-node, but without the (heavy)-storage dedication. I'm assuming these "prune mode" machines still confirm transactions, and so this would result in a more efficient, lighter protocol.

Is that right?

Nope, just a smaller blockchain, in my particular configuration the last 5 GB of the blockchain.

Then I'm missing the point entirely. If it's not to make blockchain lighter and more situional-ly efficient to encourage more nodes and cut-down resources where appropriate.. How does a smaller blockchain benefit anybody?
It is lighter on the disk. Traditionally full nodes downloaded and saved every single block it receives onto the disk. With pruning it will still download the entire blockchain it just won't save the entire thing to the disk. It benefits those running the bodes by reducing the storage requirement. Otherwise it has no affect on the network or protocol.
legendary
Activity: 1386
Merit: 1123
So from my understanding, the implications of "prune mode" would be to allow transactions to be relayed as in a full-node, but without the (heavy)-storage dedication. I'm assuming these "prune mode" machines still confirm transactions, and so this would result in a more efficient, lighter protocol.

Is that right?

Nope, just a smaller blockchain, in my particular configuration the last 5 GB of the blockchain.

Then I'm missing the point entirely. If it's not to make blockchain lighter and more situional-ly efficient to encourage more nodes and cut-down resources where appropriate.. How does a smaller blockchain benefit anybody?
legendary
Activity: 2786
Merit: 1031
So from my understanding, the implications of "prune mode" would be to allow transactions to be relayed as in a full-node, but without the (heavy)-storage dedication. I'm assuming these "prune mode" machines still confirm transactions, and so this would result in a more efficient, lighter protocol.

Is that right?

Nope, just a smaller blockchain, in my particular configuration the last 5 GB of the blockchain.
legendary
Activity: 1386
Merit: 1123
So from my understanding, the implications of "prune mode" would be to allow transactions to be relayed as in a full-node, but without the (heavy)-storage dedication. I'm assuming these "prune mode" machines still confirm transactions, and so this would result in a more efficient, lighter protocol.

Is that right?
legendary
Activity: 2786
Merit: 1031
Synchronized pretty quick comparing with previous versions, I'm now running a full node with a 5GB blockchain with wallet. Smiley
hero member
Activity: 560
Merit: 500
Synchronization is really frustrating sometimes!
And if you need fast acting with your BTCs it is better to stick with multibit or similar wallets..
https://multibit.org/
legendary
Activity: 2786
Merit: 1031
Block pruning was introduced with 0.11.0, you can run a pruned node right now if you wanted to.  There is no security compromise here, but you lose some functionality in not having the entire block chain stored at your node.  If you have HD space to spare and a decent internet connection there's really no reason to run in pruned mode.

You still have to d/l the entire 40GB+ blockchain the first time you install before it can be pruned, so starting a pruned node will still take some time, but once it's pruned you don't need to keep all the data.

Here's some good reading for you: https://news.bitcoin.com/pros-and-cons-on-bitcoin-block-pruning/

Keep in mind that a pruned mode can currently not offer a wallet and it does not relay blocks. It is thus no help to SPV clients or at least thats my understanding of SPV. A pruned node will just relay transactions.
The next release (0.12) will enable the wallet.

This is great news, gonna try it right now.

These I am not sure. You can run 0.12.0rc2 to try it out.


Is there a bin of this somewhere?

Only for 0.12.0rc1 here -> https://bitcoin.org/bin/bitcoin-core-0.12.0/test/


Thank you very much, synchronizing as we speak.
staff
Activity: 3458
Merit: 6793
Just writing some code
Although it hasn't been officially released, 0.12.0rc2 has been tagged and gitian built by people, including me. I uploaded my builds here: https://github.com/achow101/bitcoin/releases/tag/v0.12.0rc2 except for Mac OS X. You can check the hashes of these in https://github.com/bitcoin/gitian.sigs. The hashes should be the same for all of the people who have uploaded hashes there and you can also verify the signatures.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
Block pruning was introduced with 0.11.0, you can run a pruned node right now if you wanted to.  There is no security compromise here, but you lose some functionality in not having the entire block chain stored at your node.  If you have HD space to spare and a decent internet connection there's really no reason to run in pruned mode.

You still have to d/l the entire 40GB+ blockchain the first time you install before it can be pruned, so starting a pruned node will still take some time, but once it's pruned you don't need to keep all the data.

Here's some good reading for you: https://news.bitcoin.com/pros-and-cons-on-bitcoin-block-pruning/

Keep in mind that a pruned mode can currently not offer a wallet and it does not relay blocks. It is thus no help to SPV clients or at least thats my understanding of SPV. A pruned node will just relay transactions.
The next release (0.12) will enable the wallet.

This is great news, gonna try it right now.

These I am not sure. You can run 0.12.0rc2 to try it out.


Is there a bin of this somewhere?

Only for 0.12.0rc1 here -> https://bitcoin.org/bin/bitcoin-core-0.12.0/test/
legendary
Activity: 2786
Merit: 1031
Block pruning was introduced with 0.11.0, you can run a pruned node right now if you wanted to.  There is no security compromise here, but you lose some functionality in not having the entire block chain stored at your node.  If you have HD space to spare and a decent internet connection there's really no reason to run in pruned mode.

You still have to d/l the entire 40GB+ blockchain the first time you install before it can be pruned, so starting a pruned node will still take some time, but once it's pruned you don't need to keep all the data.

Here's some good reading for you: https://news.bitcoin.com/pros-and-cons-on-bitcoin-block-pruning/

Keep in mind that a pruned mode can currently not offer a wallet and it does not relay blocks. It is thus no help to SPV clients or at least thats my understanding of SPV. A pruned node will just relay transactions.
The next release (0.12) will enable the wallet.

This is great news, gonna try it right now.

These I am not sure. You can run 0.12.0rc2 to try it out.


Is there a bin of this somewhere?
Pages:
Jump to: