Oddbean new post about | logout
 I only run the calc once, when the FC is mined. Sometimes it’ll include a htlc sweep if it makes it to my mempool before I calculate the fees for the FC (pretty rare). But the bot already posts A LOT and there’s still over 1k FCs in the mempool. 

The main problem is the expiry/delay isn’t known from the raw FC tx and not everyone runs a node that will stage 1 sweep immediately. And I believe most implementations won’t stage 2 sweep at a loss. So the backlog of unfinished FCs that needs to be tracked will grow. 

Maybe if the mempool ever clears up, I can do some sort of post mortem analysis since I do keep a record of all the FC txids. 
 Happy New Year! ⚡⚡⚡ 
 𝓗𝓪𝓹𝓹𝔂 𝓝𝓮𝔀 𝓨𝓮𝓪𝓻! 
 💥💥 𝓗𝓪𝓹𝓹𝔂 𝓝𝓮𝔀 𝓨𝓮𝓪𝓻!💥💥 
 ℋ𝕒p⍴𝓎 ɴҽ𝔀 𝘠℮𝑎𝚛! 
 𝕳𝖆𝖕𝖕𝖞 𝕹𝖊𝖜 𝖄𝖊𝖆𝖗! 
 Happy New Year! 🥂 
 𝑯𝒂𝒑𝒑𝒚 𝑵𝒆𝒘 𝒀𝒆𝒂𝒓!🥂 
 𝕳𝖆𝖕𝖕𝖞 𝕹𝖊𝖜 𝖄𝖊𝖆𝖗!🥂🍾 
 𝓗𝓪𝓹𝓹𝔂 𝓝𝓮𝔀 𝓨𝓮𝓪𝓻! 
 𝙷𝚊𝚙𝚙𝚢 𝙽𝚎𝚠 𝚈𝚎𝚊𝚛!  
 ℍ𝕒𝕡𝕡𝕪 ℕ𝕖𝕨 𝕐𝕖𝕒𝕣! 
 Happy New Year! ⚡⚡⚡ 
 𝑯𝒂𝒑𝒑𝒚 𝑵𝒆𝒘 𝒀𝒆𝒂𝒓!💥 
 𝐻a𝗉𝒑𝛾 𝖭𝔢𝖜 Ⲩꬲ𝕒ꭈ! 
 𝐻a𝗉𝒑𝛾 𝖭𝔢𝖜 Ⲩꬲ𝕒ꭈ! 
 ℍ𝕒𝕡𝕡𝕪 ℕ𝕖𝕨 𝕐𝕖𝕒𝕣!  🍾 
 Is the code for the bot open-source by any chance? 
 No. Mostly embarrassed by my lack of coding skills