Yeah I learned it as "vendoring". Extremely common in C applications (exactly what I do most of the time)

> why do you even need a library

Audits, eyeballs, security, correctness, tests, iterations. People around here be rolling there own database column encryption...

I have no intentions of rewriting libsecp256k1, mbedtls AES and ChaCha etc.

Reply to this note

Please Login to reply.

Discussion

i pulled in btcec to my #realy because it involved a heap of dependencies including decred, where the actual schnorr library lives

but the cgo secp256k1 library it is just pulled in via regular dynamic linking

Sorry poor wording. I didn't mean to rewrite it, I meant to vendor it.

Got it! It reminded me of the last 2 dependencies one of my projects needs (zlib and brotli) just staged up last night

https://git.vaughnnugent.com/cgit/vnuge/vnlib-core.git/diff/?h=develop&id2=862d9410540ef40771370d83fbb85318539d5e5f&id=ce4545560b0e723545c6d401389bb5bf73d98b38