forked from bitcoin/bitcoin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move getNamePrevout close to name_firstupdate.
getNamePrevout is a helper method that is only used by name_firstupdate, so it makes sense to move it close to that place. The "general front" of rpcnames.cpp should be used for things that are used by multiple methods, like the DestinationAddressHelper and more things in the future. This is a pure code move, together with also moving MAX_NAME_PREVOUT_TRIALS into the function.
- Loading branch information
Showing
1 changed file
with
49 additions
and
44 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