4
3
I am working on a app in which my project communicates with the bitcoin server to get the details of a transaction with transaction id as the parameter. I have bitcoind, bitcoin-cli and bitcoin-qt installed on my system. When I run the bitcoin-qt in regtest mode, I am able to create test transactions in which I can send money to an address and get the transaction id for the same. I use this transaction id in my app, I am able to get the transaction details from bitcoin-qt. The problem is, now my testing is limited to only outward transactions wherein I transfer bitcoins to another account. How can I create some test transactions wherein bitcoins are credited to my wallet?
Thanks for the reply. I had done the exact same thing and got it running. I was setting the datadir on my host system to a separate directory when starting bitcoin-qt. This was somehow preventing my app from talking with bitcoin-qt. – plbit – 2015-08-20T09:28:48.183
After doing the above, when I do
getmempoolinfofor the node that receives the transaction, it still shows 0. How do I send the transaction over. – thenakulchawla – 2018-08-06T18:38:47.7431Maybe the received funds are not yet confirmed,... call a generate(1) again or try to list unconfirmed balance – Jonas Schnelli – 2018-08-09T10:39:25.400
I am trying to use the same above script but its adding the following error to the log
2019-01-10T12:35:51Z Binding RPC on address ::1 port 18443 failed. 2019-01-10T12:35:51Z Binding RPC on address 127.0.0.1 port 18443 failed. 2019-01-10T12:35:51Z Unable to bind any endpoint for RPC server 2019-01-10T12:35:51Z Error: Unable to start HTTP server. See debug log for details. 2019-01-10T12:35:51Z Shutdown: In progress... – Pankaj Kumar – 2019-01-10T12:37:22.820
For the record, starting at 0.18 the command
generateis deprecated and in 0.19 it will be completely removed. Usegeneratetoaddressinstead. – Thalis K. – 2019-04-06T18:22:05.220