NewRawCaller creates the raw rpc caller to target node.
(targetAddr string)
| 38 | |
| 39 | // NewRawCaller creates the raw rpc caller to target node. |
| 40 | func NewRawCaller(targetAddr string) *RawCaller { |
| 41 | return &RawCaller{ |
| 42 | targetAddr: targetAddr, |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | func (c *RawCaller) isClientValid() bool { |
| 47 | c.RLock() |
no outgoing calls