btcpayserver/BTCPayServer/Hosting
Andrew Camilleri c5a0e28420
Refactor Wallet import code (#5638)
* Refactor Wallet import code

The code for wallet import was incredibly messy as it evolved over time from various requests.

This PR:
* splits up each supported format into its own file
* Supports taproot descriptors (through a hack until NBitcoin supports it internally) fixes #5518
* Reduces different paths for handling electrum/non-electrum xpubs
* Allows plugins to add their own import support formats for onchain wallets.

* Update NBitcoin to parse tr descriptors

* Fix warnings

* Use dedicated type OnChainWalletParsers

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-01-17 18:08:39 +09:00
..
BlockExplorerLinkStartupTask.cs Pluginify BTCPayNetworkProvider (#5331) 2023-11-29 18:51:40 +09:00
BTCpayMiddleware.cs Fix a bunch of minor bugs (#4983) 2023-05-19 08:41:21 +09:00
BTCPayServerServices.cs Refactor Wallet import code (#5638) 2024-01-17 18:08:39 +09:00
GreenfieldMiddleware.cs Rename GreenField -> Greenfield 2022-01-14 13:46:04 +09:00
HeadersOverrideMiddleware.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
LowercaseTransformer.cs Use nicer urls, part2 (Fix #921) 2022-01-15 14:54:06 +09:00
MigrationStartupTask.cs Support the new LN lib (#5422) 2023-11-21 18:55:02 +09:00
SkippableObjectValidatorProvider.cs Add Label and accountKeyPath to the on chain payment methods (#2166) 2020-12-28 13:59:01 +01:00
Startup.cs Pluginify BTCPayNetworkProvider (#5331) 2023-11-29 18:51:40 +09:00
ToPostgresMigrationStartupTask.cs Bump .NET 8.0 (#5479) 2023-11-21 14:11:17 +09:00
ValidateControllerNameTransformer.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00