You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
495 B
20 lines
495 B
6 years ago
|
#ifndef LIGHTNING_COMMON_GOSSIP_STORE_H
|
||
|
#define LIGHTNING_COMMON_GOSSIP_STORE_H
|
||
|
#include "config.h"
|
||
|
#include <ccan/short_types/short_types.h>
|
||
|
#include <ccan/tal/tal.h>
|
||
|
|
||
|
/**
|
||
|
* gossip_store -- On-disk storage related information
|
||
|
*/
|
||
|
#define GOSSIP_STORE_VERSION 4
|
||
|
|
||
|
/**
|
||
|
* Direct store accessor: loads gossip msg from store.
|
||
|
*
|
||
|
* Doesn't return; status_failed() on error.
|
||
|
*/
|
||
|
u8 *gossip_store_read(const tal_t *ctx, int gossip_store_fd, u64 offset);
|
||
|
|
||
|
#endif /* LIGHTNING_COMMON_GOSSIP_STORE_H */
|