Skip to content

refactor: tsc - #27

Merged
Overtorment merged 1 commit into
masterfrom
refactor-tsc
Nov 22, 2025
Merged

Overtorment merged 1 commit into
masterfrom
refactor-tsc

Conversation

@Overtorment

@Overtorment Overtorment commented Nov 22, 2025 •

Copy link
Copy Markdown
Member

Note

Add runtime assertions and safer EC ops in UTXO detection and seed derivation, plus a tsc lint script and patch version bump.

  • Core (src/index.ts):
    • Add runtime assert checks in seedToCode for bscan/bspend derivation.
    • Refactor EC math in detectOurUtxos and detectOurUtxosUsingTweakbscanBspend by separating tkG computation and asserting results before pointAdd.
    • Define a local assert helper.
    • Minor typing refinement: return Omit<UTXO,'wif'> in detectOurUtxosUsingTweakbscanBspend.
  • Build/Meta:
    • Add tslint script (tsc ... --noEmit).
    • Bump version to 2.2.1.

Written by Cursor Bugbot for commit 53dff04. This will update automatically on new commits. Configure here.

@Overtorment
Overtorment merged commit 59a0373 into master Nov 22, 2025
4 checks passed
@Overtorment
Overtorment deleted the refactor-tsc branch November 22, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant