@@ -37,44 +37,44 @@ public enum SeedType
3737 //XPUB
3838 }
3939
40- private static readonly BIP0032Path [ ] AllPaths = new BIP0032Path [ ]
41- {
42- new BIP0032Path ( "m/0" ) ,
43- new BIP0032Path ( "m/0'" ) ,
40+ private static readonly BIP0032Path [ ] AllPaths =
41+ [
42+ new ( "m/0" ) ,
43+ new ( "m/0'" ) ,
4444 // BIP-44 xprv/xpub P2PKH
45- new BIP0032Path ( "m/44'/0'/0'/0" ) ,
45+ new ( "m/44'/0'/0'/0" ) ,
4646 // BIP-49 yprv/upub P2SH-P2WPKH
47- new BIP0032Path ( "m/49'/0'/0'/0" ) ,
47+ new ( "m/49'/0'/0'/0" ) ,
4848 // BIP-84 zprv/zpub P2WPKH
49- new BIP0032Path ( "m/84'/0'/0'/0" ) ,
50- } ;
49+ new ( "m/84'/0'/0'/0" ) ,
50+ ] ;
5151
5252
5353 public void Loop ( BIP0032 bip32 , uint count )
5454 {
55- BIP0032Path [ ] allPaths = new BIP0032Path [ ]
56- {
57- new BIP0032Path ( "m/0" ) ,
58- new BIP0032Path ( "m/0'" ) ,
59- new BIP0032Path ( "m/0'/0/" ) ,
60- new BIP0032Path ( "m/0'/0'" ) ,
55+ BIP0032Path [ ] allPaths =
56+ [
57+ new ( "m/0" ) ,
58+ new ( "m/0'" ) ,
59+ new ( "m/0'/0/" ) ,
60+ new ( "m/0'/0'" ) ,
6161 // BIP-44 xprv/xpub P2PKH
62- new BIP0032Path ( "m/44'/0'/0'/0" ) ,
63- new BIP0032Path ( "m/44'/0'/0'" ) ,
62+ new ( "m/44'/0'/0'/0" ) ,
63+ new ( "m/44'/0'/0'" ) ,
6464 // BIP-49 yprv/upub P2SH-P2WPKH
65- new BIP0032Path ( "m/49'/0'/0'/0" ) ,
66- new BIP0032Path ( "m/49'/0'/0'" ) ,
65+ new ( "m/49'/0'/0'/0" ) ,
66+ new ( "m/49'/0'/0'" ) ,
6767 // BIP-84 zprv/zpub P2WPKH
68- new BIP0032Path ( "m/84'/0'/0'/0" ) ,
69- new BIP0032Path ( "m/84'/0'/0'/" ) ,
70- new BIP0032Path ( "m/84'/0'/2147483644'/0" ) ,
71- new BIP0032Path ( "m/84'/0'/2147483645'/0" ) ,
72- new BIP0032Path ( "m/84'/0'/2147483646'/0" ) ,
73- new BIP0032Path ( "m/84'/0'/2147483647'/0" ) ,
74- new BIP0032Path ( "m/49'/0'/2147483647'/0" ) ,
75- new BIP0032Path ( "m/44'/0'/2147483647'/0" ) ,
76- new BIP0032Path ( "m/141'/0'/0'/0" ) ,
77- } ;
68+ new ( "m/84'/0'/0'/0" ) ,
69+ new ( "m/84'/0'/0'/" ) ,
70+ new ( "m/84'/0'/2147483644'/0" ) ,
71+ new ( "m/84'/0'/2147483645'/0" ) ,
72+ new ( "m/84'/0'/2147483646'/0" ) ,
73+ new ( "m/84'/0'/2147483647'/0" ) ,
74+ new ( "m/49'/0'/2147483647'/0" ) ,
75+ new ( "m/44'/0'/2147483647'/0" ) ,
76+ new ( "m/141'/0'/0'/0" ) ,
77+ ] ;
7878
7979
8080 foreach ( BIP0032Path path in allPaths )
0 commit comments