Creating lage blocks with multiple transactions in regtest mode?

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.

thenakulchawla

Posted 2018-07-27T23:23:48.010

Reputation: 201

Your best bet would be to start a regtest daemon, broadcast a few thousand transactions, and then start another daemon that minesRaghav 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 sendtoaddress to another node, and do getmempoolinfo on the second address, the mempool size shows as zero. Is there a way to broadcast transactions in regtest mode.thenakulchawla 2018-08-06T19:23:46.550

No answers