bitpay / insight

A bitcoin blockchain explorer and API
https://insight.bitpay.com/
MIT License
1.19k stars 1.11k forks source link

can you tell me how to deploy bch-insight ? I need it . #945

Open zhousi666 opened 6 years ago

zhousi666 commented 6 years ago

hi, all , can you tell me how to deploy bch-insight ? I need it . can you gave me a documents?

qshuai commented 6 years ago

Same to you!

zhousi666 commented 6 years ago

@kleetus

zhousi666 commented 6 years ago

@alwaysAn0n can you help me ?

alwaysAn0n commented 6 years ago

@linzhoushi2017 Sadly I cannot. I saw your thread in Bitcoin-ABC though. Since the issue doesn't really belong on that repo, I'll answer it here (it doesn't really belong here either though).
With regards to

[2018-06-08T08:49:59.993Z] info: ::ffff:172.31.3.190 "GET /insight-api/block/0000000000000000003b421398b983ff7b7cdb49f07b799dcf28e6026e118971" 304 - 407.354 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36" 
[2018-06-08T08:50:00.319Z] error: uncaught exception: Error: Non-base58 character

It looks like a character parsing issue in insight-api . I would compare the insight-api version being used in bitcore and compare that against the most recent stable version of insight-api. You might need to swap them.

Also, I think the best place for you to seek help about this is bitpay/bitcore or bitpay/insight-api. Good luck

zhousi666 commented 6 years ago

@alwaysAn0n My dependencies of "insight-api" version is "^0.4.3", It is the latest release version. I think it was because of Bitcoin cash (BCH) address upgrade that caused all this error, but I didn't find a specific solution.I am looking for help everywhere.

phewitt commented 6 years ago

You can just trick it if you set usecashaddr=0 in the bitcoin.conf this basically changes the node to still use legacy address format