-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Isolate address pool to prevent excessive address creation
Automatic ticket purchases by the wallet could cause excessive usage of the default account internal branch because the address for the split transaction outputs was created using the exported new address function for the wallet. The API for txToOutputs has been modified and a new function that calls it, TxToOutputs, created. This new function does all the locking required, so that the internal function txToOutputs may be called by other functions in wallet that already have the relevant locks held.
- Loading branch information
Showing
2 changed files
with
80 additions
and
56 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