Commit graph

30 commits

Author SHA1 Message Date
d11n
d5d0be5824
Code formatting updates (#4502)
* Editorconfig: Add space_before_self_closing setting

This was a difference between the way dotnet-format and Rider format code. See https://www.jetbrains.com/help/rider/EditorConfig_Index.html

* Editorconfig: Keep 4 spaces indentation for Swagger JSON files

They are all formatted that way, let's keep it like that.

* Apply dotnet-format, mostly white-space related changes
2023-01-06 22:18:07 +09:00
d11n
80a257e85f
Fix Output Descriptor parsing for WSH multisig case (#4402)
* Fix Output Descriptor parsing for WSH multisig case

Reuse existing function for extracting from a multisig descriptor, instead of recursively parsing the inner output descriptor. The latter would run into invalid cases, because it'd be interpreted as bare multisig, which supports only up to three public keys. 

For further details see MetacoSA/NBitcoin#1151.

* Add CanParseDerivationSchemes test
2022-12-07 20:18:17 +09:00
Nicolas Dorier
04b8eafacb
Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
Nicolas Dorier
ed5b159fb6
Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Nicolas Dorier
6ea96efe68
Update NBitcoin, fix warnings on nullable (#2718) 2021-07-29 20:29:34 +09:00
nicolas.dorier
39a4be5641
Remove HintAddress 2021-06-17 14:11:01 +09:00
Andrew Camilleri
01be74b219
Add Bitcoin Output descriptor support (#2169)
* Add Output descriptor support

* Fix exception message and fix Parse Deriv Scheme Settings when electrum

* fix test
2021-01-11 11:22:42 +09:00
rockstardev
f88c02cccd Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
nicolas.dorier
51514252b6
Run dotnet format 2020-06-28 17:55:27 +09:00
nicolas.dorier
f2b986a357
Remove warnings 2020-06-26 20:52:59 +09:00
Kukks
d66325a241 fix coin parser for weird networks 2020-06-25 10:51:27 +02:00
Kukks
2042f59283 fix ypub/zpub parsing for all alts
@gruve-p reported that ypub import was not working and then found this. no ypub/zpub import for any alts worked before lol
2020-06-24 10:18:45 +02:00
nicolas.dorier
628d0bb690
fix tests 2020-01-15 00:00:36 +09:00
Andrew Camilleri
05223c1a5f Bump NBX (#1277) 2020-01-14 23:10:58 +09:00
Andrew Camilleri
4d7480db15 Liquid & Liquid Assets Support (#1118) 2019-12-24 16:20:44 +09:00
nicolas.dorier
6ea15411b6
Update c-ligthning and some packages 2019-08-17 15:14:31 +09:00
nicolas.dorier
602625fc17
Fix tests 2019-05-09 19:14:01 +09:00
nicolas.dorier
bbeb2d5009
Refactor ElectrumMapping with proper enum 2019-05-09 19:05:08 +09:00
nicolas.dorier
ba9928831e
Fix tests 2019-05-09 18:11:39 +09:00
nicolas.dorier
2b6bd3d751
Assume ElectrumMapping of BTC if not specified 2019-05-09 17:51:46 +09:00
Kukks
bb3a087d39 Move ElectrumMapping to BtcPayNetwork 2019-05-09 17:16:17 +09:00
nicolas.dorier
836c3a5b3a
Make sure we don't confuse user between derivation scheme of coldcard or btcpay 2019-05-09 00:55:49 +09:00
nicolas.dorier
f2da64adad
Add parsing of cold card wallet 2019-05-09 00:55:48 +09:00
nicolas.dorier
5b684ac26e Make really sure we don't generate segwit addresses for non segwit coins 2018-11-17 01:39:32 +09:00
nicolas.dorier
401d9c8565 DerivationSchemeParser should not override a label 2018-11-17 01:21:34 +09:00
nicolas.dorier
5feb520843 Add support for groestlcoin 2018-06-24 00:45:57 +09:00
nicolas.dorier
10c981b2a0 Update NBXplorer 2018-04-19 16:54:25 +09:00
nicolas.dorier
9da6df50b7 Add DOGECOIN 2018-04-10 19:07:57 +09:00
nicolas.dorier
8e38da80e0 Better UX to set the xpub correctly 2018-03-24 20:40:26 +09:00