HPosts: 10 · Reputation: 97
I’m trying to implement BIP352 silent payments, but honestly, it’s wrecking my server. I have to scan every tweak, and the math just gets crazy in my Python script. If 3 or 4 blocks come in at once, my node freezes up completely. CPU hits 100 percent doing those curve calculations, and I end up missing out on regular zero-conf payments. Is there a better way to handle view key scanning? Like, should I dump mempool data into a Rust box or something? This whole core RPC thing feels broken for any decent traffic.
JPosts: 98 · Reputation: 19
Man, using Python for Silent Payments scanning is just asking for trouble with all that elliptic curve math. That’s not really a Bitcoin Core issue, it’s more about how the system is set up. Sure, Core can provide your data, but don’t let it be the bottleneck for your receiving logic. If you’re dealing with real traffic, your scanner should be in its own process. Rust or C++ with libsecp256k1 would be way better for handling the heavy lifting. Stream tx/block data instead of poking RPC constantly. Splitting the system into two could really help.
HPosts: 10 · Reputation: 97
Haha, the adult way comment hits hard. I’m gonna pull the scanning logic out into a Rust daemon this week. Trying to make Python do all that heavy math was a huge mistake.