Skip to content

Commit 29cfb0b

Browse files
committed
first pass at cleaning out bch related code
1 parent 2a13ee8 commit 29cfb0b

File tree

15 files changed

+638
-1484
lines changed

15 files changed

+638
-1484
lines changed

haskoin-core.cabal renamed to bitcoin.cabal

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cabal-version: 1.12
44
--
55
-- see: https://github.com/sol/hpack
66

7-
name: haskoin-core
7+
name: bitcoin
88
version: 0.21.2
99
synopsis: Bitcoin & Bitcoin Cash library for Haskell
1010
description: Please see the README on GitHub at <https://github.com/haskoin/haskoin-core#readme>
@@ -13,8 +13,9 @@ homepage: http://github.com/haskoin/haskoin#readme
1313
bug-reports: http://github.com/haskoin/haskoin/issues
1414
author: Philippe Laprade,
1515
Jean-Pierre Rupp,
16-
Matthew Wraith
17-
maintainer: [email protected]
16+
Matthew Wraith,
17+
Keagan McClelland
18+
maintainer: [email protected]
1819
license: MIT
1920
license-file: LICENSE
2021
build-type: Simple
@@ -46,7 +47,6 @@ library
4647
Haskoin.Address
4748
Haskoin.Address.Base58
4849
Haskoin.Address.Bech32
49-
Haskoin.Address.CashAddr
5050
Haskoin.Block
5151
Haskoin.Block.Common
5252
Haskoin.Block.Headers
@@ -129,7 +129,6 @@ test-suite spec
129129
main-is: Spec.hs
130130
other-modules:
131131
Haskoin.Address.Bech32Spec
132-
Haskoin.Address.CashAddrSpec
133132
Haskoin.AddressSpec
134133
Haskoin.BlockSpec
135134
Haskoin.Crypto.HashSpec
@@ -143,7 +142,7 @@ test-suite spec
143142
Haskoin.Transaction.TaprootSpec
144143
Haskoin.TransactionSpec
145144
Haskoin.UtilSpec
146-
Paths_haskoin_core
145+
Paths_bitcoin
147146
hs-source-dirs:
148147
test
149148
build-depends:
@@ -155,6 +154,7 @@ test-suite spec
155154
, base16 >=0.3.0.1
156155
, base64 ==0.4.*
157156
, binary >=0.8.8
157+
, bitcoin
158158
, bytes >=0.17
159159
, bytestring >=0.10.10.0
160160
, cereal >=0.5.8
@@ -164,7 +164,6 @@ test-suite spec
164164
, deepseq >=1.4.4.0
165165
, entropy >=0.4.1.5
166166
, hashable >=1.3.0.0
167-
, haskoin-core
168167
, hspec >=2.7.1
169168
, lens >=4.18.1
170169
, lens-aeson >=1.1

fourmolu.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
indentation: 4
2+
comma-style: leading
3+
record-brace-space: false
4+
indent-wheres: true
5+
diff-friendly-import-export: true
6+
respectful: true
7+
haddock-style: single-line
8+
newlines-between-decls: 2

package.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: haskoin-core
1+
name: bitcoin
22
version: 0.21.2
33
synopsis: Bitcoin & Bitcoin Cash library for Haskell
44
description: Please see the README on GitHub at <https://github.com/haskoin/haskoin-core#readme>
@@ -7,7 +7,8 @@ author:
77
- Philippe Laprade
88
- Jean-Pierre Rupp
99
- Matthew Wraith
10-
maintainer: [email protected]
10+
- Keagan McClelland
11+
maintainer: [email protected]
1112
license: MIT
1213
license-file: LICENSE
1314
homepage: http://github.com/haskoin/haskoin#readme
@@ -50,21 +51,19 @@ dependencies:
5051
- vector >= 0.12.1.2
5152
library:
5253
source-dirs: src
53-
other-modules:
54-
Haskoin.Keys.Extended.Internal
54+
other-modules: Haskoin.Keys.Extended.Internal
5555
when:
5656
- condition: false
57-
other-modules: Paths_haskoin_core
57+
other-modules: Paths_bitcoin
5858
tests:
5959
spec:
6060
main: Spec.hs
6161
source-dirs: test
6262
verbatim:
63-
build-tool-depends:
64-
hspec-discover:hspec-discover
63+
build-tool-depends: hspec-discover:hspec-discover
6564
dependencies:
6665
- base64 ^>= 0.4
67-
- haskoin-core
66+
- bitcoin
6867
- hspec >= 2.7.1
6968
- HUnit >= 1.6.0.0
7069
- QuickCheck >= 2.13.2

0 commit comments

Comments
 (0)