| 565 | REGISTER_NOTIFICATION(block_added); |
| 566 | |
| 567 | void notify_block_added(struct lightningd *ld, |
| 568 | const struct block *block) |
| 569 | { |
| 570 | struct jsonrpc_notification *n = notify_start(ld, "block_added"); |
| 571 | if (!n) |
| 572 | return; |
| 573 | block_added_notification_serialize(n->stream, block); |
| 574 | notify_send(ld, n); |
| 575 | } |
| 576 | |
| 577 | static void openchannel_peer_sigs_serialize(struct json_stream *stream, |
| 578 | const struct channel_id *cid, |
no test coverage detected