nostr-dev-kit / ndk

Nostr Development Kit with outbox-model support
https://nostr-dev-kit.github.io/ndk/
MIT License
366 stars 99 forks source link

Move event validation and signature verification in-house #200

Closed erskingardner closed 7 months ago

erskingardner commented 7 months ago

Since there are going to be a bunch of different things we need to do to remove nostr-tools I'm making a branch called remove-nostr-tools and then merging these smaller PRs to that branch so that we can keep track of things easier.

pablof7z commented 7 months ago

This never works and just adds extra work; let's just merge into master all small PRs. Integration branches are a shitcoin 😅

erskingardner commented 7 months ago

Base branch changed.

verbiricha commented 7 months ago

merging these smaller PRs to that branch so that we can keep track of things easier.

Atomic commits that can be reviewed one by one in a single PR is best imo, more PRs adds a lot of overhead.

Commenting because I want this

erskingardner commented 7 months ago

merging these smaller PRs to that branch so that we can keep track of things easier.

Atomic commits that can be reviewed one by one in a single PR is best imo, more PRs adds a lot of overhead.

Commenting because I want this

@verbiricha I'm unclear, you'd prefer the method I originally suggested or you think @pablof7z's small atomic PRs commited to master is better/easier.

pablof7z commented 7 months ago

merging these smaller PRs to that branch so that we can keep track of things easier.

Atomic commits that can be reviewed one by one in a single PR is best imo, more PRs adds a lot of overhead.

integration branches always end up with a fuckload of unnecessary conflicts and are harder to reason around. Every single time I've done integration branches I've massively regretted it.

The only reason to use integration branches imo is if the overhead of doing non-breaking PRs is way larger than the aggregate overhead of breaking PRs.