mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
datastore: allow strings.
It's common, and the simplest case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
dfe2693bbd
commit
e711f6c589
6
doc/lightning-datastore.7
generated
6
doc/lightning-datastore.7
generated
@@ -3,7 +3,7 @@
|
||||
lightning-datastore - Command for storing (plugin) data
|
||||
.SH SYNOPSIS
|
||||
|
||||
\fBdatastore\fR \fIkey\fR \fIhex\fR
|
||||
\fBdatastore\fR \fIkey\fR [\fIstring\fR|\fIhex\fR]
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
||||
@@ -23,6 +23,8 @@ On success, an object is returned, containing:
|
||||
\fBkey\fR (string): The key which has been added to the datastore
|
||||
.IP \[bu]
|
||||
\fBhex\fR (hex): The hex data which has been added to the datastore
|
||||
.IP \[bu]
|
||||
\fBstring\fR (string, optional): The data as a string, if it's valid utf-8
|
||||
|
||||
.RE
|
||||
|
||||
@@ -48,4 +50,4 @@ Rusty Russell \fI<rusty@rustcorp.com.au\fR> is mainly responsible\.
|
||||
|
||||
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
||||
|
||||
\" SHA256STAMP:1972be4c054c35bf2e0fdbf2e7bb9a3870b3322a008ae29e6a84207c7b527458
|
||||
\" SHA256STAMP:e0ea91fb846859bc22af6e4beacd5fb726d6c4ffefea5cc4e3a1250b81665317
|
||||
|
||||
Reference in New Issue
Block a user