| 1512 | } |
| 1513 | |
| 1514 | bool would_ratelimit_cupdate(struct routing_state *rstate, |
| 1515 | const struct half_chan *hc, |
| 1516 | u32 timestamp) |
| 1517 | { |
| 1518 | return update_tokens(rstate, hc->tokens, hc->bcast.timestamp, timestamp) |
| 1519 | >= TOKENS_PER_MSG; |
| 1520 | } |
| 1521 | |
| 1522 | static const struct node_id *get_channel_owner(struct routing_state *rstate, |
| 1523 | const struct short_channel_id *scid, |
no test coverage detected