Initial adapt from Blockexplorer Bitcoin Blockchain to Smartcash Blockchain
You can execute example.py. Config values in config.py if you want
The module consists of the following sub-modules:
blockexplorer(docs) ([api/blockchain_api][api1])createwallet(docs) ([api/create_wallet][api2]) # Not adaptedexchangerates(docs) ([api/exchange_rates_api][api3]) Not adaptedpushtx(docs) ([pushtx][api7]) Not adaptedv2.receive(docs) ([api/api_receive][api4]) Not adaptedstatistics(docs) ([api/charts_api][api5]) Not adaptedwallet(docs) ([api/blockchain_wallet_api][api6]) Not adapted
All functions may raise exceptions caused by incorrectly passed parameters or other problems. If a call is rejected server-side, the APIException exception will be raised.
DEBUG = True 'if you want see all procesing'
TIMEWAITTORETRY=30 'time to retry case server doesnot response'
BLOQUEINICIO=438286 'Block where start to search'
HASTABLOQUE=BLOQUEINICIO+50000 '#Until blocks'
VALORMAX=8000000 'Mark all blocks which amount is upper to VALORMAX'
BASE_URL = "https://smart.ccore.online" 'explorer'
TIMEOUT_URL = 100 ' timeout http request'
TIME_SLEEP_REQUEST=1 'Time to sleep case server ban for ddos'