Author

Topic: Bitcoin core 'prioritisetransaction' command? Does it really prioritize? (Read 483 times)

legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
Donation sent ! tx 293bb8e742766ad45513ed9a5d3a260938979de016f36d0f2b6054807ab4475b

Please donate that money to third world countries
Thank you so much.

Made a slight amendment to my post to make it clearer, was planning to sleep an hour ago Cheesy.
newbie
Activity: 11
Merit: 1
Donation sent ! tx 293bb8e742766ad45513ed9a5d3a260938979de016f36d0f2b6054807ab4475b

Please donate that money to third world countries
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
People who are familiar with bitcoin core will know that it has a console command call 'prioritisetransaction' which according to my research will just add virtual fee and priority and nothing else.
Questions :

1. What is the benefit of adding virtual priority if in reality a tx send with lower fee will always take longer to confirm whether or not it has virtual priority or fee?
Alright. Lets start with the basic concept on what the miner can do. Miners can choose whatever transactions they want to include in the blocks that they mine.

Prioritisetransaction is a client side thing that only appears to your software. Lets say you are a miner and you see that you want transaction A to be confirmed ASAP but you choose to not even pay a fee. In this case, what you can do is to prioritise your transaction using the command (add fee/add priority) and your node will think the transaction has a higher fee/priority.

For that, if your transaction has lets say 0.001BTCfee and 0 priority and is 1kb in size. Adding a virtual fee of 0.1BTC and priority of 100,000,000 will make the transaction appear to have 0.101BTC/KB fee and a priority of 100,000,000. Even if another transaction actually pays 0.09BTC/KB and has a priority of 90,000,000 , your transaction will be included first.
2. What is the actual purpose of this command ? and in under what circumstances an user will feel the need for using this function?
The use is more for miners who want to include specific transactions. A user won't have use for this if that Bitcoin Core node is not used for mining.

It can also be used to make the node think that the priority or the fee is lower than it actually is.

As said, this will not affect the transactions or others, only your Bitcoin Core node which is used for mining.
If I do get the bounty, please donate it to seansoutpost: 38ccq12hPFoiSksxUdr6SQ5VosyjY7s9AU
newbie
Activity: 11
Merit: 1
People who are familiar with bitcoin core will know that it has a console command call 'prioritisetransaction' which according to my research will just add virtual fee and priority and nothing else.
Questions :

1. What is the benefit of adding virtual priority if in reality a tx send with lower fee will always take longer to confirm whether or not it has virtual priority or fee?

2. What is the actual purpose of this command ? and in under what circumstances an user will feel the need for using this function?

One reasonable answer will be donated 100 000 satohis
Jump to: