MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / batch

Method batch

test/functional/test_framework/authproxy.py:145–148  ·  view source on GitHub ↗
(self, rpc_call_list)

Source from the content-addressed store, hash-verified

143 return response['result']
144
145 def batch(self, rpc_call_list):
146 postdata = json.dumps(list(rpc_call_list), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
147 log.debug("--> " + postdata)
148 return self._request('POST', self.__url.path, postdata.encode('utf-8'))
149
150 def _get_response(self):
151 req_start_time = time.time()

Callers

nothing calls this directly

Calls 2

_requestMethod · 0.95
encodeMethod · 0.80

Tested by

no test coverage detected