blockcypher / blockcypher-python

Python library for the BlockCypher web services

Home Page:https://www.blockcypher.com/dev/bitcoin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatic network detection function, possible?

wizardofozzie opened this issue · comments

See my pybitcointools code, which did away with manually setting testnet for all cases (blockhash, address, utxo txid) except pushtx

Or, at the most basic, IMO a global flag should be able to be set, which is trivial. The conventions for btc/main / btc/test3 / etc may seem straightforward, but IMO it is cumbersome

What exactly are you proposing?

My guess is that > 90% of the users of this library are using btc, which is automatically set as the default for all methods.

Closing due to lack of activity.