You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.
I am trying to perform a simple RPC client command on one of my nodes. This is a step towards me simulating transactions being created and broadcast.
I have a simple topology consisting of one node (IP: 190.162.111.1). This node has two application elements that run the Bitcoin plugin.
The first application starts up at 10s and creates a server with an RPC IP of 190.162.111.1 (same as the node) (arguments -rpcbind=190.162.111.1 and -rpcport=8332). I had to put in a little code to accept the rpcbind argument which, uses the same code but to create an IPv4 address of the that IP rather than defaulting onto the ANY IP.
The second application starts at 15s and creates an RPC client with arguments -rpcconnect=190.162.111.1 and -rpcport=8332.
When I scan the log and see everything being setup and have some extra logging to show if the server receives any connection, I notice the client making a call to d.connect(...) and nothing after that (doesn't proceed onto the next line of code, rpcclient.cpp line 52).
The rest of a the log is full of heartbeats. So, has RPC client -> server been tested before in Shadow? What were the arguments used? Was it just a local connection on 127.0.0.1 -> 0.0.0.0?
The text was updated successfully, but these errors were encountered:
Uses Bitcoin 0.9.2 netmine!
I am trying to perform a simple RPC client command on one of my nodes. This is a step towards me simulating transactions being created and broadcast.
I have a simple topology consisting of one node (IP: 190.162.111.1). This node has two application elements that run the Bitcoin plugin.
The first application starts up at 10s and creates a server with an RPC IP of 190.162.111.1 (same as the node) (arguments -rpcbind=190.162.111.1 and -rpcport=8332). I had to put in a little code to accept the rpcbind argument which, uses the same code but to create an IPv4 address of the that IP rather than defaulting onto the ANY IP.
The second application starts at 15s and creates an RPC client with arguments -rpcconnect=190.162.111.1 and -rpcport=8332.
When I scan the log and see everything being setup and have some extra logging to show if the server receives any connection, I notice the client making a call to d.connect(...) and nothing after that (doesn't proceed onto the next line of code, rpcclient.cpp line 52).
The rest of a the log is full of heartbeats. So, has RPC client -> server been tested before in Shadow? What were the arguments used? Was it just a local connection on 127.0.0.1 -> 0.0.0.0?
The text was updated successfully, but these errors were encountered: