Commit Graph

1707 Commits

Author SHA1 Message Date
Jean-Pierre Rupp
fc56a54128
Update seeds 2020-11-17 10:57:58 +00:00
Ian Shipman
ff6eb8578f
Adds support for base16-bytestring >=1 (#395) 2020-11-02 12:03:52 +00:00
JP Rupp
e3d4385046
ASERT (#394)
Support Bitcoin Cash November 2020 hard fork.
2020-10-21 12:01:48 +01:00
Jean-Pierre Rupp
202dd677f3
Release new version 2020-07-23 17:24:16 +01:00
Jean-Pierre Rupp
c90b178dd4
Update secp256k1 bindings 2020-07-21 23:54:54 +01:00
Ian Shipman
508a318879
renames opcodes (#392)
* OP_NOP2 changed to OP_CHECKLOCKTIMEVERIFY (Dec 2015 fork)
* OP_NOP3 changed to OP_CHECKSEQUENCEVERIFY (July 2016 fork)
2020-07-04 15:17:21 +01:00
Jean-Pierre Rupp
a0875de08a
Change license to MIT on individual files 2020-06-24 13:34:03 +01:00
Philippe Laprade
6c3fdcf771
Add missing BIP32 test vectors (#389)
* Add missing BIP32 test vectors

* Add hash test vectors

* Rename stringToAddr to textToAddr

* Add Base58 tests

* Add signature tests

* Add rfc6979 test vectors for bitcoinabc secp256k1 implementation

* Add deterministic signing test in CryptoSpec.hs

* Move ScriptOutput to Standard.hs, fix import loops and add new tests in KeysSpec.hs

* Add additional tests in KeysSpec.hs

* Test the key_io_invalid.json vectors

* Fix the BIP143 tests

* Update the CHANGELOG
2020-06-19 18:50:24 +01:00
Jean-Pierre Rupp
d313ac58b2
Prepare release v0.14.1 2020-06-14 11:30:44 +01:00
Jean-Pierre Rupp
26980f7d72
Fix Bitcoin Cash Testnet3 seeds 2020-06-14 11:25:43 +01:00
Philippe Laprade
c28f14aca5
Add helpers for writing serialize and json identity tests (#388) 2020-06-14 11:18:56 +01:00
Jean-Pierre Rupp
70907d1d52
Prepare v0.14.0 2020-06-14 10:52:02 +01:00
Jean-Pierre Rupp
f9f4759d8b
Update stack.yaml.lock file 2020-06-13 12:13:19 +01:00
Jean-Pierre Rupp
578e506a80
Bump secp256k1-haskell dependency 2020-06-13 12:05:19 +01:00
Jean-Pierre Rupp
b7bc8dc50d
License update and package changes
- Use MIT license.
- Tests now depend on library instead of compiling code again.
- All modules exposed so that tests can work.
2020-06-12 15:44:11 +01:00
Philippe Laprade
3c23627ff4
Expose the Arbitrary test instances under Haskoin.Util.Arbitrary (#387)
* Expose the Arbitrary test instances under Haskoin.Util.Arbitrary

* Adding missing Arbitrary instances for Addresses
2020-06-05 17:38:46 +01:00
Rune K. Svendsen
bf508a86ba
Fix #385 (#386) 2020-05-19 22:54:28 +01:00
Philippe Laprade
0f95b52551
Add better JSON instances and cleanup some code (#384)
* Add better JSON instances and cleanup some code

* Add a changelog entry for 0.13.5

* Give me my fast JSON back

Co-authored-by: Jean-Pierre Rupp <jprupp@protonmail.ch>
2020-05-16 14:53:43 +01:00
Jean-Pierre Rupp
235038ae40 Support for Bitcoin Cash May 2020 hard fork 2020-05-14 19:35:04 +01:00
Jean-Pierre Rupp
79792f704f Improve code and documentation organisation 2020-05-08 09:48:12 +01:00
Jean-Pierre Rupp
ab20881ffe Expose top modules and move to Haskoin namespace 2020-05-08 09:26:26 +01:00
Jean-Pierre Rupp
cb8c9c2f66 Faster JSON serialization 2020-05-06 16:15:01 +01:00
Jean-Pierre Rupp
cab65a3c25 Update packages and get ready for release 2020-05-06 11:40:43 +01:00
Jean-Pierre Rupp
e98d409e01 Deprecate Network.Haskoin namespace
Also:
* Hide QuickCheck generators
2020-05-06 11:33:02 +01:00
Jean-Pierre Rupp
39c0e927ee Use new version of secp256k1-haskell
The new library adds compatibility with the version of libsecp256k1 provided by
Fedora. The Fedora package is a fork of that library from the Bitcoin ABC
project. It computes signature nonces slightly differently, so all tests that
depend on signatures being exactly the same for a combination of message and
private key have been removed.
2020-04-10 21:27:19 +01:00
Jean-Pierre Rupp
47df14f633 Correct changelog format 2020-04-07 10:58:32 +01:00
Jean-Pierre Rupp
3f04b18143 Update maintainer email address 2020-04-07 10:24:49 +01:00
Ian Shipman
bf7354793e
Add support for spending SegWit transactions (#383) 2020-02-21 11:52:58 +00:00
Jean-Pierre Rupp
efe643bd5d Update to LTS Haskell 15.0 2020-02-21 10:56:14 +00:00
Jean-Pierre Rupp
8075ffb0e6 Lower bounds for some dependency versions 2020-02-08 13:40:35 +00:00
Jean-Pierre Rupp
705990c04c Add NFData and remove Monad fail where needed 2020-01-15 21:27:27 +00:00
Jean-Pierre Rupp
7bf7ed7a43 Update maintainer email address 2020-01-15 16:56:27 +00:00
Jean-Pierre Rupp
b8d2f60c6b Use latest LTS Haskell 2020-01-01 11:35:29 +00:00
Tomas Carnecky
a09e994bba Add an Ord instance to DerivPathI (#380) 2020-01-01 11:02:51 +00:00
Jean-Pierre Rupp
dfa735d8b6 Update changelog 2019-12-04 12:09:06 +00:00
Jean-Pierre Rupp
d4b215acab Add JSON encoding/decoding for blocks 2019-12-04 12:05:17 +00:00
Jean-Pierre Rupp
005a25b040 Correct lowercase HRP test case 2019-12-04 12:04:50 +00:00
Jean-Pierre Rupp
66071379b1 Prepare for version 0.9.6 2019-10-29 09:20:56 +00:00
Pavel Kiselyov
b776b05d68 lowercase input before bech32 encoding (#378)
* lowercase input before bech32 encoding

* use flip

* use dot notation

* rollback spacing

* use right-assoc apply

* use monadic permutations
2019-10-29 09:15:18 +00:00
Ilyas Ridhuan
3cfd5fc124 Added bloomRelevantUpdate implementation for bloom filter (#376)
Thank you very much for your contribution, and I appologize for letting it stay open so long.
2019-10-29 09:14:15 +00:00
Jean-Pierre Rupp
36ae2ecf5c Expose functions 2019-10-23 13:20:07 +01:00
Jean-Pierre Rupp
c22b325372 Add more functions for P2SH/P2WPKH support 2019-10-23 13:03:43 +01:00
Jean-Pierre Rupp
11e8687a01 Add support for P2WPKH-on-P2SH addresses 2019-10-22 17:19:29 +01:00
Jean-Pierre Rupp
662b4aa1e0 Support messages with unknown commands 2019-10-09 16:19:23 +01:00
Jean-Pierre Rupp
e6db1f4fc7 Enable optimisations 2019-10-02 14:51:17 +01:00
Jean-Pierre Rupp
dd271a045a Target LTS Haskell 13.20 2019-05-08 16:35:12 +01:00
Matthew Wraith
1c5f0607f1
Merge pull request #374 from bitnomial/isolate-signature
Expose transaction signature
2019-04-23 14:45:58 -05:00
Ian Shipman
84903a570b fixes formatting 2019-04-23 14:41:03 -05:00
Ian Shipman
1dc0d3eeb3 typo fix 2019-04-19 17:18:33 -05:00
Jean-Pierre Rupp
a1c2ca9c55 Address conversion to string now defined for all inputs 2019-04-12 14:25:48 +01:00