core-lightning/doc/lightning-addgossip.7.md
Rusty Russell eb6b8551d4 tools/fromschema.py: don't try to handle more complex cases.
We only handle top-level objects with an array of objects:
make sure it is one before we call the routines.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-01-30 15:15:41 -06:00

1.0 KiB

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