Proposal to deprecate and remove RPCs related to missed and expired tickets #2774
Labels
rpc server api change
Issues and/or pull requests that involve a new RPC server version or breaking to change to the API.
Milestone
I would like to propose the
missedtickets
,existsmissedtickets
,existsexpiredtickets
,rebroadcastmissed
, andnotifyspentandmissedtickets
RPCs be deprecated in the v1.7.0 release and then removed entirely in the release after that. The only known way these RPCs are used is to support wallet staking statistics, but due to the upcoming automatic revocations consensus change, wallets will not really need the RPCs to calculate the vast majority of the information anymore since they can detect missed and expired tickets through a combination of seeing the revocation and comparing the number of confirmations against the ticket purchase height.Further, these RPCs are really not something that dcrd should be maintaining by default anyway because they have some fairly significant downsides:
That final point is perhaps one of the most important ones, because the ticket database design can be significantly optimized due to the introduction of the automatic revocations consensus change so long as the RPCs in question are no longer supported.
Proposed Roadmap
If we decide to move forward with this, I would expect the v1.7.0 release to:
blockchain
andstake
code as deprecatedThen, in the following release:
blockchain
andstake
codeThe text was updated successfully, but these errors were encountered: