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

Add gettxoutsetinfo RPC #142

Open
jrick opened this issue Jun 24, 2014 · 4 comments · May be fixed by #1668
Open

Add gettxoutsetinfo RPC #142

jrick opened this issue Jun 24, 2014 · 4 comments · May be fixed by #1668

Comments

@jrick
Copy link
Member

jrick commented Jun 24, 2014

This was previously listed as a btcwallet issue (see btcsuite/btcwallet#46), but as it does not require any wallet functionality, it should be implemented as part of btcd.

jrick added a commit to btcsuite/btcwallet that referenced this issue Jun 24, 2014
These RPCs should be implemented by btcd (see btcsuite/btcd#141 and
btcsuite/btcd#142), so remove them from the RPC handlers map.
@davecgh
Copy link
Member

davecgh commented Jul 4, 2014

For reference, I suspect this one is going to require some db changes to do efficiently. While the spend data for each transaction is obviously known as required to do proper chain validation among other things, there is no easily accessible index of the entire set.

@jrick
Copy link
Member Author

jrick commented Jul 4, 2014

Yeah, it appears that these RPCs were introduced into the reference client when ultrapruning was added.

@dajohi
Copy link
Member

dajohi commented Oct 28, 2015

#380

@davecgh
Copy link
Member

davecgh commented Oct 28, 2015

Actually, the utxo set will be part of #491, but that one relies on #380.

cjepson added a commit to cjepson/btcd that referenced this issue May 12, 2016
A bug could cause the failure to create a template from parent
if a cached block template had a vote spending the same ticket
with a different vote hash as compared to the recently added
block. Now votes are checked by the tickets they spend rather
than the vote hashes.

Fixes btcsuite#142.
cjepson added a commit to cjepson/btcd that referenced this issue May 12, 2016
A bug could cause the failure to create a template from parent
if a cached block template had a vote spending the same ticket
with a different vote hash as compared to the recently added
block. Now votes are checked by the tickets they spend rather
than the vote hashes.

Fixes btcsuite#142.
cjepson added a commit to cjepson/btcd that referenced this issue May 16, 2016
A bug could cause the failure to create a template from parent
if a cached block template had a vote spending the same ticket
with a different vote hash as compared to the recently added
block. Now votes are checked by the tickets they spend rather
than the vote hashes.

Fixes btcsuite#142.
@guilhermep guilhermep linked a pull request Nov 20, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants