diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..e75ffc1ac --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: node_js +node_js: + - 'v8' +install: + - npm install diff --git a/Gruntfile.js b/Gruntfile.js index b4a383ae8..4a28090ef 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,5 +1,7 @@ 'use strict'; +// var config = require('insight-config.json'); + module.exports = function(grunt) { //Load NPM tasks @@ -10,10 +12,27 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-markdown'); grunt.loadNpmTasks('grunt-macreload'); grunt.loadNpmTasks('grunt-angular-gettext'); + grunt.loadNpmTasks('grunt-replace'); // Project Configuration grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), + replace: { + dist: { + options: { + patterns: [ + { + match: 'INSIGHT_API_PREFIX', + replacement: '<%= pkg.insightConfig.apiPrefix %>' + } + ], + usePrefix: false + }, + files: [ + {src: ['public/src/templates/api.js'], dest: 'public/src/js/services/api.js'} + ] + } + }, concat: { options: { process: function(src, filepath) { @@ -121,13 +140,13 @@ module.exports = function(grunt) { grunt.option('force', true); //Default task(s). - grunt.registerTask('default', ['watch']); + grunt.registerTask('default', ['replace', 'watch']); //Update .pot file grunt.registerTask('translate', ['nggettext_extract']); //Compile task (concat + minify) - grunt.registerTask('compile', ['nggettext_compile', 'concat', 'uglify', 'cssmin']); + grunt.registerTask('compile', ['replace', 'nggettext_compile', 'concat', 'uglify', 'cssmin']); }; diff --git a/README.md b/README.md index c9aa772dc..e88fe4f9d 100644 --- a/README.md +++ b/README.md @@ -23,24 +23,42 @@ Open a web browser to `http://localhost:3001/insight/` ## Development -To run Insight UI locally in development mode: +To build Insight UI locally: -Install bower dependencies: +``` +$ npm run build +``` + +A watch task is also available: ``` -$ bower install +$ npm run watch ``` -To compile and minify the web application's assets: +## Changing routePrefix and apiPrefix +By default, the `insightConfig` in `package.json` is: + +```json + "insightConfig": { + "apiPrefix": "insight-api", + "routePrefix": "insight" + } ``` -$ grunt compile + +To change these routes, first make your changes to `package.json`, for example: + +```json + "insightConfig": { + "apiPrefix": "api", + "routePrefix": "" + } ``` -There is a convenient Gruntfile.js for automation during editing the code +Then rebuild the `insight-ui` service: ``` -$ grunt +$ npm run build ``` ## Multilanguage support @@ -74,7 +92,7 @@ For more details about the [Insight API](https://github.com/bitpay/insight-api) ## Contribute -Contributions and suggestions are welcomed at the [Insight UI GitHub repository](https://github.com/bitpay/insight). +Contributions and suggestions are welcomed at the [Insight UI GitHub repository](https://github.com/bitpay/insight-ui). ## License diff --git a/bitcore-node/index.js b/bitcore-node/index.js index 32a3a17a1..3a046ce18 100644 --- a/bitcore-node/index.js +++ b/bitcore-node/index.js @@ -3,19 +3,13 @@ var BaseService = require('./service'); var inherits = require('util').inherits; var fs = require('fs'); +var exec = require('child_process').exec; +var pkg = require('../package.json'); var InsightUI = function(options) { BaseService.call(this, options); - if (typeof options.apiPrefix !== 'undefined') { - this.apiPrefix = options.apiPrefix; - } else { - this.apiPrefix = 'insight-api'; - } - if (typeof options.routePrefix !== 'undefined') { - this.routePrefix = options.routePrefix; - } else { - this.routePrefix = 'insight'; - } + this.apiPrefix = options.apiPrefix || 'api'; + this.routePrefix = options.routePrefix || ''; }; InsightUI.dependencies = ['insight-api']; @@ -23,8 +17,21 @@ InsightUI.dependencies = ['insight-api']; inherits(InsightUI, BaseService); InsightUI.prototype.start = function(callback) { - this.indexFile = this.filterIndexHTML(fs.readFileSync(__dirname + '/../public/index.html', {encoding: 'utf8'})); - setImmediate(callback); + + var self = this; + pkg.insightConfig.apiPrefix = self.apiPrefix; + pkg.insightConfig.routePrefix = self.routePrefix; + + fs.writeFileSync(__dirname + '/../package.json', JSON.stringify(pkg, null, 2)); + exec('cd ' + __dirname + '/../;' + + ' npm run install-and-build', function(err) { + if (err) { + return callback(err); + } + self.indexFile = self.filterIndexHTML(fs.readFileSync(__dirname + '/../public/index-template.html', {encoding: 'utf8'})); + callback(); + }); + }; InsightUI.prototype.getRoutePrefix = function() { @@ -33,27 +40,19 @@ InsightUI.prototype.getRoutePrefix = function() { InsightUI.prototype.setupRoutes = function(app, express) { var self = this; - - app.use('/', function(req, res, next){ - if (req.headers.accept && req.headers.accept.indexOf('text/html') !== -1 && - req.headers["X-Requested-With"] !== 'XMLHttpRequest' - ) { - res.setHeader('Content-Type', 'text/html'); - res.send(self.indexFile); - } else { - express.static(__dirname + '/../public')(req, res, next); - } + app.use(express.static(__dirname + '/../public')); + // if not in found, fall back to indexFile (404 is handled client-side) + app.use(function(req, res) { + res.setHeader('Content-Type', 'text/html'); + res.send(self.indexFile); }); }; InsightUI.prototype.filterIndexHTML = function(data) { - var transformed = data - .replace(/apiPrefix = '\/api'/, "apiPrefix = '/" + this.apiPrefix + "'"); - - if (this.routePrefix) { - transformed = transformed.replace(/open-source Bitcoin blockchain explorer with complete REST " "and websocket APIs that can be used for writing web wallets and other apps " "that need more advanced blockchain queries than provided by bitcoind RPC. " -"Check out the source code." msgstr "" "insight ist ein Quellcode ist auf Github zu finden." #: public/views/index.html @@ -45,7 +45,7 @@ msgid "" msgstr "" "insight befindet sich aktuell noch in der Entwicklung. " "Bitte sende alle gefundenen Fehler (Bugs) und Feedback zur weiteren " -"Verbesserung an unseren Github Issue Tracker." #: public/views/index.html diff --git a/po/es.po b/po/es.po index a59110855..90fbca58e 100644 --- a/po/es.po +++ b/po/es.po @@ -26,7 +26,7 @@ msgid "" "\"_blank\">open-source Bitcoin blockchain explorer with complete REST " "and websocket APIs that can be used for writing web wallets and other apps " "that need more advanced blockchain queries than provided by bitcoind RPC. " -"Check out the source code." msgstr "" "insight es un insight esta en desarrollo aún, por ello agradecemos que " "nos reporten errores o sugerencias para mejorar el software. Github issue " +"\"https://github.com/bitpay/insight-ui/issues\" target=\"_blank\">Github issue " "tracker." #: public/views/index.html diff --git a/po/ja.po b/po/ja.po index 5dac526be..53d31ab92 100644 --- a/po/ja.po +++ b/po/ja.po @@ -25,14 +25,14 @@ msgid "" "\"_blank\">open-source Bitcoin blockchain explorer with complete REST " "and websocket APIs that can be used for writing web wallets and other apps " "that need more advanced blockchain queries than provided by bitcoind RPC. " -"Check out the source code." msgstr "" "insightは、bitcoind RPCの提供するものよりも詳細なブロック" "チェインへの問い合わせを必要とするウェブウォレットやその他のアプリを書くのに" "使える、完全なRESTおよびwebsocket APIを備えたオープンソースのビットコインブロックエクスプローラです。ソース" +"a>です。ソース" "コードを確認" #: public/views/index.html diff --git a/public/index.html b/public/index-template.html similarity index 98% rename from public/index.html rename to public/index-template.html index 708fbe52a..c25e79c1d 100644 --- a/public/index.html +++ b/public/index-template.html @@ -66,7 +66,6 @@ Prasos Oy (2469683-1) - diff --git a/public/src/js/app.js b/public/src/js/app.js index 7ec1889a0..41966de2b 100644 --- a/public/src/js/app.js +++ b/public/src/js/app.js @@ -15,6 +15,7 @@ angular.module('insight',[ 'angularMoment', 'insight.system', 'insight.socket', + 'insight.api', 'insight.blocks', 'insight.transactions', 'insight.address', @@ -27,6 +28,7 @@ angular.module('insight',[ angular.module('insight.system', []); angular.module('insight.socket', []); +angular.module('insight.api', []); angular.module('insight.blocks', []); angular.module('insight.transactions', []); angular.module('insight.address', []); diff --git a/public/src/js/controllers/address.js b/public/src/js/controllers/address.js index 0bc0c8cbd..4524d3494 100644 --- a/public/src/js/controllers/address.js +++ b/public/src/js/controllers/address.js @@ -4,24 +4,34 @@ angular.module('insight.address').controller('AddressController', function($scope, $rootScope, $routeParams, $location, Global, Address, getSocket) { $scope.global = Global; - var socket = getSocket($scope); - - var _startSocket = function () { - socket.emit('subscribe', $routeParams.addrStr); - socket.on($routeParams.addrStr, function(tx) { - $rootScope.$broadcast('tx', tx); - var beep = new Audio('/sound/transaction.mp3'); - beep.play(); + var addrStr = $routeParams.addrStr; + + var _startSocket = function() { + socket.on('bitcoind/addresstxid', function(data) { + if (data.address === addrStr) { + $rootScope.$broadcast('tx', data.txid); + var base = document.querySelector('base'); + var beep = new Audio(base.href + '/sound/transaction.mp3'); + beep.play(); + } }); + socket.emit('subscribe', 'bitcoind/addresstxid', [addrStr]); + }; + + var _stopSocket = function () { + socket.emit('unsubscribe', 'bitcoind/addresstxid', [addrStr]); }; socket.on('connect', function() { _startSocket(); }); - $scope.params = $routeParams; + $scope.$on('$destroy', function(){ + _stopSocket(); + }); + $scope.params = $routeParams; $scope.findOne = function() { $rootScope.currentAddr = $routeParams.addrStr; diff --git a/public/src/js/controllers/currency.js b/public/src/js/controllers/currency.js index 3564b4326..cf54854a5 100644 --- a/public/src/js/controllers/currency.js +++ b/public/src/js/controllers/currency.js @@ -26,9 +26,9 @@ angular.module('insight.currency').controller('CurrencyController', } else if (this.symbol === 'bits') { this.factor = 1000000; response = _roundFloat((value * this.factor), 2); - } else { + } else { // assumes symbol is BTC this.factor = 1; - response = value; + response = _roundFloat((value * this.factor), 8); } // prevent sci notation if (response < 1e-7) response=response.toFixed(8); diff --git a/public/src/js/controllers/messages.js b/public/src/js/controllers/messages.js index 59ed59137..3c7519381 100644 --- a/public/src/js/controllers/messages.js +++ b/public/src/js/controllers/messages.js @@ -1,7 +1,7 @@ 'use strict'; angular.module('insight.messages').controller('VerifyMessageController', - function($scope, $http) { + function($scope, $http, Api) { $scope.message = { address: '', signature: '', @@ -22,7 +22,7 @@ angular.module('insight.messages').controller('VerifyMessageController', $scope.verify = function() { $scope.verification.status = 'loading'; $scope.verification.address = $scope.message.address; - $http.post(window.apiPrefix + '/messages/verify', $scope.message) + $http.post(Api.apiPrefix + '/messages/verify', $scope.message) .success(function(data, status, headers, config) { if(typeof(data.result) != 'boolean') { // API returned 200 but result was not true or false diff --git a/public/src/js/controllers/transactions.js b/public/src/js/controllers/transactions.js index 36cc7a0be..2dfb57a9e 100644 --- a/public/src/js/controllers/transactions.js +++ b/public/src/js/controllers/transactions.js @@ -185,7 +185,7 @@ function($scope, $rootScope, $routeParams, $location, Global, Transaction, Trans }); angular.module('insight.transactions').controller('SendRawTransactionController', - function($scope, $http) { + function($scope, $http, Api) { $scope.transaction = ''; $scope.status = 'ready'; // ready|loading|sent|error $scope.txid = ''; @@ -199,7 +199,7 @@ angular.module('insight.transactions').controller('SendRawTransactionController' rawtx: $scope.transaction }; $scope.status = 'loading'; - $http.post(window.apiPrefix + '/tx/send', postData) + $http.post(Api.apiPrefix + '/tx/send', postData) .success(function(data, status, headers, config) { if(typeof(data.txid) != 'string') { // API returned 200 but the format is not known diff --git a/public/src/js/services/address.js b/public/src/js/services/address.js index 556063a9a..1decea7f7 100644 --- a/public/src/js/services/address.js +++ b/public/src/js/services/address.js @@ -1,8 +1,8 @@ 'use strict'; angular.module('insight.address').factory('Address', - function($resource) { - return $resource(window.apiPrefix + '/addr/:addrStr/?noTxList=1', { + function($resource, Api) { + return $resource(Api.apiPrefix + '/addr/:addrStr/?noTxList=1', { addrStr: '@addStr' }, { get: { @@ -21,4 +21,4 @@ angular.module('insight.address').factory('Address', }); }); - \ No newline at end of file + diff --git a/public/src/js/services/api.js b/public/src/js/services/api.js new file mode 100644 index 000000000..519402f3a --- /dev/null +++ b/public/src/js/services/api.js @@ -0,0 +1,9 @@ +'use strict'; + +angular.module('insight.api') + .factory('Api', + function() { + return { + apiPrefix: '/insight-api' + } + }); diff --git a/public/src/js/services/blocks.js b/public/src/js/services/blocks.js index fb8f5d621..e10513a6a 100644 --- a/public/src/js/services/blocks.js +++ b/public/src/js/services/blocks.js @@ -2,8 +2,8 @@ angular.module('insight.blocks') .factory('Block', - function($resource) { - return $resource(window.apiPrefix + '/block/:blockHash', { + function($resource, Api) { + return $resource(Api.apiPrefix + '/block/:blockHash', { blockHash: '@blockHash' }, { get: { @@ -22,10 +22,10 @@ angular.module('insight.blocks') }); }) .factory('Blocks', - function($resource) { - return $resource(window.apiPrefix + '/blocks'); + function($resource, Api) { + return $resource(Api.apiPrefix + '/blocks'); }) .factory('BlockByHeight', - function($resource) { - return $resource(window.apiPrefix + '/block-index/:blockHeight'); + function($resource, Api) { + return $resource(Api.apiPrefix + '/block-index/:blockHeight'); }); diff --git a/public/src/js/services/global.js b/public/src/js/services/global.js index 07bd5ec6b..72cd82b9a 100644 --- a/public/src/js/services/global.js +++ b/public/src/js/services/global.js @@ -7,6 +7,6 @@ angular.module('insight.system') } ]) .factory('Version', - function($resource) { - return $resource(window.apiPrefix + '/version'); + function($resource, Api) { + return $resource(Api.apiPrefix + '/version'); }); diff --git a/public/src/js/services/socket.js b/public/src/js/services/socket.js index e82be3b3c..a8d6d35d9 100644 --- a/public/src/js/services/socket.js +++ b/public/src/js/services/socket.js @@ -39,8 +39,9 @@ ScopedSocket.prototype.on = function(event, callback) { ScopedSocket.prototype.emit = function(event, data, callback) { var socket = this.socket; var $rootScope = this.$rootScope; + var args = Array.prototype.slice.call(arguments); - socket.emit(event, data, function() { + args.push(function() { var args = arguments; $rootScope.$apply(function() { if (callback) { @@ -48,6 +49,8 @@ ScopedSocket.prototype.emit = function(event, data, callback) { } }); }); + + socket.emit.apply(socket, args); }; angular.module('insight.socket').factory('getSocket', diff --git a/public/src/js/services/status.js b/public/src/js/services/status.js index 6f60559d8..ab520ec39 100644 --- a/public/src/js/services/status.js +++ b/public/src/js/services/status.js @@ -2,16 +2,16 @@ angular.module('insight.status') .factory('Status', - function($resource) { - return $resource(window.apiPrefix + '/status', { + function($resource, Api) { + return $resource(Api.apiPrefix + '/status', { q: '@q' }); }) .factory('Sync', - function($resource) { - return $resource(window.apiPrefix + '/sync'); + function($resource, Api) { + return $resource(Api.apiPrefix + '/sync'); }) .factory('PeerSync', - function($resource) { - return $resource(window.apiPrefix + '/peer'); + function($resource, Api) { + return $resource(Api.apiPrefix + '/peer'); }); diff --git a/public/src/js/services/transactions.js b/public/src/js/services/transactions.js index e84bed7e8..7ba62e9fb 100644 --- a/public/src/js/services/transactions.js +++ b/public/src/js/services/transactions.js @@ -2,8 +2,8 @@ angular.module('insight.transactions') .factory('Transaction', - function($resource) { - return $resource(window.apiPrefix + '/tx/:txId', { + function($resource, Api) { + return $resource(Api.apiPrefix + '/tx/:txId', { txId: '@txId' }, { get: { @@ -22,18 +22,18 @@ angular.module('insight.transactions') }); }) .factory('TransactionsByBlock', - function($resource) { - return $resource(window.apiPrefix + '/txs', { + function($resource, Api) { + return $resource(Api.apiPrefix + '/txs', { block: '@block' }); }) .factory('TransactionsByAddress', - function($resource) { - return $resource(window.apiPrefix + '/txs', { + function($resource, Api) { + return $resource(Api.apiPrefix + '/txs', { address: '@address' }); }) .factory('Transactions', - function($resource) { - return $resource(window.apiPrefix + '/txs'); + function($resource, Api) { + return $resource(Api.apiPrefix + '/txs'); }); diff --git a/public/src/js/translations.js b/public/src/js/translations.js index a930c8cb7..4492b1d35 100644 --- a/public/src/js/translations.js +++ b/public/src/js/translations.js @@ -1,8 +1,8 @@ angular.module('insight').run(['gettextCatalog', function (gettextCatalog) { /* jshint -W100 */ - gettextCatalog.setStrings('de_DE', {"(Input unconfirmed)":"(Eingabe unbestätigt)","404 Page not found :(":"404 Seite nicht gefunden :(","insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. Check out the source code.":"insight ist ein Open Source Bitcoin Blockchain Explorer mit vollständigen REST und Websocket APIs um eigene Wallets oder Applikationen zu implementieren. Hierbei werden fortschrittlichere Abfragen der Blockchain ermöglicht, bei denen die RPC des Bitcoind nicht mehr ausreichen. Der aktuelle Quellcode ist auf Github zu finden.","insight is still in development, so be sure to report any bugs and provide feedback for improvement at our github issue tracker.":"insight befindet sich aktuell noch in der Entwicklung. Bitte sende alle gefundenen Fehler (Bugs) und Feedback zur weiteren Verbesserung an unseren Github Issue Tracker.","About":"Über insight","Address":"Adresse","Age":"Alter","Application Status":"Programmstatus","Best Block":"Bester Block","Bitcoin node information":"Bitcoin-Node Info","Block":"Block","Block Reward":"Belohnung","Blocks":"Blöcke","Bytes Serialized":"Serialisierte Bytes","Can't connect to bitcoind to get live updates from the p2p network. (Tried connecting to bitcoind at {{host}}:{{port}} and failed.)":"Es ist nicht möglich mit Bitcoind zu verbinden um live Aktualisierungen vom P2P Netzwerk zu erhalten. (Verbindungsversuch zu bitcoind an {{host}}:{{port}} ist fehlgeschlagen.)","Can't connect to insight server. Attempting to reconnect...":"Keine Verbindung zum insight-Server möglich. Es wird versucht die Verbindung neu aufzubauen...","Can't connect to internet. Please, check your connection.":"Keine Verbindung zum Internet möglich, bitte Zugangsdaten prüfen.","Complete":"Vollständig","Confirmations":"Bestätigungen","Conn":"Verbindungen","Connections to other nodes":"Verbindungen zu Nodes","Current Blockchain Tip (insight)":"Aktueller Blockchain Tip (insight)","Current Sync Status":"Aktueller Status","Details":"Details","Difficulty":"Schwierigkeit","Double spent attempt detected. From tx:":"Es wurde ein \"double Spend\" Versuch erkannt.Von tx:","Error!":"Fehler!","Fee":"Gebühr","Final Balance":"Schlussbilanz","Finish Date":"Fertigstellung","Go to home":"Zur Startseite","Hash Serialized":"Hash Serialisiert","Height":"Höhe","Included in Block":"Eingefügt in Block","Incoherence in levelDB detected:":"Es wurde eine Zusammenhangslosigkeit in der LevelDB festgestellt:","Info Errors":"Fehlerbeschreibung","Initial Block Chain Height":"Ursprüngliche Blockchain Höhe","Input":"Eingänge","Last Block":"Letzter Block","Last Block Hash (Bitcoind)":"Letzter Hash (Bitcoind)","Latest Blocks":"Letzte Blöcke","Latest Transactions":"Letzte Transaktionen","Loading Address Information":"Lade Adressinformationen","Loading Block Information":"Lade Blockinformation","Loading Selected Date...":"Lade gewähltes Datum...","Loading Transaction Details":"Lade Transaktionsdetails","Loading Transactions...":"Lade Transaktionen...","Loading...":"Lade...","Mined Time":"Block gefunden (Mining)","Mined by":"Gefunden von","Mining Difficulty":"Schwierigkeitgrad","Next Block":"Nächster Block","No Inputs (Newly Generated Coins)":"Keine Eingänge (Neu generierte Coins)","No blocks yet.":"Keine Blöcke bisher.","No matching records found!":"Keine passenden Einträge gefunden!","No. Transactions":"Anzahl Transaktionen","Number Of Transactions":"Anzahl der Transaktionen","Output":"Ausgänge","Powered by":"Powered by","Previous Block":"Letzter Block","Protocol version":"Protokollversion","Proxy setting":"Proxyeinstellung","Received Time":"Eingangszeitpunkt","Redirecting...":"Umleitung...","Search for block, transaction or address":"Suche Block, Transaktion oder Adresse","See all blocks":"Alle Blöcke anzeigen","Show Transaction Output data":"Zeige Abgänge","Show all":"Zeige Alles","Show input":"Zeige Eingänge","Show less":"Weniger anzeigen","Show more":"Mehr anzeigen","Size":"Größe","Size (bytes)":"Größe (bytes)","Skipped Blocks (previously synced)":"Verworfene Blöcke (bereits syncronisiert)","Start Date":"Startdatum","Status":"Status","Summary":"Zusammenfassung","Summary confirmed":"Zusammenfassung bestätigt","Sync Progress":"Fortschritt","Sync Status":"Syncronisation","Sync Type":"Art der Syncronisation","Synced Blocks":"Syncronisierte Blöcke","Testnet":"Testnet aktiv","There are no transactions involving this address.":"Es gibt keine Transaktionen zu dieser Adressse","Time Offset":"Zeitoffset zu UTC","Timestamp":"Zeitstempel","Today":"Heute","Total Amount":"Gesamtsumme","Total Received":"Insgesamt empfangen","Total Sent":"Insgesamt gesendet","Transaction":"Transaktion","Transaction Output Set Information":"Transaktions Abgänge","Transaction Outputs":"Abgänge","Transactions":"Transaktionen","Type":"Typ","Unconfirmed":"Unbestätigt","Unconfirmed Transaction!":"Unbestätigte Transaktion!","Unconfirmed Txs Balance":"Unbestätigtes Guthaben","Value Out":"Wert","Version":"Version","Waiting for blocks...":"Warte auf Blöcke...","Waiting for transactions...":"Warte auf Transaktionen...","by date.":"nach Datum.","first seen at":"zuerst gesehen am","mined":"gefunden","mined on:":"vom:","Waiting for blocks":"Warte auf Blöcke"}); - gettextCatalog.setStrings('es', {"(Input unconfirmed)":"(Entrada sin confirmar)","404 Page not found :(":"404 Página no encontrada :(","insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. Check out the source code.":"insight es un explorador de bloques de Bitcoin open-source con un completo conjunto de REST y APIs de websockets que pueden ser usadas para escribir monederos de Bitcoins y otras aplicaciones que requieran consultar un explorador de bloques. Obtén el código en el repositorio abierto de Github.","insight is still in development, so be sure to report any bugs and provide feedback for improvement at our github issue tracker.":"insight esta en desarrollo aún, por ello agradecemos que nos reporten errores o sugerencias para mejorar el software. Github issue tracker.","About":"Acerca de","Address":"Dirección","Age":"Edad","Application Status":"Estado de la Aplicación","Best Block":"Mejor Bloque","Bitcoin node information":"Información del nodo Bitcoin","Block":"Bloque","Block Reward":"Bloque Recompensa","Blocks":"Bloques","Bytes Serialized":"Bytes Serializados","Can't connect to bitcoind to get live updates from the p2p network. (Tried connecting to bitcoind at {{host}}:{{port}} and failed.)":"No se pudo conectar a bitcoind para obtener actualizaciones en vivo de la red p2p. (Se intentó conectar a bitcoind de {{host}}:{{port}} y falló.)","Can't connect to insight server. Attempting to reconnect...":"No se pudo conectar al servidor insight. Intentando re-conectar...","Can't connect to internet. Please, check your connection.":"No se pudo conectar a Internet. Por favor, verifique su conexión.","Complete":"Completado","Confirmations":"Confirmaciones","Conn":"Con","Connections to other nodes":"Conexiones a otros nodos","Current Blockchain Tip (insight)":"Actual Blockchain Tip (insight)","Current Sync Status":"Actual Estado de Sincronización","Details":"Detalles","Difficulty":"Dificultad","Double spent attempt detected. From tx:":"Intento de doble gasto detectado. De la transacción:","Error!":"¡Error!","Fee":"Tasa","Final Balance":"Balance Final","Finish Date":"Fecha Final","Go to home":"Volver al Inicio","Hash Serialized":"Hash Serializado","Height":"Altura","Included in Block":"Incluido en el Bloque","Incoherence in levelDB detected:":"Detectada una incoherencia en levelDB:","Info Errors":"Errores de Información","Initial Block Chain Height":"Altura de la Cadena en Bloque Inicial","Input":"Entrada","Last Block":"Último Bloque","Last Block Hash (Bitcoind)":"Último Bloque Hash (Bitcoind)","Latest Blocks":"Últimos Bloques","Latest Transactions":"Últimas Transacciones","Loading Address Information":"Cargando Información de la Dirección","Loading Block Information":"Cargando Información del Bloque","Loading Selected Date...":"Cargando Fecha Seleccionada...","Loading Transaction Details":"Cargando Detalles de la Transacción","Loading Transactions...":"Cargando Transacciones...","Loading...":"Cargando...","Mined Time":"Hora de Minado","Mined by":"Minado por","Mining Difficulty":"Dificultad de Minado","Next Block":"Próximo Bloque","No Inputs (Newly Generated Coins)":"Sin Entradas (Monedas Recién Generadas)","No blocks yet.":"No hay bloques aún.","No matching records found!":"¡No se encontraron registros coincidentes!","No. Transactions":"Nro. de Transacciones","Number Of Transactions":"Número de Transacciones","Output":"Salida","Powered by":"Funciona con","Previous Block":"Bloque Anterior","Protocol version":"Versión del protocolo","Proxy setting":"Opción de proxy","Received Time":"Hora de Recibido","Redirecting...":"Redireccionando...","Search for block, transaction or address":"Buscar bloques, transacciones o direcciones","See all blocks":"Ver todos los bloques","Show Transaction Output data":"Mostrar dato de Salida de la Transacción","Show all":"Mostrar todos","Show input":"Mostrar entrada","Show less":"Ver menos","Show more":"Ver más","Size":"Tamaño","Size (bytes)":"Tamaño (bytes)","Skipped Blocks (previously synced)":"Bloques Saltados (previamente sincronizado)","Start Date":"Fecha de Inicio","Status":"Estado","Summary":"Resumen","Summary confirmed":"Resumen confirmados","Sync Progress":"Proceso de Sincronización","Sync Status":"Estado de Sincronización","Sync Type":"Tipo de Sincronización","Synced Blocks":"Bloques Sincornizados","Testnet":"Red de prueba","There are no transactions involving this address.":"No hay transacciones para esta dirección","Time Offset":"Desplazamiento de hora","Timestamp":"Fecha y hora","Today":"Hoy","Total Amount":"Cantidad Total","Total Received":"Total Recibido","Total Sent":"Total Enviado","Transaction":"Transacción","Transaction Output Set Information":"Información del Conjunto de Salida de la Transacción","Transaction Outputs":"Salidas de la Transacción","Transactions":"Transacciones","Type":"Tipo","Unconfirmed":"Sin confirmar","Unconfirmed Transaction!":"¡Transacción sin confirmar!","Unconfirmed Txs Balance":"Balance sin confirmar","Value Out":"Valor de Salida","Version":"Versión","Waiting for blocks...":"Esperando bloques...","Waiting for transactions...":"Esperando transacciones...","by date.":"por fecha.","first seen at":"Visto a","mined":"minado","mined on:":"minado el:","Waiting for blocks":"Esperando bloques"}); + gettextCatalog.setStrings('de_DE', {"(Input unconfirmed)":"(Eingabe unbestätigt)","404 Page not found :(":"404 Seite nicht gefunden :(","insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. Check out the source code.":"insight ist ein Open Source Bitcoin Blockchain Explorer mit vollständigen REST und Websocket APIs um eigene Wallets oder Applikationen zu implementieren. Hierbei werden fortschrittlichere Abfragen der Blockchain ermöglicht, bei denen die RPC des Bitcoind nicht mehr ausreichen. Der aktuelle Quellcode ist auf Github zu finden.","insight is still in development, so be sure to report any bugs and provide feedback for improvement at our github issue tracker.":"insight befindet sich aktuell noch in der Entwicklung. Bitte sende alle gefundenen Fehler (Bugs) und Feedback zur weiteren Verbesserung an unseren Github Issue Tracker.","About":"Über insight","Address":"Adresse","Age":"Alter","Application Status":"Programmstatus","Best Block":"Bester Block","Bitcoin node information":"Bitcoin-Node Info","Block":"Block","Block Reward":"Belohnung","Blocks":"Blöcke","Bytes Serialized":"Serialisierte Bytes","Can't connect to bitcoind to get live updates from the p2p network. (Tried connecting to bitcoind at {{host}}:{{port}} and failed.)":"Es ist nicht möglich mit Bitcoind zu verbinden um live Aktualisierungen vom P2P Netzwerk zu erhalten. (Verbindungsversuch zu bitcoind an {{host}}:{{port}} ist fehlgeschlagen.)","Can't connect to insight server. Attempting to reconnect...":"Keine Verbindung zum insight-Server möglich. Es wird versucht die Verbindung neu aufzubauen...","Can't connect to internet. Please, check your connection.":"Keine Verbindung zum Internet möglich, bitte Zugangsdaten prüfen.","Complete":"Vollständig","Confirmations":"Bestätigungen","Conn":"Verbindungen","Connections to other nodes":"Verbindungen zu Nodes","Current Blockchain Tip (insight)":"Aktueller Blockchain Tip (insight)","Current Sync Status":"Aktueller Status","Details":"Details","Difficulty":"Schwierigkeit","Double spent attempt detected. From tx:":"Es wurde ein \"double Spend\" Versuch erkannt.Von tx:","Error!":"Fehler!","Fee":"Gebühr","Final Balance":"Schlussbilanz","Finish Date":"Fertigstellung","Go to home":"Zur Startseite","Hash Serialized":"Hash Serialisiert","Height":"Höhe","Included in Block":"Eingefügt in Block","Incoherence in levelDB detected:":"Es wurde eine Zusammenhangslosigkeit in der LevelDB festgestellt:","Info Errors":"Fehlerbeschreibung","Initial Block Chain Height":"Ursprüngliche Blockchain Höhe","Input":"Eingänge","Last Block":"Letzter Block","Last Block Hash (Bitcoind)":"Letzter Hash (Bitcoind)","Latest Blocks":"Letzte Blöcke","Latest Transactions":"Letzte Transaktionen","Loading Address Information":"Lade Adressinformationen","Loading Block Information":"Lade Blockinformation","Loading Selected Date...":"Lade gewähltes Datum...","Loading Transaction Details":"Lade Transaktionsdetails","Loading Transactions...":"Lade Transaktionen...","Loading...":"Lade...","Mined Time":"Block gefunden (Mining)","Mined by":"Gefunden von","Mining Difficulty":"Schwierigkeitgrad","Next Block":"Nächster Block","No Inputs (Newly Generated Coins)":"Keine Eingänge (Neu generierte Coins)","No blocks yet.":"Keine Blöcke bisher.","No matching records found!":"Keine passenden Einträge gefunden!","No. Transactions":"Anzahl Transaktionen","Number Of Transactions":"Anzahl der Transaktionen","Output":"Ausgänge","Powered by":"Powered by","Previous Block":"Letzter Block","Protocol version":"Protokollversion","Proxy setting":"Proxyeinstellung","Received Time":"Eingangszeitpunkt","Redirecting...":"Umleitung...","Search for block, transaction or address":"Suche Block, Transaktion oder Adresse","See all blocks":"Alle Blöcke anzeigen","Show Transaction Output data":"Zeige Abgänge","Show all":"Zeige Alles","Show input":"Zeige Eingänge","Show less":"Weniger anzeigen","Show more":"Mehr anzeigen","Size":"Größe","Size (bytes)":"Größe (bytes)","Skipped Blocks (previously synced)":"Verworfene Blöcke (bereits syncronisiert)","Start Date":"Startdatum","Status":"Status","Summary":"Zusammenfassung","Summary confirmed":"Zusammenfassung bestätigt","Sync Progress":"Fortschritt","Sync Status":"Syncronisation","Sync Type":"Art der Syncronisation","Synced Blocks":"Syncronisierte Blöcke","Testnet":"Testnet aktiv","There are no transactions involving this address.":"Es gibt keine Transaktionen zu dieser Adressse","Time Offset":"Zeitoffset zu UTC","Timestamp":"Zeitstempel","Today":"Heute","Total Amount":"Gesamtsumme","Total Received":"Insgesamt empfangen","Total Sent":"Insgesamt gesendet","Transaction":"Transaktion","Transaction Output Set Information":"Transaktions Abgänge","Transaction Outputs":"Abgänge","Transactions":"Transaktionen","Type":"Typ","Unconfirmed":"Unbestätigt","Unconfirmed Transaction!":"Unbestätigte Transaktion!","Unconfirmed Txs Balance":"Unbestätigtes Guthaben","Value Out":"Wert","Version":"Version","Waiting for blocks...":"Warte auf Blöcke...","Waiting for transactions...":"Warte auf Transaktionen...","by date.":"nach Datum.","first seen at":"zuerst gesehen am","mined":"gefunden","mined on:":"vom:","Waiting for blocks":"Warte auf Blöcke"}); + gettextCatalog.setStrings('es', {"(Input unconfirmed)":"(Entrada sin confirmar)","404 Page not found :(":"404 Página no encontrada :(","insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. Check out the source code.":"insight es un explorador de bloques de Bitcoin open-source con un completo conjunto de REST y APIs de websockets que pueden ser usadas para escribir monederos de Bitcoins y otras aplicaciones que requieran consultar un explorador de bloques. Obtén el código en el repositorio abierto de Github.","insight is still in development, so be sure to report any bugs and provide feedback for improvement at our github issue tracker.":"insight esta en desarrollo aún, por ello agradecemos que nos reporten errores o sugerencias para mejorar el software. Github issue tracker.","About":"Acerca de","Address":"Dirección","Age":"Edad","Application Status":"Estado de la Aplicación","Best Block":"Mejor Bloque","Bitcoin node information":"Información del nodo Bitcoin","Block":"Bloque","Block Reward":"Bloque Recompensa","Blocks":"Bloques","Bytes Serialized":"Bytes Serializados","Can't connect to bitcoind to get live updates from the p2p network. (Tried connecting to bitcoind at {{host}}:{{port}} and failed.)":"No se pudo conectar a bitcoind para obtener actualizaciones en vivo de la red p2p. (Se intentó conectar a bitcoind de {{host}}:{{port}} y falló.)","Can't connect to insight server. Attempting to reconnect...":"No se pudo conectar al servidor insight. Intentando re-conectar...","Can't connect to internet. Please, check your connection.":"No se pudo conectar a Internet. Por favor, verifique su conexión.","Complete":"Completado","Confirmations":"Confirmaciones","Conn":"Con","Connections to other nodes":"Conexiones a otros nodos","Current Blockchain Tip (insight)":"Actual Blockchain Tip (insight)","Current Sync Status":"Actual Estado de Sincronización","Details":"Detalles","Difficulty":"Dificultad","Double spent attempt detected. From tx:":"Intento de doble gasto detectado. De la transacción:","Error!":"¡Error!","Fee":"Tasa","Final Balance":"Balance Final","Finish Date":"Fecha Final","Go to home":"Volver al Inicio","Hash Serialized":"Hash Serializado","Height":"Altura","Included in Block":"Incluido en el Bloque","Incoherence in levelDB detected:":"Detectada una incoherencia en levelDB:","Info Errors":"Errores de Información","Initial Block Chain Height":"Altura de la Cadena en Bloque Inicial","Input":"Entrada","Last Block":"Último Bloque","Last Block Hash (Bitcoind)":"Último Bloque Hash (Bitcoind)","Latest Blocks":"Últimos Bloques","Latest Transactions":"Últimas Transacciones","Loading Address Information":"Cargando Información de la Dirección","Loading Block Information":"Cargando Información del Bloque","Loading Selected Date...":"Cargando Fecha Seleccionada...","Loading Transaction Details":"Cargando Detalles de la Transacción","Loading Transactions...":"Cargando Transacciones...","Loading...":"Cargando...","Mined Time":"Hora de Minado","Mined by":"Minado por","Mining Difficulty":"Dificultad de Minado","Next Block":"Próximo Bloque","No Inputs (Newly Generated Coins)":"Sin Entradas (Monedas Recién Generadas)","No blocks yet.":"No hay bloques aún.","No matching records found!":"¡No se encontraron registros coincidentes!","No. Transactions":"Nro. de Transacciones","Number Of Transactions":"Número de Transacciones","Output":"Salida","Powered by":"Funciona con","Previous Block":"Bloque Anterior","Protocol version":"Versión del protocolo","Proxy setting":"Opción de proxy","Received Time":"Hora de Recibido","Redirecting...":"Redireccionando...","Search for block, transaction or address":"Buscar bloques, transacciones o direcciones","See all blocks":"Ver todos los bloques","Show Transaction Output data":"Mostrar dato de Salida de la Transacción","Show all":"Mostrar todos","Show input":"Mostrar entrada","Show less":"Ver menos","Show more":"Ver más","Size":"Tamaño","Size (bytes)":"Tamaño (bytes)","Skipped Blocks (previously synced)":"Bloques Saltados (previamente sincronizado)","Start Date":"Fecha de Inicio","Status":"Estado","Summary":"Resumen","Summary confirmed":"Resumen confirmados","Sync Progress":"Proceso de Sincronización","Sync Status":"Estado de Sincronización","Sync Type":"Tipo de Sincronización","Synced Blocks":"Bloques Sincornizados","Testnet":"Red de prueba","There are no transactions involving this address.":"No hay transacciones para esta dirección","Time Offset":"Desplazamiento de hora","Timestamp":"Fecha y hora","Today":"Hoy","Total Amount":"Cantidad Total","Total Received":"Total Recibido","Total Sent":"Total Enviado","Transaction":"Transacción","Transaction Output Set Information":"Información del Conjunto de Salida de la Transacción","Transaction Outputs":"Salidas de la Transacción","Transactions":"Transacciones","Type":"Tipo","Unconfirmed":"Sin confirmar","Unconfirmed Transaction!":"¡Transacción sin confirmar!","Unconfirmed Txs Balance":"Balance sin confirmar","Value Out":"Valor de Salida","Version":"Versión","Waiting for blocks...":"Esperando bloques...","Waiting for transactions...":"Esperando transacciones...","by date.":"por fecha.","first seen at":"Visto a","mined":"minado","mined on:":"minado el:","Waiting for blocks":"Esperando bloques"}); gettextCatalog.setStrings('fi', {"(Input unconfirmed)":"(Sisääntulo vahvistamaton)","404 Page not found :(":"404 Sivua ei löytynyt :(","insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. Check out the source code.":"Lohkoketju.fi on ilmainen ja helppokäyttöinen lohkoketjuselain Bitcoinille. Palvelu tarjoaa ajantasaisen Bitcoinin lohkoketjun selaamisen suomen kielellä.","insight is still in development, so be sure to report any bugs and provide feedback for improvement at our github issue tracker.":"Tämän palvelun tarjoaa Bittiraha.fi / Prasos Oy ja palvelu on vielä kehitysvaiheessa.","About":"Lisätietoja","Address":"Osoite","Age":"Ikä","An error occured in the verification process.":"Tarkastusprosessissa tapahtui virhe.","An error occured:
{{error}}":"Tapahtui virhe:
{{error}}","Application Status":"Sovelluksen tila","Best Block":"Paras lohko","Bitcoin comes with a way of signing arbitrary messages.":"Bitcoinilla voit allekirjoittaa viestejä.","Bitcoin node information":"Bitcoin-noodin tiedot","Block":"Lohko","Block Reward":"Lohkopalkkio","Blocks":"Lohkot","Broadcast Raw Transaction":"Kuuluta raaka siirto","Bytes Serialized":"Sarjallisetut tavut","Can't connect to bitcoind to get live updates from the p2p network. (Tried connecting to bitcoind at {{host}}:{{port}} and failed.)":"Yhteyttä bitcoind:hen ei voitu muodostaa. (Yhteys kohteeseen {{host}}:{{port}} epäonnistui.)","Can't connect to insight server. Attempting to reconnect...":"Yhteyttä insight-palvelimeen ei saatu. Yritetään uudelleen...","Can't connect to internet. Please, check your connection.":"Ei internetyhteyttä.","Complete":"Valmiina","Confirmations":"Vahvistusten lukumäärä","Conn":"Yhteyksiä","Connections to other nodes":"Yhteyksien määrä muihin noodeihin","Current Sync Status":"Synkronoinnin tila","Details":"Yksityiskohdat","Difficulty":"Vaikeustaso","Double spent attempt detected. From tx:":"Kaksoiskulutusyritys havaittu. tx:","Error message:":"Virhe:","Error!":"Virhe!","Fee":"Palkkio","Fee Rate":"Palkkio","Final Balance":"Lopullinen kate","Finish Date":"Valmistumisaika","Go to home":"Palaa alkuun","Hash Serialized":"Sarjallistettu tiiviste","Height":"Lohko","Included in Block":"Sisältyy lohkoon","Incoherence in levelDB detected:":"Ristiriitaisuus levelDB:ssä havaittu","Info Errors":"Info-virheitä","Initial Block Chain Height":"Alkuperäisen lohkoketjun korkeus","Input":"Sisääntulo","Last Block":"Viimeisin lohko","Last Block Hash (Bitcoind)":"Viimeisimmän lohkon tiiviste (Bitcoind)","Latest Blocks":"Viimeisimmät lohkot","Latest Transactions":"Viimeisimmät siirrot","Loading Address Information":"Ladataan Osoitetietoja","Loading Block Information":"Ladataan lohkotietoja","Loading Selected Date...":"Ladataan valittua päivämäärää...","Loading Transaction Details":"Ladataan siirron yksityiskohtia","Loading Transactions...":"Ladataan siirtoja...","Loading...":"Ladataan...","Message":"Viesti","Mined Time":"Louhinta-aika","Mined by":"Louhija","Mining Difficulty":"Louhinnan vaikeusaste","Next Block":"Seuraava lohko","No Inputs (Newly Generated Coins)":"Ei sisääntuloja (juuri luotuja kolikoita)","No blocks yet.":"Ei lohkoja vielä.","No matching records found!":"Vastaavaa tallennetta ei löytynyt!","No. Transactions":"Siirtojen lukumäärä","Number Of Transactions":"Siirtojen lukumäärä","Output":"Lähtö","Powered by":"Palvelun tarjoaa","Previous Block":"Edellinen lohko","Protocol version":"Protokollan versio","Proxy setting":"Välityspalvelinasetus","Raw transaction data":"Raaka siirtodata","Raw transaction data must be a valid hexadecimal string.":"Raa'an siirtodatan täytyy olla käypää heksadesimaalimuotoa.","Received Time":"Saapumisaika","Redirecting...":"Uudelleenohjataan...","Search for block, transaction or address":"Etsi lohkoa, siirtoa tai osoitetta","See all blocks":"Näytä kaikki lohkot","Send transaction":"Lähetä","Show Transaction Output data":"Näytä siirron ulostulo","Show all":"Näytä kaikki","Show input":"Näytä sisääntulo","Show less":"Näytä vähemmän","Show more":"Näytä enemmän","Signature":"Allekirjoitus","Size":"Koko","Size (bytes)":"Koko (tavua)","Skipped Blocks (previously synced)":"Ohitetut lohkot (aikaisemmin synkronoitu)","Start Date":"Aloituspäivämäärä","Status":"Tila","Summary":"Yhteenveto","Summary confirmed":"Yhteenveto vahvistettu","Sync Progress":"Synkronoinnin eteneminen","Sync Status":"Synkronoinnin tila","Sync Type":"Synkronoinnin tyyppi","Synced Blocks":"Synkronoituja lohkoja","Testnet":"Testiverkko","The message failed to verify.":"Viestin varmistus epäonnistui.","The message is verifiably from {{verification.address}}.":"Viesti saapui varmennettavasti osoitteesta {{verification.address}}.","There are no transactions involving this address.":"Kyseistä osoitetta koskevia siirtoja ei löytynyt.","This form can be used to broadcast a raw transaction in hex format over the Bitcoin network.":"Tätä lomaketta voi käyttää raa'an transaktion kuuluttamiseen Bitcoin-verkkoon. ","This form can be used to verify that a message comes from a specific Bitcoin address.":"Tätä lomaketta voi käyttää vahvistaakseen viestin tulevan tietystä Bitcoin-osoitteesta.","Time Offset":"Aikaero","Timestamp":"Aikaleima","Today":"Tänään","Total Amount":"Kokonaismäärä","Total Received":"Saapuneet yhteensä","Total Sent":"Lähetetyt yhteensä","Transaction":"Siirto","Transaction Output Set Information":"Siirron ulostulon tiedot","Transaction Outputs":"Siirron ulostuloja","Transaction succesfully broadcast.
Transaction id: {{txid}}":"Siirto kuulutettu onnistuneesti.
Siirron tunniste: {{txid}}","Transactions":"Siirtoja","Type":"Tyyppi","Unconfirmed":"Vahvistamatta","Unconfirmed Transaction!":"Vahvistamaton siirto!","Unconfirmed Txs Balance":"Vahvistamattomien siirtojen kate","Value Out":"Lähetetty määrä","Verify":"Vahvista","Verify signed message":"Vahvista allekirjoitettu viesti","Version":"Versio","Waiting for blocks...":"Odotetaan lohkoja...","Waiting for transactions...":"Odotetaan siirtoja...","by date.":"ajan mukaan","first seen at":"havaittu ensin","mined":"louhittu","mined on:":"louhittu:","Hash":"Tiiviste"," Scan":" Skannaa","BlockHash":"Lohkon tiiviste","Merkle Root":"Merkle-puu","Nonce":"Nonssi","broadcast transaction":"kuuluta transaktio","verify message":"varmista viesti"}); - gettextCatalog.setStrings('ja', {"(Input unconfirmed)":"(入力は未検証です)","404 Page not found :(":"404 ページがみつかりません (´・ω・`)","insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. Check out the source code.":"insightは、bitcoind RPCの提供するものよりも詳細なブロックチェインへの問い合わせを必要とするウェブウォレットやその他のアプリを書くのに使える、完全なRESTおよびwebsocket APIを備えたオープンソースのビットコインブロックエクスプローラです。ソースコードを確認","insight is still in development, so be sure to report any bugs and provide feedback for improvement at our github issue tracker.":"insightは現在開発中です。githubのissueトラッカにてバグの報告や改善案の提案をお願いします。","About":"はじめに","Address":"アドレス","Age":"生成後経過時間","An error occured in the verification process.":"検証過程でエラーが発生しました。","An error occured:
{{error}}":"エラーが発生しました:
{{error}}","Application Status":"アプリケーションの状態","Best Block":"最良ブロック","Bitcoin comes with a way of signing arbitrary messages.":"Bitcoinには任意のメッセージを署名する昨日が備わっています。","Bitcoin node information":"Bitcoinノード情報","Block":"ブロック","Block Reward":"ブロック報酬","Blocks":"ブロック","Broadcast Raw Transaction":"生のトランザクションを配信","Bytes Serialized":"シリアライズ後の容量 (バイト)","Can't connect to bitcoind to get live updates from the p2p network. (Tried connecting to bitcoind at {{host}}:{{port}} and failed.)":"P2Pネットワークからライブ情報を取得するためにbitcoindへ接続することができませんでした。({{host}}:{{port}} への接続を試みましたが、失敗しました。)","Can't connect to insight server. Attempting to reconnect...":"insight サーバに接続できません。再接続しています...","Can't connect to internet. Please, check your connection.":"インターネットに接続できません。コネクションを確認してください。","Complete":"完了","Confirmations":"検証数","Conn":"接続数","Connections to other nodes":"他ノードへの接続","Current Blockchain Tip (insight)":"現在のブロックチェインのTip (insight)","Current Sync Status":"現在の同期状況","Details":"詳細","Difficulty":"難易度","Double spent attempt detected. From tx:":"二重支払い攻撃をこのトランザクションから検知しました:","Error message:":"エラーメッセージ:","Error!":"エラー!","Fee":"手数料","Final Balance":"最終残高","Finish Date":"終了日時","Go to home":"ホームへ","Hash Serialized":"シリアライズデータのハッシュ値","Height":"ブロック高","Included in Block":"取り込まれたブロック","Incoherence in levelDB detected:":"levelDBの破損を検知しました:","Info Errors":"エラー情報","Initial Block Chain Height":"起動時のブロック高","Input":"入力","Last Block":"直前のブロック","Last Block Hash (Bitcoind)":"直前のブロックのハッシュ値 (Bitcoind)","Latest Blocks":"最新のブロック","Latest Transactions":"最新のトランザクション","Loading Address Information":"アドレス情報を読み込んでいます","Loading Block Information":"ブロック情報を読み込んでいます","Loading Selected Date...":"選択されたデータを読み込んでいます...","Loading Transaction Details":"トランザクションの詳細を読み込んでいます","Loading Transactions...":"トランザクションを読み込んでいます...","Loading...":"ロード中...","Message":"メッセージ","Mined Time":"採掘時刻","Mined by":"採掘者","Mining Difficulty":"採掘難易度","Next Block":"次のブロック","No Inputs (Newly Generated Coins)":"入力なし (新しく生成されたコイン)","No blocks yet.":"ブロックはありません。","No matching records found!":"一致するレコードはありません!","No. Transactions":"トランザクション数","Number Of Transactions":"トランザクション数","Output":"出力","Powered by":"Powered by","Previous Block":"前のブロック","Protocol version":"プロトコルバージョン","Proxy setting":"プロキシ設定","Raw transaction data":"トランザクションの生データ","Raw transaction data must be a valid hexadecimal string.":"生のトランザクションデータは有効な16進数でなければいけません。","Received Time":"受信時刻","Redirecting...":"リダイレクトしています...","Search for block, transaction or address":"ブロック、トランザクション、アドレスを検索","See all blocks":"すべてのブロックをみる","Send transaction":"トランザクションを送信","Show Transaction Output data":"トランザクションの出力データをみる","Show all":"すべて表示","Show input":"入力を表示","Show less":"隠す","Show more":"表示する","Signature":"署名","Size":"サイズ","Size (bytes)":"サイズ (バイト)","Skipped Blocks (previously synced)":"スキップされたブロック (同期済み)","Start Date":"開始日時","Status":"ステータス","Summary":"概要","Summary confirmed":"サマリ 検証済み","Sync Progress":"同期の進捗状況","Sync Status":"同期ステータス","Sync Type":"同期タイプ","Synced Blocks":"同期されたブロック数","Testnet":"テストネット","The message failed to verify.":"メッセージの検証に失敗しました。","The message is verifiably from {{verification.address}}.":"メッセージは{{verification.address}}により検証されました。","There are no transactions involving this address.":"このアドレスに対するトランザクションはありません。","This form can be used to broadcast a raw transaction in hex format over\n the Bitcoin network.":"このフォームでは、16進数フォーマットの生のトランザクションをBitcoinネットワーク上に配信することができます。","This form can be used to verify that a message comes from\n a specific Bitcoin address.":"このフォームでは、メッセージが特定のBitcoinアドレスから来たかどうかを検証することができます。","Time Offset":"時間オフセット","Timestamp":"タイムスタンプ","Today":"今日","Total Amount":"Bitcoin総量","Total Received":"総入金額","Total Sent":"総送金額","Transaction":"トランザクション","Transaction Output Set Information":"トランザクションの出力セット情報","Transaction Outputs":"トランザクションの出力","Transaction succesfully broadcast.
Transaction id: {{txid}}":"トランザクションの配信に成功しました。
トランザクションID: {{txid}}","Transactions":"トランザクション","Type":"タイプ","Unconfirmed":"未検証","Unconfirmed Transaction!":"未検証のトランザクションです!","Unconfirmed Txs Balance":"未検証トランザクションの残高","Value Out":"出力値","Verify":"検証","Verify signed message":"署名済みメッセージを検証","Version":"バージョン","Waiting for blocks...":"ブロックを待っています...","Waiting for transactions...":"トランザクションを待っています...","by date.":"日毎。","first seen at":"最初に発見された日時","mined":"採掘された","mined on:":"採掘日時:","(Mainchain)":"(メインチェーン)","(Orphaned)":"(孤立したブロック)","Bits":"Bits","Block #{{block.height}}":"ブロック #{{block.height}}","BlockHash":"ブロックのハッシュ値","Blocks
mined on:":"ブロック
採掘日","Coinbase":"コインベース","Hash":"ハッシュ値","LockTime":"ロック時間","Merkle Root":"Merkleルート","Nonce":"Nonce","Ooops!":"おぉっと!","Output is spent":"出力は使用済みです","Output is unspent":"出力は未使用です","Scan":"スキャン","Show/Hide items details":"アイテムの詳細を表示または隠す","Waiting for blocks":"ブロックを待っています","by date. {{detail}} {{before}}":"日時順 {{detail}} {{before}}","scriptSig":"scriptSig","{{tx.confirmations}} Confirmations":"{{tx.confirmations}} 検証"," (Orphaned)":" (孤立したブロック)"," Incoherence in levelDB detected: {{vin.dbError}}":" Incoherence in levelDB detected: {{vin.dbError}}","Waiting for blocks ":"ブロックを待っています "}); + gettextCatalog.setStrings('ja', {"(Input unconfirmed)":"(入力は未検証です)","404 Page not found :(":"404 ページがみつかりません (´・ω・`)","insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. Check out the source code.":"insightは、bitcoind RPCの提供するものよりも詳細なブロックチェインへの問い合わせを必要とするウェブウォレットやその他のアプリを書くのに使える、完全なRESTおよびwebsocket APIを備えたオープンソースのビットコインブロックエクスプローラです。ソースコードを確認","insight is still in development, so be sure to report any bugs and provide feedback for improvement at our github issue tracker.":"insightは現在開発中です。githubのissueトラッカにてバグの報告や改善案の提案をお願いします。","About":"はじめに","Address":"アドレス","Age":"生成後経過時間","An error occured in the verification process.":"検証過程でエラーが発生しました。","An error occured:
{{error}}":"エラーが発生しました:
{{error}}","Application Status":"アプリケーションの状態","Best Block":"最良ブロック","Bitcoin comes with a way of signing arbitrary messages.":"Bitcoinには任意のメッセージを署名する昨日が備わっています。","Bitcoin node information":"Bitcoinノード情報","Block":"ブロック","Block Reward":"ブロック報酬","Blocks":"ブロック","Broadcast Raw Transaction":"生のトランザクションを配信","Bytes Serialized":"シリアライズ後の容量 (バイト)","Can't connect to bitcoind to get live updates from the p2p network. (Tried connecting to bitcoind at {{host}}:{{port}} and failed.)":"P2Pネットワークからライブ情報を取得するためにbitcoindへ接続することができませんでした。({{host}}:{{port}} への接続を試みましたが、失敗しました。)","Can't connect to insight server. Attempting to reconnect...":"insight サーバに接続できません。再接続しています...","Can't connect to internet. Please, check your connection.":"インターネットに接続できません。コネクションを確認してください。","Complete":"完了","Confirmations":"検証数","Conn":"接続数","Connections to other nodes":"他ノードへの接続","Current Blockchain Tip (insight)":"現在のブロックチェインのTip (insight)","Current Sync Status":"現在の同期状況","Details":"詳細","Difficulty":"難易度","Double spent attempt detected. From tx:":"二重支払い攻撃をこのトランザクションから検知しました:","Error message:":"エラーメッセージ:","Error!":"エラー!","Fee":"手数料","Final Balance":"最終残高","Finish Date":"終了日時","Go to home":"ホームへ","Hash Serialized":"シリアライズデータのハッシュ値","Height":"ブロック高","Included in Block":"取り込まれたブロック","Incoherence in levelDB detected:":"levelDBの破損を検知しました:","Info Errors":"エラー情報","Initial Block Chain Height":"起動時のブロック高","Input":"入力","Last Block":"直前のブロック","Last Block Hash (Bitcoind)":"直前のブロックのハッシュ値 (Bitcoind)","Latest Blocks":"最新のブロック","Latest Transactions":"最新のトランザクション","Loading Address Information":"アドレス情報を読み込んでいます","Loading Block Information":"ブロック情報を読み込んでいます","Loading Selected Date...":"選択されたデータを読み込んでいます...","Loading Transaction Details":"トランザクションの詳細を読み込んでいます","Loading Transactions...":"トランザクションを読み込んでいます...","Loading...":"ロード中...","Message":"メッセージ","Mined Time":"採掘時刻","Mined by":"採掘者","Mining Difficulty":"採掘難易度","Next Block":"次のブロック","No Inputs (Newly Generated Coins)":"入力なし (新しく生成されたコイン)","No blocks yet.":"ブロックはありません。","No matching records found!":"一致するレコードはありません!","No. Transactions":"トランザクション数","Number Of Transactions":"トランザクション数","Output":"出力","Powered by":"Powered by","Previous Block":"前のブロック","Protocol version":"プロトコルバージョン","Proxy setting":"プロキシ設定","Raw transaction data":"トランザクションの生データ","Raw transaction data must be a valid hexadecimal string.":"生のトランザクションデータは有効な16進数でなければいけません。","Received Time":"受信時刻","Redirecting...":"リダイレクトしています...","Search for block, transaction or address":"ブロック、トランザクション、アドレスを検索","See all blocks":"すべてのブロックをみる","Send transaction":"トランザクションを送信","Show Transaction Output data":"トランザクションの出力データをみる","Show all":"すべて表示","Show input":"入力を表示","Show less":"隠す","Show more":"表示する","Signature":"署名","Size":"サイズ","Size (bytes)":"サイズ (バイト)","Skipped Blocks (previously synced)":"スキップされたブロック (同期済み)","Start Date":"開始日時","Status":"ステータス","Summary":"概要","Summary confirmed":"サマリ 検証済み","Sync Progress":"同期の進捗状況","Sync Status":"同期ステータス","Sync Type":"同期タイプ","Synced Blocks":"同期されたブロック数","Testnet":"テストネット","The message failed to verify.":"メッセージの検証に失敗しました。","The message is verifiably from {{verification.address}}.":"メッセージは{{verification.address}}により検証されました。","There are no transactions involving this address.":"このアドレスに対するトランザクションはありません。","This form can be used to broadcast a raw transaction in hex format over\n the Bitcoin network.":"このフォームでは、16進数フォーマットの生のトランザクションをBitcoinネットワーク上に配信することができます。","This form can be used to verify that a message comes from\n a specific Bitcoin address.":"このフォームでは、メッセージが特定のBitcoinアドレスから来たかどうかを検証することができます。","Time Offset":"時間オフセット","Timestamp":"タイムスタンプ","Today":"今日","Total Amount":"Bitcoin総量","Total Received":"総入金額","Total Sent":"総送金額","Transaction":"トランザクション","Transaction Output Set Information":"トランザクションの出力セット情報","Transaction Outputs":"トランザクションの出力","Transaction succesfully broadcast.
Transaction id: {{txid}}":"トランザクションの配信に成功しました。
トランザクションID: {{txid}}","Transactions":"トランザクション","Type":"タイプ","Unconfirmed":"未検証","Unconfirmed Transaction!":"未検証のトランザクションです!","Unconfirmed Txs Balance":"未検証トランザクションの残高","Value Out":"出力値","Verify":"検証","Verify signed message":"署名済みメッセージを検証","Version":"バージョン","Waiting for blocks...":"ブロックを待っています...","Waiting for transactions...":"トランザクションを待っています...","by date.":"日毎。","first seen at":"最初に発見された日時","mined":"採掘された","mined on:":"採掘日時:","(Mainchain)":"(メインチェーン)","(Orphaned)":"(孤立したブロック)","Bits":"Bits","Block #{{block.height}}":"ブロック #{{block.height}}","BlockHash":"ブロックのハッシュ値","Blocks
mined on:":"ブロック
採掘日","Coinbase":"コインベース","Hash":"ハッシュ値","LockTime":"ロック時間","Merkle Root":"Merkleルート","Nonce":"Nonce","Ooops!":"おぉっと!","Output is spent":"出力は使用済みです","Output is unspent":"出力は未使用です","Scan":"スキャン","Show/Hide items details":"アイテムの詳細を表示または隠す","Waiting for blocks":"ブロックを待っています","by date. {{detail}} {{before}}":"日時順 {{detail}} {{before}}","scriptSig":"scriptSig","{{tx.confirmations}} Confirmations":"{{tx.confirmations}} 検証"," (Orphaned)":" (孤立したブロック)"," Incoherence in levelDB detected: {{vin.dbError}}":" Incoherence in levelDB detected: {{vin.dbError}}","Waiting for blocks ":"ブロックを待っています "}); /* jshint +W100 */ }]); \ No newline at end of file diff --git a/public/src/templates/api.js b/public/src/templates/api.js new file mode 100644 index 000000000..d5cea3db7 --- /dev/null +++ b/public/src/templates/api.js @@ -0,0 +1,9 @@ +'use strict'; + +angular.module('insight.api') + .factory('Api', + function() { + return { + apiPrefix: '/INSIGHT_API_PREFIX' + } + }); diff --git a/test/test.js b/test/test.js new file mode 100644 index 000000000..75c2690d6 --- /dev/null +++ b/test/test.js @@ -0,0 +1,4 @@ +describe('should test', function() { + it('test', function() { + }); +});