| 53 | } |
| 54 | |
| 55 | static const char **ds_blockheight_path(const tal_t *ctx, |
| 56 | const struct bitcoin_txid *txid) |
| 57 | { |
| 58 | /* Keys like: bookkeeper/blockheights/<txid> */ |
| 59 | return mkdatastorekey(ctx, |
| 60 | "bookkeeper", "blockheights", |
| 61 | take(fmt_bitcoin_txid(NULL, txid))); |
| 62 | } |
| 63 | |
| 64 | void add_blockheight(struct command *cmd, |
| 65 | struct bkpr *bkpr, |
no test coverage detected