I am writing an web application using Python/Flask. I am using
http://laanwj.github.com/bitcoin-python/doc/
to connect to my bitcoind 0.7.2 server as follows:
conn = bitcoinrpc.connect_to_local()
accounts = conn.listaccounts(0)
This is all working well. However, when I attempt to use some of the newer raw transaction calls, I get an error. For example,
raw_transaction = conn.getrawtransaction(txid)
results in the following error:
AttributeError: 'BitcoinConnection' object has no attribute 'getrawtransaction'
It seems (though I am not sure) that the methods that don't work for me are those that are listed here:
https://en.bitcoin.it/wiki/Raw_Transactions
Thanks to anyone who can help on this.