Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCR Backend #3

Closed
4 tasks done
buck54321 opened this issue Aug 12, 2019 · 2 comments
Closed
4 tasks done

DCR Backend #3

buck54321 opened this issue Aug 12, 2019 · 2 comments
Assignees
Labels
server server components

Comments

@buck54321
Copy link
Member

buck54321 commented Aug 12, 2019

We need a backend for DCR. For this work, it is assumed that the DEX operator has access to a full node with txindex, and that queries will be performed using the blockchain node software's standard RPC.

Part of this work will involve creating some common DEX interfaces. I anticipate there will be an interface for the asset backend itself, one for UTXOs, and probably some for transactions and blocks. These interfaces will necessarily need to be defined in a separate module. This work should also be coordinated with the analogous BTC backend development (#4), so that the interface can be accommodating for both. The DCR and BTC backends will be baked-in, but the interfaces defined during this work will also be used for plugins.

The asset backend will need to have at least the following functionality.

  • Retrieve UTXOs
  • Broadcast notifications for new blocks and mempool transactions
  • Validate signatures
  • Calculate script sizes (some script sizes might be constants)
@buck54321 buck54321 mentioned this issue Aug 12, 2019
4 tasks
@chappjc chappjc mentioned this issue Aug 12, 2019
5 tasks
@buck54321
Copy link
Member Author

I'd like to take this one.

@chappjc chappjc mentioned this issue Aug 19, 2019
@chappjc chappjc added the server server components label Aug 19, 2019
@chappjc chappjc added this to the Core Server Components milestone Aug 19, 2019
@chappjc
Copy link
Member

chappjc commented Sep 9, 2019

Resolved by #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server server components
Projects
None yet
Development

No branches or pull requests

2 participants