Assume Compression
bool assumeCompression(bool? value, Uint8List? pubkey) { if (value == null && pubkey != null) return _isPointCompressed(pubkey); if (value == null) return true; return value; }