LIGHTNING-DELNETWORKEVENT(7)
π LIGHTNING-DELNETWORKEVENT π
okay so bestie, welcome to lightning-delnetworkevent, aka the lightning-delnetworkevent(7) manual page β the tiny little RPC that sweeps one (1) network event out of your life π§Ήβ¨
πΈ NAME πΈ
delnetworkevent β the command that deletes one single entry from listnetworkevents. that's it. that's the whole job. lowkey iconic for how simple it is π
β¨ SYNOPSIS β¨
delnetworkevent created_index
π¦ DESCRIPTION π¦
fr fr, this command was added in v25.12. remember that π
The delnetworkevent RPC command removes a single event from listnetworkevents, and it does it by using the uniquely-identifying created_index π like a little name tag for the entry, except the name tag is a number, and the entry is a database row, and you're deleting it π
This command is mainly used by the autoclean plugin (peep lightningd-config(7) for the config tea β). The way the whole thing works: these database entries are only kept for your own analysis β so removing them has no effect on the running of your node. none. zero. nada. your node literally does not care πβ¨ (which honestly? main character energy of the database. it's giving "I'm just here for the vibes")
created_index(u64) β the uniquecreated_indexof the entry. yes bestie, that's the one. that's the whole argument π«Ά
β RETURN VALUE β
on success you get back an empty object. that's it. π no data, no drama, just an empty lil {} and a job well done π
π ERRORS π
sometimes life says no. here's what can go wrong:
1402β thelistnetworkeventsspecified does not exist. π₯² you tried to delete a thing that isn't there, bestie. it happens to the best of us.
π AUTHOR π
Rusty Russell rusty@rustcorp.com.au is mainly responsible. thank him, he's the moment π
πΈ SEE ALSO πΈ
lightning-autoclean(7)β the plugin that actually uses this bad boy π§
π₯ RESOURCES π₯
Main web site: https://github.com/ElementsProject/lightning β go click it, it's free π
and that's a wrap, bestie!! π this page is from Core Lightning v26.06.9, and it's the LIGHTNING-DELNETWORKEVENT(7) manual page β so go forth, delete exactly one network event, and do it with your whole chest π¦β¨π«Ά
π¦ where this page comes from
- nixpkgs unstable: clightning 26.06.9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms