![The best way to broadcast transactions in bitcoin regtest mode? The best way to broadcast transactions in bitcoin regtest mode?](https://cillionairee.com/wp-content/uploads/https://cdn.sstatic.net/Sites/bitcoin/Img/apple-touch-icon@2.png?v=b4864ba760f1)
[ad_1]
I construct three nodes named A,B,C based mostly on bitcoin-regtest picture of docker. And these three nodes are in the identical community which implies they’ll talk with one another.
In node A, I exploit
bitcoin-cli -regtest -rpcuser=admin -rpcpassword=123456 addnode "$IPofB:18444" onetry
In node B, I exploit
bitcoin-cli -regtest -rpcuser=admin -rpcpassword=123456 addnode "$IPofC:18444" onetry
Then B is the peer node of A and C is the peer node of B;
I ship a transaction from the pockets created on node A to pockets created on node C. And the sendtoaddress
API is used on node A. The API works effectively and returns the transaction id. I can discover the transaction within the transaction pool of A.
However I discover some troubles:
- I exploit tcpdump to catch the community movement. I discover A broadcast the transaction to B. However C can’t obtain from node B.
- I can’t discover the transaction from the transaction pool of node B and C;
I wish to know whether or not regtest community of bitcoin can obtain what I want
[ad_2]