Alternative for rpc_connection.batch_(commands) method

Alternative for rpc_connection.batch_(commands) method

I want some alternative method for rpc_connection.batch_(commands) to get the bitcoin blocks and transactions data. I have below code in python3 but I want to use different method.

commands = [ [ "getblockhash", height] for height in range(rangestart,rangeend) ]
block_hashes = rpc_connection.batch_(commands)

Can somebody help with this question? I also want some bitcoind rpc documentation links.

http://bit.ly/2Rer7dt

Comments

Popular posts from this blog

What exactly is a block?

how a system based on a blockchain would deal with exponential growth of informations carried in it?

Do extra hop channels in a BOLT#11 invoice need to exist on chain?