All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Move from
cryptonite
tocrypton
for now.
- Update upstream dependencies & LTS Haskell.
- Export the BIP39 word list
- Add new BIP39 test vectors
- New dependency on data-default
- Renamed some arbitrary (test) functions for clarity
- Reworked the identity testing tool to include Marshal and MarshalJSON classes
- Text files needed for testing now in tarball.
- Do not use alternative monad for Either String values.
- Shorten all field names allow duplicates, using DuplicateRecordFields extension.
- Use OverloadedRecordDot language extension and syntax.
- Use explicit context object from secp256k1-haskell library.
- Unify serialization into custom Marhsal and MarshalJSON classes.
- Use ormolu for formatting.
- Simplify module organisation.
- Strongly break backwards compatibility.
- Upgrade to lastest secp256k1 and base16 packages.
- Serialisation test now works for both strict and lazy bytestrings.
- Make Base58 faster.
- BCH Testnet4 support.
- Fix inconsistent serialization/deserialization issues.
- Makes
finalScriptWitness
field encoding conform to bitcoin core. - Fixes bug in
finalizeTransaction
- Signing support for PSBTs
- Helper function for merging PSBTs
- More PSBT tests
- Partial support for taproot
- Support Bech32m address format for Taproot.
- Add missing case for witness version.
- Allow unknown inv types.
- Allow unknown messages of zero length.
- Correct case where binary search returned the wrong element.
- Use bytes instead of binary or cereal.
- Hashable instances for extended keys.
- Mnemonic passphrases now
Text
instead ofByteString
.
- Tests now pass for witness addresses.
- Support SegWit addresses with version other than 0.
- Serialize instances for
XPubKey
andXPrvKey
.
- Handle special case in block header binary search function.
- Bounds check too restrictive in block header binary search function.
- Reduce minimum version of text package dependency.
- Update lists of seeds for all networks.
- Use the C-preprocessor to handle versions of
base16-bytestring
- Support for Bitcoin Cash November 2020 hard fork.
- Functions to find block headers matching arbitrary sorted attributes.
- GenesisNode constructor for BlockNode type.
- Add more test vectors
- stringToAddr renamed to textToAddr
- Move ScriptOutput to Standard.hs
- Move WIF encoding/decoding to Keys.hs
- (breaking) rename
OP_NOP2
andOP_NOP3
toOP_CHECKLOCKTIMEVERIFY
andOP_CHECKSEQUENCEVERIFY
resp. - Update to latest secp256k1 bindings.
- Correct some Bitcoin Cash Testnet3 seeds.
- Add helpers for writing Data.Serialize and Data.Aeson identity tests
- Expose all modules for tests.
- Tests depend on library instead of having access to its source code.
- Use MIT license.
- Update seeds.
- Bump secp256k1-haskell dependency.
- Expose the Arbitrary test instances under Haskoin.Util.Arbitrary
- Provide meaningful JSON instances for most types.
- Support for Bitcoin Cash May 2020 hard fork.
- Improve code and documentation organisation.
- Move all packages from Network.Haskoin namespace to Haskoin namespace.
- Expose all top-level modules directly.
- Faster JSON serialization.
- Consolidate all modules in Haskoin module.
- Deprecate Network.Haskoin namespace.
- Hide QuickCheck generators in test suite.
- Support for signing segwit transactions.
- High-level representation of segwit v0 data and auxilliary functions.
- Adds handling of segwit signing parameters to transaction signing code.
- Lower bound versions for some dependencies.
- DeepSeq instances for all data types.
- There is no
SockAddr
insideNetworkAddress
anymore.
- Ord instance for
DerivPathI
- JSON encoding/decoding for blocks.
- Fix lowercase HRP test for Bech32.
bloomRelevantUpdate
implementation for Bloom filters (thanks to @IlyasRidhuan).
- Fix for Bech32 encoding (thanks to @pavel-main).
- Expose functions added in 0.9.4.
- Support for (P2SH-)P2WPKH addresses derived from extended keys.
- Change names of backwards-compatible P2SH-P2WPKH functions from 0.9.3.
- Some support for P2WPKH-over-P2SH addresses.
- Disable unnecessary
-O2
optimisation added in previous version.
- Allow decoding unknown P2P messages.
- Add a function to produce a structured signature over a transaction.
- Enable
-O2
optimisations.
- Address conversion to string now defined for all inputs.
- Add reward computation to block functions.
- Add PSBT BIP-174 types and functions.
- Add reward halving interval parameter to network constants.
- Recognize
OP_CHECKDATASIG
andOP_CHECKDATASIGVERIFY
opcodes.
- Add instances of
Hashable
andGeneric
where possible.
- Remove
deepseq
dependency. - Remove network constant reference from address and extended keys.
- Add
Serialize
instance for network constants. - Add
Serialize
instance for addresses that includes network constants.
- Move functions related to addresses from
Script
toAddress
module.
- Compatibility with latest GHC and base.
- Update minimum base to 4.9.
- Force initialization of addresses through smart constructor.
- Assume addresses are always valid when instantiated in code.
- Allow to provide unwrapped private keys to transaction signing functions.
- Make dependencies more specific.
- Remove some unneeded dependencies from
stack.yaml
. - Change
secp256k1
dependency tosecp256k1-haskell
.
- Support for Bitcoin Cash network block sychronization.
- Support for Bitcoin Cash signatures.
- Initial work on SegWit support.
- New version of
secp256k1
bindings. - Block header validation.
- Support for RegTest networks on Bitcoin and Bitcoin Cash.
- Support for Bitcoin Cash Testnet3 Network.
- Support for new Haskoin Wallet.
- Minikey decoding for Casascius coins.
- New tests for various networks and new features.
- Added
CHANGELOG.md
file. - Support for SegWit addresses.
- Support for CashAddr addresses.
- Use of hpack
package.yaml
file to auto-generate Cabal file. - Removal of dependency version limits, relying on
stack.yaml
instead. - Tests moved to
hspec
. - New documentation.
- Updated
.gitignore
. - Renamed network constants to use same style for BTC and BCH.
- Network constants must be passed explicitly.
- Target LTS Haskell 12.9.
- Removed
.stylish-haskell.yaml
files. - Removed old
haskoin-node
andhaskoin-wallet
packages from main repository. - Removed support for non-strict signatures and related tests.
- Removed script evaluator and related tests.