Commits

evhan committed d3bde6a

separate module requires & imports

Comments (0)

Files changed (1)

 ;;; placed in the Public Domain. All warranties are disclaimed.
 ;;;
 
-(make-bitcoind-connection
- bitcoind-connection-uri
- bitcoind-connection?
- bitcoind-request
- ;; API calls
- addmultisigaddress
- backupwallet
- createrawtransaction
- decoderawtransaction
- dumpprivkey
- encryptwallet
- getaccount
- getaccountaddress
- getaddressesbyaccount
- getbalance
- getblock
- getblockcount
- getblockhash
- getblocknumber
- getconnectioncount
- getdifficulty
- getgenerate
- gethashespersec
- getinfo
- getmemorypool
- getmininginfo
- getnewaddress
- getpeerinfo
- getrawmempool
- getrawtransaction
- getreceivedbyaccount
- getreceivedbyaddress
- gettransaction
- getwork
- help
- importprivkey
- keypoolrefill
- listaccounts
- listreceivedbyaccount
- listreceivedbyaddress
- listsinceblock
- listtransactions
- listunspent
- move
- sendfrom
- sendmany
- sendrawtransaction
- sendtoaddress
- setaccount
- setgenerate
- signmessage
- signrawtransaction
- settxfee
- stop
- validateaddress
- verifymessage
- walletlock
- walletpassphrase
- walletpassphrasechange)
+(require-library medea uri-common http-client)
 
-(import scheme chicken ports data-structures)
-(use medea uri-common http-client)
+(module bitcoin ()
+  (import scheme chicken ports data-structures)
+  (import medea uri-common http-client)
+  (export make-bitcoind-connection
+          bitcoind-connection-uri
+          bitcoind-connection?
+          bitcoind-request
+          ;; API calls
+          addmultisigaddress
+          backupwallet
+          createrawtransaction
+          decoderawtransaction
+          dumpprivkey
+          encryptwallet
+          getaccount
+          getaccountaddress
+          getaddressesbyaccount
+          getbalance
+          getblock
+          getblockcount
+          getblockhash
+          getblocknumber
+          getconnectioncount
+          getdifficulty
+          getgenerate
+          gethashespersec
+          getinfo
+          getmemorypool
+          getmininginfo
+          getnewaddress
+          getpeerinfo
+          getrawmempool
+          getrawtransaction
+          getreceivedbyaccount
+          getreceivedbyaddress
+          gettransaction
+          getwork
+          help
+          importprivkey
+          keypoolrefill
+          listaccounts
+          listreceivedbyaccount
+          listreceivedbyaddress
+          listsinceblock
+          listtransactions
+          listunspent
+          move
+          sendfrom
+          sendmany
+          sendrawtransaction
+          sendtoaddress
+          setaccount
+          setgenerate
+          signmessage
+          signrawtransaction
+          settxfee
+          stop
+          validateaddress
+          verifymessage
+          walletlock
+          walletpassphrase
+          walletpassphrasechange)
 
 (define-record bitcoind-connection uri)