Author

Topic: Download only blocks, not unconfirmed txs (Read 622 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
July 19, 2015, 02:20:02 PM
#4
You could use the
Code:
-minrelaytxfee=
flag and set to something ridiculously high so that it will reject and not relay all transactions. It will still keep the blocks but the mempool should be empty. It may also not relay any of your transactions though.

 Shocked
I do not want to download and parse them.
I want my Bitcoin Core to ignore messages "inv" with tag "transaction"

PS. I do not relay any transactions because of parameter -maxconnections=1
I don't think that is possible without modifying the code. I can do that for a fee if you want.
legendary
Activity: 1260
Merit: 1019
You could use the
Code:
-minrelaytxfee=
flag and set to something ridiculously high so that it will reject and not relay all transactions. It will still keep the blocks but the mempool should be empty. It may also not relay any of your transactions though.

 Shocked
I do not want to download and parse them.
I want my Bitcoin Core to ignore messages "inv" with tag "transaction"

PS. I do not relay any transactions because of parameter -maxconnections=1
staff
Activity: 3458
Merit: 6793
Just writing some code
You could use the
Code:
-minrelaytxfee=
flag and set to something ridiculously high so that it will reject and not relay all transactions. It will still keep the blocks but the mempool should be empty. It may also not relay any of your transactions though.
legendary
Activity: 1260
Merit: 1019
Is it possible to synchronize local blockchain (blk***.dat files) downloading only blocks from peer(s) but ignore all incoming inv/tx messages?

May be we need a command-line parameter in Bitcoin Core to do it?
Jump to: