Bitcoin Forum
May 08, 2024, 11:13:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Haskell interface to Bitcoin RPC  (Read 2699 times)
mndrix (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


View Profile
November 11, 2011, 10:18:55 PM
 #1

I've created a Haskell module for interfacing with Bitcoin's JSON RPC.  You can find Network.Bitcoin on Hackage.  That page links to the source at GitHub.  Hackage hasn't generated the module's documentation yet, but it should appear within the next 24 hours.

Some of the most commonly used RPC methods have convenient wrappers.  For all others, you have to use a lower level function.  The Hackage page gives some brief sample code.  If you want more, just ask.

You can post bugs here or on the GitHub issue tracker.
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715166832
Hero Member
*
Offline Offline

Posts: 1715166832

View Profile Personal Message (Offline)

Ignore
1715166832
Reply with quote  #2

1715166832
Report to moderator
1715166832
Hero Member
*
Offline Offline

Posts: 1715166832

View Profile Personal Message (Offline)

Ignore
1715166832
Reply with quote  #2

1715166832
Report to moderator
mndrix (OP)
Michael Hendricks
VIP
Sr. Member
*
Offline Offline

Activity: 447
Merit: 258


View Profile
January 13, 2012, 08:01:58 PM
 #2

The latest version (v0.15) fixes a bug in the conversion from Bitcoin RPC's floating point numbers to the module's internal fixed point calculations.  I recommend upgrading.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!