| 4952 | } |
| 4953 | |
| 4954 | void wallet_blocks_rollback(struct wallet *w, u32 height) |
| 4955 | { |
| 4956 | struct db_stmt *stmt = db_prepare_v2(w->db, SQL("DELETE FROM blocks " |
| 4957 | "WHERE height > ?")); |
| 4958 | db_bind_int(stmt, height); |
| 4959 | db_exec_prepared_v2(take(stmt)); |
| 4960 | refill_outpointfilters(w); |
| 4961 | } |
| 4962 | |
| 4963 | bool wallet_outpoint_spend(const tal_t *ctx, struct wallet *w, const u32 blockheight, |
| 4964 | const struct bitcoin_outpoint *outpoint) |
no test coverage detected