This question is not a duplicate of Can miners choose which transactions to mine?
Everybody seems to agree on the fact that miners can select which transactions they are mining. But I can't find a way to do it! I created a personal bitcoin network (testnet protocol) where I'm the only miner. I send transactions to my several (fake) nodes and get them all in the mempool.
For demonstration purposes, I want some of the transactions (with high fees) to be includeed in the first block and the rest in the second one. I tried to use
prioritisetransaction (with my miner node) to do this but all the transactions went to the same block:
bitcoin-cli prioritisetransaction txId1 5000 200
bitcoin-cli prioritisetransaction txId2 0 -200
I put arbitrary values, the goal is to mine Tx1 in the first block and Tx2 in the second or even after. How can I create such a behavior? Do I really need to put more than 1000 transactions to see my transactions going in different blocks?
I will welcome any help, thank you in advance.
EDIT: I'm adding a question to this post. On another lead to find a way to "choose" in wich block my transaction will be included I tried "estimatefee/priority" calls. In my private bitcoin network (height: 14.000 blocks) when I call:
bitcoin-cli estimatefee X
whatever X (number of block before inclusion), the answer is "-1" which means that the network cannot estimate what I'm asking (should only append for high digits). Do I need more blocks in my Blockchain? More transactions? Same experiment in the real testnet,
estimatefee works but is really far from the reality and whatever the fee, all my transactions go to the first block.