MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / Client

Method Client

test/e2e/pkg/testnet.go:470–472  ·  view source on GitHub ↗

Client returns an RPC client for a node.

()

Source from the content-addressed store, hash-verified

468
469// Client returns an RPC client for a node.
470func (n Node) Client() (*rpchttp.HTTP, error) {
471 return rpchttp.New(fmt.Sprintf("http://127.0.0.1:%v", n.ProxyPort), "/websocket")
472}
473
474// Stateless returns true if the node is either a seed node or a light node
475func (n Node) Stateless() bool {

Callers 12

fetchBlockChainSampleFunction · 0.80
loadProcessFunction · 0.80
waitForHeightFunction · 0.80
waitForNodeFunction · 0.80
fetchBlockChainFunction · 0.80
TestNet_PeersFunction · 0.80
TestApp_InitialStateFunction · 0.80
TestApp_HashFunction · 0.80
TestApp_TxFunction · 0.80
TestBlock_HeaderFunction · 0.80
TestBlock_RangeFunction · 0.80
TestValidator_SetsFunction · 0.80

Calls

no outgoing calls

Tested by 8

fetchBlockChainFunction · 0.64
TestNet_PeersFunction · 0.64
TestApp_InitialStateFunction · 0.64
TestApp_HashFunction · 0.64
TestApp_TxFunction · 0.64
TestBlock_HeaderFunction · 0.64
TestBlock_RangeFunction · 0.64
TestValidator_SetsFunction · 0.64