-
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.
lightningd: remove expermential "sendonionmessage" function.
It was only ever expermental, so I don't feel bad about just removing it. Signed-off-by: Rusty Russell <[email protected]> Changelog-Removed: JSON-RPC: `sendonionmessage` (was experimental only, use `injectonionmessage`)
- Loading branch information
1 parent
91cd689
commit 3c04b6f
Showing
14 changed files
with
343 additions
and
758 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -26341,83 +26341,6 @@ | |
} | ||
] | ||
}, | ||
"lightning-sendonionmessage.json": { | ||
"$schema": "../rpc-schema-draft.json", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"rpc": "sendonionmessage", | ||
"title": "low-level command to send an onion message", | ||
"warning": "experimental-onion-messages only", | ||
"description": [ | ||
"The **sendonionmessage** RPC command can be used to send a message via the lightning network. These are currently used by *offers* to request and receive invoices." | ||
], | ||
"request": { | ||
"required": [ | ||
"first_id", | ||
"blinding", | ||
"hops" | ||
], | ||
"properties": { | ||
"first_id": { | ||
"type": "pubkey", | ||
"description": [ | ||
"The (presumably well-known) public key of the start of the path." | ||
] | ||
}, | ||
"blinding": { | ||
"type": "pubkey", | ||
"description": [ | ||
"Blinding factor for this path." | ||
] | ||
}, | ||
"hops": { | ||
"type": "array", | ||
"description": [ | ||
"", | ||
"" | ||
], | ||
"items": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"node", | ||
"tlv" | ||
], | ||
"properties": { | ||
"node": { | ||
"type": "pubkey", | ||
"description": [ | ||
"Public key of the node." | ||
] | ||
}, | ||
"tlv": { | ||
"type": "u8", | ||
"description": [ | ||
"Contains a hexadecimal TLV to include." | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"response": { | ||
"required": [], | ||
"properties": {} | ||
}, | ||
"author": [ | ||
"Rusty Russell <<[email protected]>> is mainly responsible." | ||
], | ||
"see_also": [ | ||
"lightning-fetchinvoice(7)", | ||
"lightning-offer(7)" | ||
], | ||
"resources": [ | ||
"Main web site: <https://github.com/ElementsProject/lightning>", | ||
"", | ||
"[bolt04]: https://github.com/lightning/bolts/blob/master/04-onion-routing.md" | ||
] | ||
}, | ||
"lightning-sendpay.json": { | ||
"$schema": "../rpc-schema-draft.json", | ||
"type": "object", | ||
|
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
Large diffs are not rendered by default.
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
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
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
Oops, something went wrong.