upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/btfaddr.cpp
AgeCommit message (Collapse)Author
2026-07-28btfaddr: reject malformed descriptors instead of throwing (#8)Bitflash
VerifyDescriptor() parses descriptors received from untrusted peers over Nostr relays. Only json::parse() was guarded; the field extractions (get<std::string>, get<uint64_t>) ran unguarded, so a descriptor with a wrong-typed field (e.g. a numeric "pubkey") threw an uncaught nlohmann::json::type_error -- a remotely triggerable crash vector. Validate each field's type up front and wrap the whole parse in try/catch so any malformed descriptor is rejected (return false), never thrown.
2026-07-24Bitflash: fair-launch releaseBitflash-sh
Satoshi's bitcoin-0.1.0 reborn with RandomX CPU proof of work, anonymous .btf addressing over Nostr with CGNAT rendezvous, automatic peer discovery, a headless Linux node, and Windows GUI wallet. Fair launch, no premine, 21M cap.