Fix contract_count not inserted in db

This commit is contained in:
tecnovert
2020-11-07 13:08:07 +02:00
parent 5d84d54e6f
commit acae8b4de3
20 changed files with 880 additions and 202 deletions

View File

@@ -46,6 +46,7 @@ known_coins = {
'litecoin': '0.18.1',
'bitcoin': '0.20.1',
'namecoin': '0.18.0',
'monero': '0.17.0.1',
}
logger = logging.getLogger()
@@ -124,6 +125,15 @@ def prepareCore(coin, version, settings, data_dir):
os_dir_name = 'linux'
os_name = 'linux'
if coin == 'monero':
url = 'https://downloads.getmonero.org/cli/monero-linux-x64-v${}.tar.bz2'.format(version)
release_path = os.path.join(bin_dir, release_filename)
if not os.path.exists(release_path):
downloadFile(release_url, release_path)
raise ValueError('TODO')
release_filename = '{}-{}-{}'.format(coin, version, BIN_ARCH)
if coin == 'particl':
signing_key_name = 'tecnovert'