Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

add network option for EtherScan subprovider #62

Merged
merged 8 commits into from
Apr 14, 2016

Conversation

SilentCicero
Copy link

Switch between 'livenet' and morden 'testnet' etherscan apis.

"network" subprovider option:
"api" => live net (homestead network)
"testnet" => testnet (morden test network)

Add method support for "GET"/"POST".

Add "retryFailed" for retrying rate limited requests.

Also added in "interval" and "times" for handling the requests in a queue. This way we dont go over rate limiting.

It's hackey, but it works.

@axic would love opinions on this

=D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants