ElementsProject / ELIPs

Elements Improvement proposals
12 stars 10 forks source link

init: elip for discounted CT #16

Closed delta1 closed 3 months ago

delta1 commented 3 months ago

first pass at ELIP for discounted CT as implemented in ElementsProject/elements#1317 and alternate implementation in ElementsProject/rust-elements#204

apoelstra commented 3 months ago

3b286eacde2906e9fa4464bea3cffdf6d9842196 looks good to me except that it should have explicit test vectors.

delta1 commented 3 months ago

thanks @apoelstra. should they be inline or as separate files?

what number should be used for this ELIP?

apoelstra commented 3 months ago

I would put them inline.

This can have number 200. (For transparency -- I am just picking a number "far away" from existing BIPs which don't seem to resemble this one, and I don't have any secret table of predetermined number ranges.)

delta1 commented 3 months ago

added test vectors and used number 200

apoelstra commented 3 months ago

Gonna go ahead and merge this. Can do followup PRs when people start reimplementing this, if there is feedback.