Blockstream / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
318 stars 130 forks source link

Added discovery "add servers" macro #102

Open cjrutherford opened 2 months ago

cjrutherford commented 2 months ago

Created an initial open api yaml for the electrs rest api. replaced the large string of calls to add_default_server() into a macro call that expands to the equivalent in the compiled code.

shesek commented 1 month ago

The macro change looks great and is something I had in mind too. Thank you!

Would it be possible to separate that from the other changes?

cjrutherford commented 2 weeks ago

yes, I'll remove the other changes to separate this one.