mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-04 04:54:47 +01:00
9da191e034
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON-RPC: `addgossip` allows direct injection of network gossip messages.
42 lines
864 B
Markdown
42 lines
864 B
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
|
|
------------
|
|
|
|
On success, an empty object is returned.
|
|
|
|
AUTHOR
|
|
------
|
|
|
|
Rusty Russell <<rusty@rustcorp.com.au>> is mainly responsible.
|
|
|
|
SEE ALSO
|
|
--------
|
|
|
|
lightning-pay(7)
|
|
|
|
RESOURCES
|
|
---------
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|