0
I want to create blocks with multiple transactions in regtest mode.
I want to test propagation with blocks of size 1-2 MB on the dash network.
./dash-cli -regtest -daemon -debug -port=8330 -rpcport=8331 generate 101
creates all blocks of size 181 and with 1 transaction.
What command-line argument should I use to change that.
I have tried
./dash-cli -regtest -daemon -debug -port=8330 -rpcport=8331 getnewaddress
and then
./dash-cli -regtest -daemon -debug -port=8330 -rpcport=8331 sendtoaddress addr .001
to transfer amounts, so that new transactions are created. Even then the block size remains same.
Any help?
Should I be creating transactions in another way in order for it to be in mempool and in blocks.
Your best bet would be to start a regtest daemon, broadcast a few thousand transactions, and then start another daemon that mines – Raghav Sood – 2018-07-27T23:31:51.077
Can you help me with how to broadcast new transactions? Is it using getnewaddress and send to address only? – thenakulchawla – 2018-07-27T23:40:28.250
Yes, that should work fine. – Raghav Sood – 2018-07-27T23:40:55.610
When I use
sendtoaddressto another node, and dogetmempoolinfoon the second address, the mempool size shows as zero. Is there a way to broadcast transactions inregtestmode. – thenakulchawla – 2018-08-06T19:23:46.550