(index)
| 241 | assert_equal(node.getblockcount(), 995) |
| 242 | |
| 243 | def height(index): |
| 244 | if use_timestamp: |
| 245 | return node.getblockheader(node.getblockhash(index))["time"] + TIMESTAMP_WINDOW |
| 246 | else: |
| 247 | return index |
| 248 | |
| 249 | def prune(index, expected_ret=None): |
| 250 | ret = node.pruneblockchain(height(index)) |
no outgoing calls
no test coverage detected