forked from kyuupichan/electrumx
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support names in "query" RPC command. (kyuupichan#875)
This extends the "query" RPC command so that it also allows querying for the name index in Namecoin (and potential future coins that support a name index as well). Previously, that was not possible even when passing the normalised script itself: In that case, hashX_from_script would strip off the name prefix again, and thus the query would only be for OP_RETURN. (Thanks to JeremyRand for analysing this bug!)
- Loading branch information
Showing
3 changed files
with
42 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters