| 4892 | } |
| 4893 | |
| 4894 | void wallet_blocks_rollback(struct wallet *w, u32 height) |
| 4895 | { |
| 4896 | struct db_stmt *stmt = db_prepare_v2(w->db, SQL("DELETE FROM blocks " |
| 4897 | "WHERE height > ?")); |
| 4898 | db_bind_int(stmt, height); |
| 4899 | db_exec_prepared_v2(take(stmt)); |
| 4900 | refill_outpointfilters(w); |
| 4901 | } |
| 4902 | |
| 4903 | bool wallet_outpoint_spend(const tal_t *ctx, struct wallet *w, const u32 blockheight, |
| 4904 | const struct bitcoin_outpoint *outpoint) |
no test coverage detected