LLFourn / bdk_core_staging

Staging area for bdk_core initial development
15 stars 12 forks source link

Make SpkTxOutIndex::add_spk handle duplicate spks under different indexes #98

Closed LLFourn closed 1 year ago

LLFourn commented 1 year ago

What should we do here? The simplest thing would be to return a bool or result indicating whether we ignored the request or not because it is already under another index.

rajarshimaitra commented 1 year ago

I think the simplest is to just return false if it already exists..