bitpay / insight Goto Github PK
View Code? Open in Web Editor NEWA bitcoin blockchain explorer and API
Home Page: https://insight.bitpay.com/
License: MIT License
A bitcoin blockchain explorer and API
Home Page: https://insight.bitpay.com/
License: MIT License
On page: http://live.bitcore.io/status
in the right Bitcoin node information box, it has the mining difficulty parameter duplicated.
Most mining pools leave a fairly obvious message in the coinbase of the block which allows for a "mined by" field. I've compiled a portion of the ones I'm aware of below, these can be used verbatim and match exactly with the coinbase itself.
ASICminer: Mined By ASICMiner
Bitparking: bitparking
BitMinter: BitMinter
BTCGuild: Mined by BTC Guild
BTC Guild
Discus Fish: 七彩神仙鱼
Made in China
Mined by user
Discus Fish Solo: For Pierce and Paul
Eligius: Eligius
EclipseMC: EMC EU
EclipseMC
Aluminum Falcons
50BTC: Hi from 50BTC.com
GHash.io: ghash.io
GHash.IO
HHTT: HHTT
Megabigpower: megabigpower.com
175btc.com: Mined By 175btc.com
Ozcoin: ozcoin
ozco.in
Polmine: by polmine.pl
Triplemining: Triplemining.com
Slush: slush
If this features gets implemented I'm happy to put in the time to complete this dataset, at a glance there's over 100 total pools that can be detected and displayed in this way. Logically it would be shown in the block view along with other data. The early Eligius coinbases are problematic unfortunately, to detect them would require some sort of scripture-detecting heuristic, @luke-jr hasn't made things easy in that respect.
Visiting this URL pegs the browser CPU usage (on Safari):
http://live.bitcore.io/address/19Hu6S1vWueka1jy9nc4aP7ik1PS2vWvgw
It would be nice to be able to click on the top bar of every transaction and collapse all the addresses so that one can easily scroll through dates and transactions. Maybe make it collapsable by clicking between the copy button and the "first seen..." string. By collapsible, I mean making only the TXID line visible and hiding the addresses involved (especially with 1enjoy and 1sochi funny guys).
Also changing the tool tip when hovering over the '+' from "show/hide item details" to "show/hide address details" or "show/hide transaction details" would help clear up potential ambiguity.
current search experience is:
http://live.bitcore.io/address/1F9Lrr1m22W1x4hT3bmTWJoKVQxFDPRFm
Rather than putting "There are not transactions" we could put "There are no transactions involving this address."
Every output is showing that it is "unspent" after pulling latest source and restarting insight.
We need to integrate this analytics code in the <head>
section of all public websites related to insight:
<script type="text/javascript">
window.analytics||(window.analytics=[]),window.analytics.methods=["identify","track","trackLink","trackForm","trackClick","trackSubmit","page","pageview","ab","alias","ready","group","on","once","off"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var method=window.analytics.methods[i];window.analytics[method]=window.analytics.factory(method)}window.analytics.load=function(t){var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"d2dq2ahtl5zl1z.cloudfront.net/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)},window.analytics.SNIPPET_VERSION="2.0.8",
window.analytics.load("spackxb01g");
window.analytics.page();
</script>
I'd like to be able to take an HTML snapshot of an Insight page at a point in time, programmatically, but I don't have access to executing Javascript.
Can we use HTTP content negotiation to render HTML using the same templates and data on the serverside for the first pageload, then when and if Javascript takes over, it starts live updating / using JSON?
Check out this tx:
http://live.bitcore.io/tx/7282ed7bb7e9afe3c901b24078a034c120fdca563a1a20a8d6a4defd5e250119
There are actually two inputs, both from the same address. However, the default view on insight makes it look like 0.04272155 BTC was input into the tx, when actually the 0.04272155 BTC was only from one input. The total should be 0.04272155 BTC + 0.00370171 BTC.
(Thanks Andy)
, the mouse-over on the (U) and (S) says spend / unspend instead of spent / unspent.
I went to blockchain and copied a new tx (just popped up) and pasted into insight - it took about a minute for it to be displayed (complained about the address being invalid for about a minute). Also, the invalid transaction error message persisted (continued to be displayed) even after the transaction had been found.
Steps to reproduce:
progress bar should be in 100% for max satisfaction!
It would be nice to see the most recent transactions at the top.
Click external links seems to work fine in Chrome, but in Firefox, it brings up a read box on the top of the page that says "Error! Can't connect to server." This happens with, for instance, the "github issue tracker" link on the home page.
Bootstrap templates support for "insight"
Would you like that "insight" supports plugins in the near future?
Taking ~5 minutes in my machine, and some end up with timeout
To reproduce:
$ grunt
)/home/maraoz/git/insight/app/controllers/blocks.js:122
height: info.height,
^
TypeError: Cannot read property 'height' of undefined
at /home/maraoz/git/insight/app/controllers/blocks.js:122:27
at /home/maraoz/git/insight/app/controllers/blocks.js:55:14
at /home/maraoz/git/insight/lib/BlockDb.js:147:23
at ClientRequest.<anonymous> (/home/maraoz/git/insight/node_modules/bitcore/RpcClient.js:194:7)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at Socket.socketErrorListener (http.js:1547:9)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at process._tickCallback (node.js:415:13)
Change to actual Meta title and description to directives on AngularJS.
The "copy address" button is currently a paper clip. It might be more intuitive to make it a clipboard.
http://live.bitcore.io/address/13NWdY6LzQrbwRqoWfYePiZkVY47JaEN2p
In Transaction page:
In Address Page:
Trying to set up insight, and cannot get any page to render correctly. Keep getting:
Uncaught SyntaxError: Unexpected token < vendors.min.js:1
Uncaught SyntaxError: Unexpected token < angularjs-all.min.js:1
Is there some dependency or prerequisite for angularjs that I'm not aware of?
Current solution works like this:
This could be greatly optimized by:
If you remove "css" file included from head, the website should be readable yet
Received Time is "undefined NaN, NaN NaN:NaN:NaN PM"
Everytime I run: node insight.js i get this:
info - socket.io started
Express server listening on port 3001 in development mode
[Error: Could not connect to bitcoin via RPC: connect ECONNREFUSED]
[historic_sync] ERROR: Error: Could not connect to bitcoin via RPC: connect
ECONNREFUSED
[historic_sync] ABORTED with error: Could not connect to bitcoin via RPC: connect
ECONNREFUSED
connecting to 127.0.0.1:18333
connection refused for 127.0.0.1:18333
unkown error with peer 127.0.0.1:18333 (disconnecting): Error: connect
ECONNREFUSED
disconnected from peer 127.0.0.1:18333
I have no other node processes running so I'm not sure whats up.
any insight(lol) would be helpful!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.