openware / opendax

Open-Source Cloud-Native Digital Asset & Cryptocurrency Exchange Platform
https://www.openware.com/products/opendax
Apache License 2.0
614 stars 534 forks source link

Parity Setup up #131

Closed cleardex closed 4 years ago

cleardex commented 4 years ago

Hello, I noticed the testnet or Kovan loads instantly (a few seconds with the following setup) in compose/cryptonodes.yaml

parity: image: parity/parity:v2.5.13-stable restart: always command: | --chain=kovan --mode=active --interface=all --warp=true --snapshot-peers=10 --min-peers=5 --max-peers=10 --jsonrpc-interface=0.0.0.0 --jsonrpc-cors=all --jsonrpc-hosts=all --jsonrpc-apis=all --db-compaction=ssd volumes:

However, changing to mainnet stays on Block 0 height forever

parity: image: parity/parity:v2.5.13-stable restart: always command: | --chain=mainnet --mode=active --interface=all --warp=true --snapshot-peers=10 --min-peers=5 --max-peers=10 --jsonrpc-interface=0.0.0.0 --jsonrpc-cors=all --jsonrpc-hosts=all --jsonrpc-apis=all --db-compaction=ssd volumes:

Is there a bug in your system?

Shreybhardwaj97 commented 4 years ago

Hi I've same question on this one. I was trying to add new cryptocurrency and started with the Bitcoin network. But configuration is not available. Is there any Document which we can follow and make it running for other currencies as well?

mikoim commented 4 years ago

@Shreybhardwaj97 Refer to these templates. You should create a new entry at blockchain, currency, and wallets. https://github.com/openware/opendax/tree/2-3-stable/templates/config/peatio/seed

Shreybhardwaj97 commented 4 years ago

@mikoim Thank-you very much for your help . I have one question is necessary to run the peatio locally and then configure it in App.yml or the quay.io image will also work fine for the new crypt-currencies?

Because I tried to set up the currencies it is not supporting the configuration.

Shreybhardwaj97 commented 4 years ago

Hi I'm getting an error when ssh to docker-compose exec peatio bash

curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"personal_newAccount","params":["passphrase"],"id":42}' parity:8545

curl: (6) Could not resolve host: parity

lekabyte commented 4 years ago

when i start docker container i get error...

parity_1                   | Option '--warp' does nothing. It's on by default.
parity_1                   | Error upgrading parity data: CannotCreateConfigPath(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })
parity_1                   | Option '--warp' does nothing. It's on by default.
parity_1                   | Error upgrading parity data: CannotCreateConfigPath(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })
parity_1                   | Option '--warp' does nothing. It's on by default.
parity_1                   | Error upgrading parity data: CannotCreateConfigPath(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })

also looks like --warp version is is enough. is it mendatory to use full node?

eliudrojas commented 4 years ago

Somebody could help me with this error:

parity_1 | Option '--warp' does nothing. It's on by default. parity_1 | Error upgrading parity data: CannotCreateConfigPath(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })

ThemeMetro commented 2 years ago

Somebody could help me with this error:

parity_1 | Option '--warp' does nothing. It's on by default. parity_1 | Error upgrading parity data: CannotCreateConfigPath(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })

did you able to fix?