You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes ago I developed a machine that validate my ots file, that return true/false if the validation worked well.
Now =I'm tested that code, and i receive this response:
Could not connect to local Bitcoin node
Could not connect to local Bitcoin node
Could not connect to local Bitcoin node
Insight response error: RequestError: Error: getaddrinfo ENOTFOUND btc-bitcore4.trezor.io btc-bitcore4.trezor.io:443
Insight response error: RequestError: Error: getaddrinfo ENOTFOUND btc-bitcore1.trezor.io btc-bitcore1.trezor.io:443
Insight response error: RequestError: Error: getaddrinfo ENOTFOUND btc-bitcore1.trezor.io btc-bitcore1.trezor.io:443
Insight response error: RequestError: Error: getaddrinfo ENOTFOUND btc-bitcore4.trezor.io btc-bitcore4.trezor.io:443
Insight response error: RequestError: Error: getaddrinfo ENOTFOUND btc-bitcore1.trezor.io btc-bitcore1.trezor.io:443
Insight response error: RequestError: Error: getaddrinfo ENOTFOUND btc-bitcore4.trezor.io btc-bitcore4.trezor.io:443
Insight response error: StatusCodeError: 404 - "endpoint does not exist \"/block-index/581162\""
Insight response error: StatusCodeError: 404 - "endpoint does not exist \"/block-index/581162\""
Insight response error: StatusCodeError: 404 - "endpoint does not exist \"/block-index/581162\""
Insight response error: StatusCodeError: 525 - "<html>\r\n<head><title>525 Origin SSL Handshake Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>525 Origin SSL Handshake Error</h1></center>\r\n<hr><center>cloudflare-nginx</center>\r\n</body>\r\n</html>\r\n"
Insight response error: StatusCodeError: 526 - "<html>\r\n<head><title>526 Origin SSL Certificate Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>526 Origin SSL Certificate Error</h1></center>\r\n<hr><center>cloudflare-nginx</center>\r\n</body>\r\n</html>\r\n"
Insight response error: StatusCodeError: 526 - "<html>\r\n<head><title>526 Origin SSL Certificate Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>526 Origin SSL Certificate Error</h1></center>\r\n<hr><center>cloudflare-nginx</center>\r\n</body>\r\n</html>\r\n"
Insight response error: StatusCodeError: 526 - "<html>\r\n<head><title>526 Origin SSL Certificate Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>526 Origin SSL Certificate Error</h1></center>\r\n<hr><center>cloudflare-nginx</center>\r\n</body>\r\n</html>\r\n"
Insight response error: StatusCodeError: 525 - "<html>\r\n<head><title>525 Origin SSL Handshake Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>525 Origin SSL Handshake Error</h1></center>\r\n<hr><center>cloudflare-nginx</center>\r\n</body>\r\n</html>\r\n"
Insight response error: StatusCodeError: 404 - "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.14.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"
Insight response error: StatusCodeError: 404 - "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.14.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"
Insight response error: StatusCodeError: 404 - "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.14.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"
Insight response error: StatusCodeError: 525 - "<html>\r\n<head><title>525 Origin SSL Handshake Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>525 Origin SSL Handshake Error</h1></center>\r\n<hr><center>cloudflare-nginx</center>\r\n</body>\r\n</html>\r\n"
bitcoin block height 581162 not found
If with the same file I try a validation on https://opentimestamps.org all works well, and the response is about the same block that not found on my machine. This is the response of https://opentimestamps.org:
Bitcoin block 581162 attests existence as of 2019-06-17 CEST
My ots-cli.js is 0.4.3 version, and I sure that my code was worked time ago. Do you have some advice to fix it? Thanks to all.
The text was updated successfully, but these errors were encountered:
OpenTimestamps proof verification needs to check the bitcoin block merkle root at the attested height matches the one committed in the proof.
The best way of doing so is to check against a local running bitcoin node that properly verified the blockchain. However, this is not possible in the browser, so the javascript library implements a "light-client" verification: if it doesn't find or can't connect to a local bitcoin node it asks an online block-explorer (trading security for ease-of-use).
Version 0.4.3 used insight as block explorer that apparently is no longer running. So your options are:
use a local bitcoin node
upgrade the client version, recent versions use Blockstream block explorer
Hi there,
sometimes ago I developed a machine that validate my ots file, that return true/false if the validation worked well.
Now =I'm tested that code, and i receive this response:
If with the same file I try a validation on https://opentimestamps.org all works well, and the response is about the same block that not found on my machine. This is the response of https://opentimestamps.org:
Bitcoin block 581162 attests existence as of 2019-06-17 CEST
My ots-cli.js is 0.4.3 version, and I sure that my code was worked time ago. Do you have some advice to fix it? Thanks to all.
The text was updated successfully, but these errors were encountered: