MCPcopy Create free account
hub / github.com/LUX-Core/lux / _batch

Method _batch

qa/rpc-tests/test_framework/authproxy.py:161–164  ·  view source on GitHub ↗
(self, rpc_call_list)

Source from the content-addressed store, hash-verified

159 return response['result']
160
161 def _batch(self, rpc_call_list):
162 postdata = json.dumps(list(rpc_call_list), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
163 log.debug("--> "+postdata)
164 return self._request('POST', self.__url.path, postdata.encode('utf-8'))
165
166 def _get_response(self):
167 try:

Callers

nothing calls this directly

Calls 3

_requestMethod · 0.95
debugMethod · 0.80
encodeMethod · 0.45

Tested by

no test coverage detected