Note: this only reflects my personal work this week.
Overall, it was a quiet week with little activity. Here are the main highlights:
Improve Startup Time
I’m gradually moving BTC Map API chat automations from Discord to Matrix. The first experimental Matrix integration was blocking and significantly increased API server startup time (from ~2 seconds to ~10+ seconds). This week I set up an asynchronous lazy initialization, and it seems to be working well.
Drop Boosts Table
Boosts now use the REST API and can be performed anonymously. That means it’s not a good idea to rely on the old boosts table, which is tied to admin RPC and requires specific fields like an admin user ID. It was causing issues in the internal reporting, so I decided to remove the table entirely. The generic invoice table is sufficient and is already fully integrated into our REST API. Anonymous users can request invoices for sat-walled actions like leaving a comment or boosting a merchant. Once those invoices are paid, we perform the associated actions directly, no extra tables are needed, and we can rely on invoice metadata alone.
Organize RPC Calls
The rpc module is a mess, so I spent time cleaning it up. The work is far from done, but at least there’s progress!