Author

Topic: How can I mine transactions in regtest mode? (Read 121 times)

legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
I can mine as many blocks as I want. The problem is that when I make a transaction it remains unconfirmed, because I haven't found any way to add transactions to a block.
Most of the time (based on my experience), your transactions through the GUI wont be broadcast to your own mempool.
That said, you need to use sendrawtransaction "RAW_TX" first before using generatetoaddress.

To get the RAW transaction in Qt, you can right click the transaction in the "Transactions" tab and select "Copy raw transaction".
staff
Activity: 3458
Merit: 6793
Just writing some code
How are you mining blocks?

If you use the generatetoaddress RPC, it will add transactions to blocks for you.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
I can mine as many blocks as I want. The problem is that when I make a transaction it remains unconfirmed, because I haven't found any way to add transactions to a block.
Jump to: