rgb-cln/doc/lightning-addgossip.7.md

46 lines
1.0 KiB
Markdown

lightning-addgossip -- Command for injecting a gossip message (low-level)
===============================================================
SYNOPSIS
--------
**addgossip** *message*
DESCRIPTION
-----------
The **addgossip** RPC command injects a hex-encoded gossip message into
the gossip daemon. It may return an error if it is malformed, or may
update its internal state using the gossip message.
Note that currently some paths will still silently reject the gossip: it
is best effort.
This is particularly used by plugins which may receive channel\_update
messages within error replies.
RETURN VALUE
------------
[comment]: # (GENERATE-FROM-SCHEMA-START)
On success, an empty object is returned.
[comment]: # (GENERATE-FROM-SCHEMA-END)
AUTHOR
------
Rusty Russell <<rusty@rustcorp.com.au>> is mainly responsible.
SEE ALSO
--------
lightning-pay(7)
RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:b0793c2fa864b0ce3bc6f1618135f28ac551dfd1b8a0127caac73fd948e62d9d)