(req)
| 1157 | # blockhash. This error is special-cased not to count as the |
| 1158 | # backend failing since it is used to poll for the next block. |
| 1159 | def mock_getblockhash(req): |
| 1160 | return { |
| 1161 | "id": req['id'], |
| 1162 | "error": { |
| 1163 | "code": -8, |
| 1164 | "message": "Block height out of range" |
| 1165 | } |
| 1166 | } |
| 1167 | |
| 1168 | l1.daemon.rpcproxy.mock_rpc('getblockhash', mock_getblockhash) |
| 1169 | bitcoind.generate_block(4) |
nothing calls this directly
no outgoing calls
no test coverage detected