-
Notifications
You must be signed in to change notification settings - Fork 912
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON-RPC: `addgossip` allows direct injection of network gossip messages.
- Loading branch information
1 parent
68673a4
commit 9399fec
Showing
4 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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> | ||
|