Commit 3bd0730
authored
Refactor getusedcoinstagstxhashes to use GetSpendsMobile (#1773)
* Refactor getusedcoinstagstxhashes to use GetSpendsMobile for tag retrieval
Updated the getusedcoinstagstxhashes function to replace the use of GetSpends with GetSpendsMobile, changing the data structure from an unordered_map to a vector of pairs for improved performance and compatibility.
* Enforce mobile mode requirement in getusedcoinstagstxhashes
Added a check in the getusedcoinstagstxhashes function to ensure that the application is run with the -mobile flag. If the flag is not set, an error is thrown prompting the user to rerun with the appropriate argument.1 parent 4b5a854 commit 3bd0730
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1586 | 1586 | | |
1587 | 1587 | | |
1588 | 1588 | | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
1589 | 1593 | | |
1590 | | - | |
| 1594 | + | |
1591 | 1595 | | |
1592 | 1596 | | |
1593 | 1597 | | |
1594 | | - | |
| 1598 | + | |
1595 | 1599 | | |
1596 | 1600 | | |
1597 | 1601 | | |
| |||
0 commit comments