Giter Site home page Giter Site logo

byteball / obyte-explorer Goto Github PK

View Code? Open in Web Editor NEW
6.0 5.0 20.0 742 KB

View the DAG and all public transactions https://explorer.obyte.org

Home Page: https://explorer.obyte.org

License: MIT License

JavaScript 100.00%
cryptocurrency dag directed-acyclic-graph distributed-ledger-technology dlt

obyte-explorer's Introduction

Obyte explorer backend

Backend for https://github.com/byteball/obyte-explorer-frontend

Installation

Install node.js 10+, clone the repository, then

  1. yarn
  2. node migration.js

Run

node explorer.js

Nginx config

server {
	listen 80;
	server_name localhost;

	location / {
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection "upgrade";
		proxy_pass http://127.0.0.1:4000;
	}

	location ~ \.(js|ico|css|png) {
		root /path/to/dist;
	}
}

By default, the explorer will be available at http://localhost:4000

obyte-explorer's People

Contributors

kaiurin avatar kakysha avatar papabyte avatar tarmo888 avatar temikng avatar tonyofbyteball avatar xjenekx avatar xmarioinc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

obyte-explorer's Issues

Uncaught TypeError: Cannot read property 'rowid' of undefined

Headless-node synced to 3.7 mill chain, but in explorer still nothing.
And in console i got error:

Uncaught TypeError: Cannot read property 'rowid' of undefined
    at init (main.js?v14:15)
    at n.<anonymous> (main.js?v14:674)
    at n.emit (universalModuleDefinition:2)
    at n.onevent (universalModuleDefinition:3)
    at n.onpacket (universalModuleDefinition:3)
    at n.<anonymous> (universalModuleDefinition:3)
    at n.emit (universalModuleDefinition:2)
    at n.ondecoded (universalModuleDefinition:1)
    at s.<anonymous> (universalModuleDefinition:3)
    at s.r.emit (universalModuleDefinition:1)

capture

response: error: old core

When i run explorer - i see nothing in browser - i describe it here #20

Also in logs i see this with error:

Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): RECEIVED ["response",{"tag":"J4zGOVZ2WwC2Vkj/YNLQPJqBdfWw4htDVNjwbNUTLNU=","response":{"error":"old core"}}] from wss://byteball.org/bb

Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): already connecting to wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): will insert peer wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): connected to wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): outbound peers:
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): connected to wss://byteball.org/bb, host byteball.org
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): SENDING ["justsaying",{"subject":"version","body":{"protocol_version":"1.0","alt":"1","library":"byteballcore","library_version":"0.2.88","
program":"byteball-explorer","program_version":"0.1.0"}}] to wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): second open wss://byteball.org/bb, err=undefined
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): SENDING ["request",{"command":"subscribe","params":{"subscription_id":"a+JlgAZdT85IcMnv/TLMsBFWY8O8Q1jlNqIPZnRv","last_mci":0},"tag":"J4zGO
VZ2WwC2Vkj/YNLQPJqBdfWw4htDVNjwbNUTLNU="}] to wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): RECEIVED ["justsaying",{"subject":"version","body":{"protocol_version":"1.0","alt":"1","library":"byteballcore","library_version":"0.2.93",
"program":"byteball-hub","program_version":"0.1.5"}}] from wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): RECEIVED ["justsaying",{"subject":"hub/challenge","body":"lvv3AUkSg9yhYT+wlJi9o4zG6qHnGJ3XaNWmwe7A"}] from wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): RECEIVED ["request",{"command":"subscribe","params":{"subscription_id":"Gs1nh7+/29SCOAQOpONmA+qB7J1gi1V9z7qutmfv","last_mci":3733140,"libra
ry_version":"0.2.93"},"tag":"NEBJL+seT08/oTzaNdp/MMcXFUBeTgsDaZ+5AfL6V7I="}] from wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): SENDING ["response",{"tag":"NEBJL+seT08/oTzaNdp/MMcXFUBeTgsDaZ+5AfL6V7I=","response":"subscribed"}] to wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): SENDING ["justsaying",{"subject":"free_joints_end","body":null}] to wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): RECEIVED ["justsaying",{"subject":"upgrade_required"}] from wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): RECEIVED ["response",{"tag":"J4zGOVZ2WwC2Vkj/YNLQPJqBdfWw4htDVNjwbNUTLNU=","response":{"error":"old core"}}] from wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): close event, removing 0: wss://byteball.org/bb
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): websocket closed, will complete all outstanding requests
Fri Nov 09 2018 09:20:20 GMT+0000 (UTC): 0 incoming connections, 0 outgoing connections, 0 outgoing connections being opened

What is wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.