0
1
i want to query unconfirmed transactions by using getrawmempool.
do i have to run a full node ?
or if i set prune in bitcoin config, will i still get the newly unconfirmed trsanctions ?
0
1
i want to query unconfirmed transactions by using getrawmempool.
do i have to run a full node ?
or if i set prune in bitcoin config, will i still get the newly unconfirmed trsanctions ?
1
As far as I know, this should work just the same even with pruning enabled.
A Bitcoin Core node with pruning really still is a "full node" on the network; it relays transactions and fully checks the validity of incoming transactions and blocks. The only difference is that without pruning, received blocks are stored forever and can be shared with other nodes who are initially downloading the chain. With pruning, all blocks are downloaded and checked but only newer blocks are stored and shared. Everything else should be the same.
i would love to confirm this. it can save me some 150 gigs of hdd space. – AMB – 2017-08-15T18:23:33.650
Yes, you can prune just fine. Pruning just means you can't serve old blocks to peers in the network, and you can't rescan for old wallet transactions. Everything else will work the same whether you prune or not. – Pieter Wuille – 2017-08-15T18:38:14.733