We use a "softref" which is a magic pointer which gets NULL'ed when the object is freed. But it's heavy, and a bit tricky to use, and we only use it in gossipd. Instead, keep the nodeid, and do a lookup (now that's fast) if we want to credit the sender for valid gossip. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| run-check_channel_announcement.c | ||
| run-check_node_announcement.c | ||
| run-crc32_of_update.c | ||
| run-extended-info.c | ||
| run-next_block_range.c | ||
| run-txout_failure.c | ||