Conversation
This is a good call out (since we are only supporting Signet for Kyoto right now)! I guess I'd probably start by asking @rustaceanrob if he thinks there are any other test networks that are stable (testnet/testnet4/mutinynet/etc) for kyoto or not. Maybe there are and I could be missing it. If it looks like we are still only going to support Signet with Kyoto, then I can see why we'd remove Signet picker (because there's nothing else to pick other than Signet) yet I can also see why we'd leave Signet picker (because while a user can't pick a different network they at least know what network they are about to be on, otherwise they wouldn't know if they are on signet or testnet until they go to SettingsView; the other solution would be to add a label for what network but then I think that opens up other questions about whether we should be adding a optional label for a specific edge case) |
great catch! I will investigate and try to make a nice fix. Thanks so much this is the type of thing it was nice to have your review for. |
|
Kyoto supports |
|
I can confirm that a new wallet does not render the block height on the first sync, until restarting the app. The block header sync feels super slow and I think it has to do with all of the string parsing from the logs. Is it possible to just rely on the On the UI, the progress bar is a bit slow. Would it make sense to have this fill the entire top |
8718349 Fix for these, haven’t done full testing yet, but I think the fix could be as simple as this so adding a commit for it right now before I forget |
|
c967bd6 refactor for rob correctly pointing out sync vs async |
381d36c removing string parsing from logs (?) Not sure if this is what you were thinking @rustaceanrob but I think I was trying to parse logs because im not sure I could rely on Info for all the events and get the info I need. a bit fuzzy still on this. 6e4c2d0 reverted removing string parsing from logs because i do need it (might be totally missing something though, but didn't get the info I show in the UI otherwise) |
This reverts commit 381d36c.
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
Outdated
Show resolved
Hide resolved
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
Outdated
Show resolved
Hide resolved
|
After removing the |
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
Outdated
Show resolved
Hide resolved
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
Outdated
Show resolved
Hide resolved
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
Outdated
Show resolved
Hide resolved
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
Outdated
Show resolved
Hide resolved
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
Outdated
Show resolved
Hide resolved
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
Outdated
Show resolved
Hide resolved
I need to make sure I dont forget to loop back around on this and the pull-to-refresh thing. Still collecting my thoughts on pull-to-refresh, and then for the info message I'm thinking about having some link to Kyoto explainer somewhere in settings view and then having a TipKit https://developer.apple.com/documentation/TipKit the first time someone runs Kyoto telling them what the progress is related to |
Yeah would like to hear more thoughts from you on this, I hadn't thought about it at all yet, but right now we are supporting BIP-86 default and then recently I added support for BIP-84 bc0a485 I'm definitely open/interested in all of these details and nuances for making the wallet experience great |
Yeah this is a tough balance at the moment, trying to keep as much as possible in this PR but I'm touching a lot of stuff and doing a lot in the PR, I'm hoping its the right choice though Because I want everything to work right when the Kyoto feature is merged, but at the same time im touching some esplora stuff (and causing some regressions in both as I iterate, etc). But yeah hopefully I get this all tied up nicely in this PR. |
|
Pushing more UI updates and fixes, trying to snuff out all the regressions across clients (fixing one, causing another, sometimes), there's a lot of compat to do with multiple clients/networks heh. |
|
Adding some more logging (temporary) because having a hard time getting info from peer which is hindering some of the UI testing I'm doing across clients |
|
Seeing a not connected icon/color even when it is, going to figure out whats up with that... |
hopefully fixed with this c1977a0 |
Great idea. Although I think this should go into a separate pull request. UI looks good to me. I might propose some tweaks later, but I like where this is at. From the Kyoto perspective, I think this is a good first iteration, and in the worst case where we can't follow up, still looks good for a release. I can't review anything Esplora related, so my final ACK doesn't mean much until you give a self-review. I would rebase this into a smaller commit history as a personal preference. I should have some follow-ups over the next couple weeks, but I will make issues for those once you are happy with this PR. |
Great. Your comments/suggestions/questions have been super helpful. I'll try to finish out my own testing/review of this to make sure it's working with no regressions, and then make any final small changes (any missing UI, remove logging, etc) and then I'll squash+merge, then that will free things up for smaller PRs. |
|
Adding a post-merge follow up issue #319 |






Description
Builds on #314 to add Kyoto to client options
Notes to the reviewers
References
#296
https://github.com/rustaceanrob/amstel
https://github.com/rustaceanrob/BDKSwiftExampleWallet/tree/kyoto
https://github.com/bitcoindevkit/BDKSwiftExampleWallet/tree/experiment/kyoto
https://github.com/reez/BDKSwiftExampleWallet/tree/kyoto
Changelog notice
Checklists
All Submissions:
.swift-formatfileNew Features:
Bugfixes: