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

Review descriptor feature #160

Open
Naviabheeman opened this issue Sep 29, 2021 · 1 comment
Open

Review descriptor feature #160

Naviabheeman opened this issue Sep 29, 2021 · 1 comment

Comments

@Naviabheeman
Copy link
Contributor

Descriptor feature is used to give the description of scripts in pk(...), pkh(...), sh(...) format. It still has witness support.

  1. We need to decide if this feature is useful in Tapyrus.
  2. Extend it to support coloured coins.
@Naviabheeman
Copy link
Contributor Author

In Bitcoin descriptors is a big feature with a separate sqlite db. wallet can be configured to use sqlite and descriptors instead of leveldb and raw scripts. New RPCs like 'deriveaddresses', 'generatetodescriptor' allow using them instead of raw scripts. The feature is very mature and can even be used in the coinbase transaction output to receive block reward.
Porting it to Tapyrus-core may be useful only if we plan to use this extensively. It can be used to represent the script in all the layers from Tapyrus-core to the api layers.
Since we are comfortable with the raw bitcoin script I would not recommend this as a feature in Tapyrus-core

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

No branches or pull requests

1 participant