You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b328f0e
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(tools): read masternode keys from the running wallet
The masternode owner and voting key screens read the running wallet's provider address pool, and `providerKeyAtIndex` derives the keys. The pool a throwaway KeyWallet wallet derived from the phrase is gone.
An empty pool now means the wallet has no provider account of that kind, and `providerKeyAtIndex` throws for it. `poolIsLive` becomes a computed `hasProviderPool`, and the voting screen's banner says the wallet has no masternode voting key account instead of asking the user to finish syncing. The banner's catalog entry is English in every locale until it is translated again.
`SwiftDashSDKHost.derivationWallet()`, the throwaway key-wallet these screens and CrowdNode used, has no callers left and is deleted.
"🗳️ VOTING :: votable nodes=\(nodes.count,privacy:.public) of \(eligible.count,privacy:.public) active registrations livePool=\(resolution.poolIsLive,privacy:.public)")
170
+
"🗳️ VOTING :: votable nodes=\(nodes.count,privacy:.public) of \(eligible.count,privacy:.public) active registrations providerPool=\(resolution.hasProviderPool,privacy:.public)")
171
171
// Exclusion is by the wallet's ELIGIBLE set (not just the votable
172
172
// subset): a wallet-registered node stays out of the tracked list
"Some of your masternodes may be missing from this list — the wallet could not read your full voting-key pool. Finish syncing and reopen this screen.",
56
+
"Some of your masternodes may be missing from this list because this wallet has no masternode votingkey account.",
Copy file name to clipboardExpand all lines: DashWallet/ar.lproj/Localizable.strings
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4672,7 +4672,7 @@
4672
4672
/* Maya */
4673
4673
"Some coins are not available because of the halted chain" = "Some coins are not available because of the halted chain";
4674
4674
4675
-
"Some of your masternodes may be missing from this list — the wallet could not read your full voting-key pool. Finish syncing and reopen this screen." = "قد تكون بعض عقد الماسترنود لديك مفقودة من هذه القائمة — إذ تعذّر على المحفظة قراءة مجموعة مفاتيح التصويت كاملة. أكمل المزامنة ثم افتح هذه الشاشة من جديد.";
4675
+
"Some of your masternodes may be missing from this list because this wallet has no masternode votingkey account." = "Some of your masternodes may be missing from this list because this wallet has no masternode voting key account.";
4676
4676
4677
4677
/* Usernames */
4678
4678
"Some usernames can be blocked" = "Some usernames can be blocked";
Copy file name to clipboardExpand all lines: DashWallet/bg.lproj/Localizable.strings
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4672,7 +4672,7 @@
4672
4672
/* Maya */
4673
4673
"Some coins are not available because of the halted chain" = "Some coins are not available because of the halted chain";
4674
4674
4675
-
"Some of your masternodes may be missing from this list — the wallet could not read your full voting-key pool. Finish syncing and reopen this screen." = "Някои от вашите мастерноди може да липсват в този списък — портфейлът не успя да прочете целия ви набор от ключове за гласуване. Завършете синхронизирането и отворете този екран отново.";
4675
+
"Some of your masternodes may be missing from this list because this wallet has no masternode votingkey account." = "Some of your masternodes may be missing from this list because this wallet has no masternode voting key account.";
4676
4676
4677
4677
/* Usernames */
4678
4678
"Some usernames can be blocked" = "Some usernames can be blocked";
Copy file name to clipboardExpand all lines: DashWallet/ca.lproj/Localizable.strings
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4672,7 +4672,7 @@
4672
4672
/* Maya */
4673
4673
"Some coins are not available because of the halted chain" = "Some coins are not available because of the halted chain";
4674
4674
4675
-
"Some of your masternodes may be missing from this list — the wallet could not read your full voting-key pool. Finish syncing and reopen this screen." = "És possible que alguns dels teus masternodes faltin en aquesta llista: la cartera no ha pogut llegir tot el teu conjunt de claus de vot. Acaba la sincronització i torna a obrir aquesta pantalla.";
4675
+
"Some of your masternodes may be missing from this list because this wallet has no masternode votingkey account." = "Some of your masternodes may be missing from this list because this wallet has no masternode voting key account.";
4676
4676
4677
4677
/* Usernames */
4678
4678
"Some usernames can be blocked" = "Some usernames can be blocked";
Copy file name to clipboardExpand all lines: DashWallet/cs.lproj/Localizable.strings
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4672,7 +4672,7 @@
4672
4672
/* Maya */
4673
4673
"Some coins are not available because of the halted chain" = "Some coins are not available because of the halted chain";
4674
4674
4675
-
"Some of your masternodes may be missing from this list — the wallet could not read your full voting-key pool. Finish syncing and reopen this screen." = "Některé z vašich masternode v tomto seznamu možná chybí — peněženka nedokázala přečíst celou vaši sadu hlasovacích klíčů. Dokončete synchronizaci a otevřete tuto obrazovku znovu.";
4675
+
"Some of your masternodes may be missing from this list because this wallet has no masternode votingkey account." = "Some of your masternodes may be missing from this list because this wallet has no masternode voting key account.";
4676
4676
4677
4677
/* Usernames */
4678
4678
"Some usernames can be blocked" = "Some usernames can be blocked";
Copy file name to clipboardExpand all lines: DashWallet/da.lproj/Localizable.strings
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4672,7 +4672,7 @@
4672
4672
/* Maya */
4673
4673
"Some coins are not available because of the halted chain" = "Some coins are not available because of the halted chain";
4674
4674
4675
-
"Some of your masternodes may be missing from this list — the wallet could not read your full voting-key pool. Finish syncing and reopen this screen." = "Nogle af dine masternoder mangler måske på denne liste — tegnebogen kunne ikke læse hele dit sæt af afstemningsnøgler. Afslut synkroniseringen, og åbn denne skærm igen.";
4675
+
"Some of your masternodes may be missing from this list because this wallet has no masternode votingkey account." = "Some of your masternodes may be missing from this list because this wallet has no masternode voting key account.";
4676
4676
4677
4677
/* Usernames */
4678
4678
"Some usernames can be blocked" = "Some usernames can be blocked";
0 commit comments