The bitcoin-payment-channel package

[Tags:benchmark, library, test]

A Bitcoin payment channel allows secure and instant transfer of bitcoins from one party to another. Payments are created and verified in less than a millisecond (plus network latency), and cannot be double spent, as the receiver of funds is defined during channel setup. When the channel is closed, the settlement transaction transfers the appropriate value to each party, thus paying the Bitcoin transaction fee only once, regardless of the number of payments made over the channel. The channel setup procedure is trustless, because the funding party - after the chosen expiration date - is able to reclaim the bitcoins used to fund the channel, in case the receiving party goes missing. This library implements a type of payment channel where channel setup is safe from transaction ID malleability, and value transfer is uni-directional (one party sends and the other party receives) (CHECKLOCKTIMEVERIFY-style).

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.3.1, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.4.0.1, 0.5.0.0, 0.5.0.1, 0.6.0.0, 0.6.0.1, 1.0.0.0, 1.0.1.0, 1.2.0.0 (info)
Dependencies aeson (>=0.11.0 && <1.1), base (>=4.7 && <5), base16-bytestring (>=0.1.0 && <0.2.0), blockchain-restful-address-index-api, bytestring (>=0.10.0 && <0.11.0), cereal (>=0.5.0 && <0.6.0), data-default-class, deepseq (>=1.3 && <1.5), either, errors (>=2.0.0 && <2.2.0), haskoin-core (>=0.4.0 && <0.5.0), hexstring (>=0.11.0 && <0.12.0), hspec, monad-time (>=0.2 && <1.0), mtl, QuickCheck (>=2.8 && <2.10), rbpcp-api, scientific (>=0.3.0 && <0.4.0), semigroups (>=0.17 && <0.19), string-conversions (==0.4.*), tagged (>=0.8 && <1.0), text (>=1.2.0 && <1.3.0), time (>=1.5.0 && <1.7.0), transformers [details]
License OtherLicense
Author Rune K. Svendsen <runesvend@gmail.com>
Maintainer Rune K. Svendsen <runesvend@gmail.com>
Category Bitcoin, Finance, Network
Home page https://github.com/runeksvendsen/bitcoin-payment-channel
Bug tracker https://github.com/runeksvendsen/bitcoin-payment-channel/issues
Source repository head: git clone git://github.com/runeksvendsen/bitcoin-payment-channel.git
Uploaded Mon Jul 3 15:31:20 UTC 2017 by runeks
Distributions
Downloads 905 total (44 in the last 30 days)
Votes
1 []
Status Docs not available [build log]
All reported builds failed as of 2017-07-03 [all 3 reports]
Hackage Matrix CI

Modules

  • Bitcoin
    • Bitcoin.BIP32
      • Bitcoin.BIP32.DetDerive
      • Bitcoin.BIP32.Types
    • Internal
      • Bitcoin.Internal.Util
    • Bitcoin.Signature
    • SpendCond
      • Bitcoin.SpendCond.Cond
      • Bitcoin.SpendCond.Util
    • Bitcoin.Util
  • PaymentChannel
    • RBPCP
      • PaymentChannel.RBPCP.Parse
    • PaymentChannel.Test
    • PaymentChannel.Types
    • PaymentChannel.Util

Downloads

Maintainer's Corner

For package maintainers and hackage trustees