| 7449 | } |
| 7450 | |
| 7451 | const char *network_event_name(enum network_event n) |
| 7452 | { |
| 7453 | switch (n) { |
| 7454 | case NETWORK_EVENT_CONNECT: |
| 7455 | return "connect"; |
| 7456 | case NETWORK_EVENT_CONNECTFAIL: |
| 7457 | return "connect_fail"; |
| 7458 | case NETWORK_EVENT_PING: |
| 7459 | return "ping"; |
| 7460 | case NETWORK_EVENT_DISCONNECT: |
| 7461 | return "disconnect"; |
| 7462 | } |
| 7463 | fatal("%s: %u is invalid", __func__, n); |
| 7464 | } |
| 7465 | |
| 7466 | struct db_stmt *wallet_network_events_next(struct wallet *w, |
| 7467 | struct db_stmt *stmt) |
no test coverage detected