Skip to content
This repository was archived by the owner on May 17, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
d783ffd
Updated to the latest version of all the dependencies, and updated th…
Oct 25, 2012
65123ff
Added a travis config.
Oct 26, 2012
6788669
Testing travis-ci.
Oct 26, 2012
65917da
Testing travis-ci part 2.
Oct 26, 2012
5689d32
Changed the email notifications for Travis CI.
Oct 26, 2012
b9847fa
More travis.yml updates.
Oct 26, 2012
1653057
Reorganized/rewrote the library to better conform to bitcoind's inter…
Nov 4, 2012
73eb8b2
Made the travis build generate haddocks.
Nov 4, 2012
754fb3c
Made the travis build generate haddocks.
Nov 4, 2012
6ac300e
Fixed up the haddocks.
Nov 4, 2012
d45c5e9
Added tested-with clauses.
Nov 4, 2012
cd331a7
Merge branch 'master' of git://github.com/mndrix/network-bitcoin
Nov 4, 2012
99af85d
Slightly prettier cabal intro.
Nov 4, 2012
fca657b
Buildable on 12.04 LTS without breaking Yesod
Jan 16, 2013
2532b6e
typo
Mar 19, 2013
4c76fda
it's "getAddressesByAccount"
Mar 19, 2013
595fd7a
use aeson 0.6.1's Fixed instances, removing need for WrappedBTC
Mar 19, 2013
48802f5
remove unnecessary attoparsec dependency
Mar 19, 2013
00e2620
remove unnecessary unordered-containers dependency
Mar 19, 2013
5437bf0
Merge pull request #1 from vindico/master
Mar 20, 2013
918c58e
Version number bump.
Mar 20, 2013
b82c92f
Actually fix "getaddressesbyaccount" RPC call
Mar 20, 2013
9f1ee3d
Restore support for bytestring 0.9, to fix compilation alongside Yeso…
Mar 21, 2013
1d8db04
Add missing fields for HashData returned from getWork
c00w Mar 21, 2013
e8645e2
Add toJSON instance to hashdata
c00w Mar 21, 2013
aa4c1f2
Merge pull request #2 from c00w/master
Mar 21, 2013
d0e708f
Added a changelog, and released v1.1.0.
Mar 21, 2013
d2201a3
Fix parsing of data about connected peers.
ericpashman May 6, 2013
f73602b
Version bump.
May 6, 2013
4b62dca
Fixed implementation of the `getinfo` API call.
ericpashman May 18, 2013
da2c3cd
Merge pull request #4 from gloucester/master
May 18, 2013
f4ae683
A first attempt to fix issue #5.
May 18, 2013
5a089d8
Merge branch 'master' of github.com:wowus/network-bitcoin
May 18, 2013
ade4773
The rest of the fixes for #5, if necessary.
May 18, 2013
06ed3b1
Version bump.
May 18, 2013
c0efdbf
Merge branch 'master' of https://github.com/paulrzcz/network-bitcoin
May 20, 2013
74ce536
Fixed #7.
Jul 22, 2013
296a594
Version bump.
Jul 22, 2013
05b54bb
Added testing stub.
schell Sep 12, 2013
6708880
Added stub test.
schell Sep 12, 2013
4aa9798
Added IO Test stub.
schell Sep 12, 2013
76c966e
Removed test-framework.
schell Sep 12, 2013
380e7d3
added output address to UnspentTransaction
schell Sep 13, 2013
530d44b
Added a test.
schell Sep 13, 2013
ff391b1
Updated types and GetOutputInfo parsing, though still erring.
schell Sep 13, 2013
a7dea60
Fixes #8, in that `getOutputInfo` no longer errors.
schell Sep 21, 2013
a839104
Merge pull request #9 from schell/issue-8
Sep 24, 2013
1b9f5f3
Merge branch 'master' of github.com:wowus/network-bitcoin
Sep 24, 2013
c802ab3
++gitignore for latest cabal
Sep 24, 2013
078a253
version bump
Sep 24, 2013
77c7123
Fix #11.
Nov 20, 2013
c8c0457
Added mising unNils.
Nov 21, 2013
cddcc4d
remove outdated dependency
Dec 18, 2013
888e504
Removed dependency on old version of Aeson
michaelbeaumont Mar 1, 2014
187cc38
Added upper bound
michaelbeaumont Mar 1, 2014
baac8fc
Merge pull request #13 from michaelbeaumont/aeson_vers_issue12
Mar 6, 2014
11eca1c
Added experimental support for method "listsinceblock".
Apr 26, 2014
db3818e
Delete Bitcoin.hs~
gxtaillon Apr 26, 2014
8441bd0
Delete Wallet.hs~
gxtaillon Apr 26, 2014
ae9b93f
Added a type for SinceBlockTransaction's category, TransactionCategory.
gxtaillon Apr 28, 2014
b5042f7
Merge pull request #14 from MomemtumMori/prototype-listSinceBlock
Apr 28, 2014
2eb40f7
version bump + release
Apr 28, 2014
eb4e77f
Added listTransactions (very experimental).
gxtaillon Apr 28, 2014
c317f02
Added listAccounts.
gxtaillon Apr 29, 2014
c712cab
Refactor of Transactions in Wallet.
gxtaillon Apr 29, 2014
1ae0452
Refactor of Transactions in Wallet.
gxtaillon Apr 29, 2014
ec73dda
Merge branch 'missingMethods' of https://github.com/MomemtumMori/netw…
gxtaillon Apr 29, 2014
448f298
Added getTransaction.
gxtaillon May 1, 2014
93c0850
Fixed naming to improve consistency.
gxtaillon May 1, 2014
a8fb288
Simplified listAccounts.
gxtaillon May 1, 2014
3c5be7b
Added methods for optional arguments of the api.
gxtaillon May 1, 2014
125119d
Changed Transaction times from Integer to POSIXTime.
gxtaillon May 2, 2014
df88a4f
Merge pull request #15 from MomemtumMori/missingMethods
May 4, 2014
df2cee1
cleanup
May 4, 2014
64b6687
major version bump
May 4, 2014
380da9a
modify API to reuse HTTP connections via Manager
dlomsak Jan 1, 2015
2535213
Merge pull request #17 from dlomsak/master
Jan 3, 2015
74f72fe
Fix boolean parsing in signrawtransaction response
charlescharles Feb 8, 2015
f3bbfc6
Rewrite `getClient` to remove `fromJust` and expose `InvalidUrlExcept…
ericpashman Feb 10, 2015
5770b45
Merge pull request #19 from charlescharles/master
Feb 10, 2015
5548aac
Merge pull request #20 from ericpashman/master
Feb 10, 2015
f7c82ac
version bump
Feb 10, 2015
2bc1de2
Fixed changePassword
runjak Apr 1, 2015
099fbad
Merge pull request #21 from runjak/master
Apr 1, 2015
1afdf4b
little update + version bump
Apr 1, 2015
50bc006
Fixed setGenerate in regtest mode
runjak Apr 3, 2015
7c45454
Merge pull request #22 from runjak/master
Apr 3, 2015
89a3b29
bump minor version
Apr 3, 2015
636facc
Bugfix in sendMany
runjak Apr 7, 2015
fe88aa1
Merge pull request #23 from runjak/master
Apr 7, 2015
4fe4a12
version bump
Apr 7, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@
.project
Setup.hs
dist/
cabal-dev/
network-bitcoin-tests
cabal.sandbox.config
.cabal-sandbox/
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: haskell
notifications:
email:
- cg.wowus.cg@gmail.com
on_success: always
on_failure: always
install:
- cabal install --only-dependencies
- cabal configure
- cabal build
- cabal haddock
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1.1.0

* Added missing HashData fields
* Added a ToJSON instance for HashData
* Fixed getAddressesByAccount
4 changes: 4 additions & 0 deletions Setup.lhs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env runhaskell

> import Distribution.Simple
> main = defaultMain
128 changes: 57 additions & 71 deletions network-bitcoin.cabal
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
-- network-bitcoin.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name: network-bitcoin

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version: 0.1.5

-- A short (one-line) description of the package.
Synopsis: Interface with Bitcoin RPC

-- A longer description of the package.
Version: 1.8.1
Synopsis: An interface to bitcoind.
Description:
This can be used to send Bitcoins, query balances, etc. It
requires the Bitcoin daemon to be running and accessible via
Expand All @@ -27,77 +15,75 @@ Description:
> auth = Auth "http://127.0.0.1:8332" "user" "password"
.
To learn more about Bitcoin, see <http://www.bitcoin.org>.
.
Changes in v0.1.5
.
- Correct aeson dependency
.
Changes in v0.1.4
.
- More accurate conversion of Bitcoin amounts from floating point

-- The license under which the package is released.
License: BSD3

-- The file containing the license text.
License-file: LICENSE

-- The package author(s).
Author: Michael Hendricks <michael@ndrix.org>

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer: Clark Gaebel <cg.wowus.cg@gmail.com>

Stability: experimental
Homepage: http://github.com/mndrix/network-bitcoin
Bug-reports: http://github.com/mndrix/network-bitcoin/issues

-- A copyright notice.
Copyright: Copyright 2011, Michael Hendricks

Clark Gaebel <cgaebel@uwaterloo.ca>
Maintainer: Clark Gaebel <cgaebel@uwaterloo.ca>
Stability: experimental
Homepage: http://github.com/wowus/network-bitcoin
Bug-reports: http://github.com/wowus/network-bitcoin/issues
Copyright: 2012 Michael Hendricks <michael@ndrix.org>
2013 Clark Gaebel <cgaebel@uwaterloo.ca>
Stability: experimental
Homepage: http://github.com/mndrix/network-bitcoin
Bug-reports: http://github.com/wowus/network-bitcoin/issues
Category: Network

Build-type: Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:

-- Constraint on the version of Cabal needed to build this package.
Cabal-version: >=1.8

tested-with: GHC ==7.4.1, GHC ==7.6.2, GHC ==7.6.3

Library
hs-source-dirs: src
ghc-options: -Wall -fno-warn-unused-binds -fno-warn-incomplete-patterns
ghc-options: -Wall

-- Modules exported by the library.
Exposed-modules:
Network.Bitcoin
Network.Bitcoin.Address

-- Packages needed in order to build this package.
Build-depends:
aeson == 0.3.*,
attoparsec >= 0.7,
bytestring >= 0.9,
containers >= 0.4,
Network.Bitcoin.BlockChain
Network.Bitcoin.Dump
Network.Bitcoin.Internal
Network.Bitcoin.Mining
Network.Bitcoin.Net
Network.Bitcoin.RawTransaction
Network.Bitcoin.Types
Network.Bitcoin.Wallet

Build-depends:
aeson >= 0.8,
bytestring >= 0.9 && < 0.11,
cookie >= 0.4,
attoparsec == 0.12.*,
unordered-containers >= 0.2,
HTTP >= 4000,
http-types >= 0.8.5,
network >= 2.3,
text >= 0.11,
base == 4.*

-- Modules not exported by this package.
-- Other-modules:

-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools:
vector >= 0.10,
base == 4.*,
time >= 1.4.2,
http-client >= 0.4.6

Test-suite test-main
type: exitcode-stdio-1.0
main-is: test-main.hs

Source-repository head
type: git
location: git://github.com/mndrix/network-bitcoin.git
type: git
location: git://github.com/wowus/network-bitcoin.git

Executable network-bitcoin-tests
hs-source-dirs: src
ghc-options: -Wall
main-is: Test/Main.hs
build-depends:
aeson >= 0.8,
bytestring >= 0.9 && < 0.11,
cookie >= 0.4,
attoparsec == 0.12.*,
unordered-containers >= 0.2,
HTTP >= 4000,
http-types >= 0.8.5,
network >= 2.3,
text >= 0.11,
vector >= 0.10,
base == 4.*,
time >= 1.4.2,
QuickCheck >= 2.6,
http-client >= 0.4.6,
network-bitcoin
Loading