Block Explorer
stratisproject / blockexplorer Goto Github PK
View Code? Open in Web Editor NEWA set of projects that can index and query stratis blockchains on the fullnode.
License: MIT License
A set of projects that can index and query stratis blockchains on the fullnode.
License: MIT License
Block Explorer
Both fail with:
Message: NBitcoin.Protocol.ProtocolException : An header which does not pass proof of work verification has been received
As seen below the Azure Indexer skips from AzureIndexer.Height: 482200
to AzureIndexer.Height: 710500
:
[2018-03-13 16:58:51.8068 142] INFO: Stratis.Bitcoin.FullNode.<StartPeriodicLog>b__70_0 ======Node stats====== 03/13/2018 14:37:34 agent StratisBitcoin:1.0.10
Headers.Height: 755096 Headers.Hash: 4f44ecab6249cba93bc22a75ecd4ee6d3e828556d4a40486d62ead868d7c6ad2
Consensus.Height: 755095 Consensus.Hash: 957317c4666be6da4aca49cf589515878a99d301477f11c670b17ee6d1ed4c6d
BlockStore.Height: 755095 BlockStore.Hash: 957317c4666be6da4aca49cf589515878a99d301477f11c670b17ee6d1ed4c6d
AzureIndexer.Height: 482200 AzureIndexer.Hash: 70f93328d482e0bc770ed0c7e8e548509f1d6603e6ada14448edd1ec9f53044d
======Connection======
Peer:[::ffff:58.84.154.232]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755004
Peer:[::ffff:86.163.204.240]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755096
Peer:[::ffff:151.229.223.1]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755095
Peer:[::ffff:71.203.71.170]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755094
Peer:[::ffff:155.133.202.231]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755042
Peer:[::ffff:174.58.111.77]:16178, connected (outbound), agent /Stratis:2.0.0.2/, height=755095
Peer:[::ffff:82.178.103.103]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755096
Peer:[::ffff:87.151.74.132]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755095
[2018-03-13 16:58:51.8068 180] INFO: Stratis.Bitcoin.Features.BlockStore.BlockStoreLoop.DownloadAndStoreBlocksAsync ====BlockStore Repository Stats(%)====
Hit Count: 14100
Miss Count: 2
Delete Count: 0
Insert Count: 2
Hit: 99.99 %
Miss: 0.01 %
=================================
====BlockStore Cache Stats(%)====
Hit Count: 0
Miss Count: 0
Remove Count: 0
Set Count: 0
=================================
[2018-03-13 16:58:51.8302 81] INFO: Stratis.Bitcoin.Features.Consensus.ConsensusLoop+<RewindCoinViewLockedAsync>d__39.MoveNext Reorg detected, rewinding from '755168-8109fe437918df416876fc67a55b8f71f3134719ef07e7c15e23ba29e10cfb67' to '755167-69e14e52bbddf9d16c463651ba95c6df2b1bd96b0e9604371e6e2fda7746d959'.
[2018-03-13 16:58:52.5849 180] INFO: Stratis.Bitcoin.Features.BlockStore.BlockStoreLoop+<DownloadAndStoreBlocksAsync>d__40.MoveNext ====BlockStore Repository Stats(%)====
Hit Count: 684900
Miss Count: 73
Delete Count: 0
Insert Count: 73
Hit: 99.99 %
Miss: 0.01 %
=================================
====BlockStore Cache Stats(%)====
Hit Count: 2
Miss Count: 0
Remove Count: 0
Set Count: 0
Hit: 100.00 %
Miss: 0.00 %
=================================
[2018-03-13 16:58:56.8792 160] INFO: Stratis.Bitcoin.FullNode.<StartPeriodicLog>b__70_0 ======Node stats====== 03/13/2018 16:58:56 agent StratisBitcoin:1.0.10
Headers.Height: 755222 Headers.Hash: ceeffd40b5da137b4e5cbe9f9af5f9489893dbddf5ddc5b7493b99d2d1849551
Consensus.Height: 755212 Consensus.Hash: bec0f96119e450be8136bb20ef3ad42128b82625de49ad8656a4c01a06c2d282
BlockStore.Height: 755211 BlockStore.Hash: 6df0429aa8b2bfa67cb1a2f5355aab628f6c28e65aa3162de7736042a03fa468
AzureIndexer.Height: 710500 AzureIndexer.Hash: 980af27dcec63187d8fd5a1c5fc92031efc50007382484600f504b3702dfd120
======Connection======
Peer:[::ffff:58.84.154.232]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755204
Peer:[::ffff:86.163.204.240]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755221
Peer:[::ffff:151.229.223.1]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755222
Peer:[::ffff:71.203.71.170]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755221
Peer:[::ffff:155.133.202.231]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755215
Peer:[::ffff:174.58.111.77]:16178, connected (outbound), agent /Stratis:2.0.0.2/, height=755219
Peer:[::ffff:82.178.103.103]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755222
Peer:[::ffff:87.151.74.132]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755222
[2018-03-13 16:59:01.8760 168] INFO: Stratis.Bitcoin.FullNode.<StartPeriodicLog>b__70_0 ======Node stats====== 03/13/2018 16:59:01 agent StratisBitcoin:1.0.10
Headers.Height: 755222 Headers.Hash: ceeffd40b5da137b4e5cbe9f9af5f9489893dbddf5ddc5b7493b99d2d1849551
Consensus.Height: 755222 Consensus.Hash: ceeffd40b5da137b4e5cbe9f9af5f9489893dbddf5ddc5b7493b99d2d1849551
BlockStore.Height: 755222 BlockStore.Hash: ceeffd40b5da137b4e5cbe9f9af5f9489893dbddf5ddc5b7493b99d2d1849551
AzureIndexer.Height: 710600 AzureIndexer.Hash: c5aa39cdf871d4d711b9634332ad3a9cd4381f8b95e751e8b978902e804188d2
======Connection======
Peer:[::ffff:58.84.154.232]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755204
Peer:[::ffff:86.163.204.240]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755221
Peer:[::ffff:151.229.223.1]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755222
Peer:[::ffff:71.203.71.170]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755221
Peer:[::ffff:155.133.202.231]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755215
Peer:[::ffff:174.58.111.77]:16178, connected (outbound), agent /Stratis:2.0.0.2/, height=755219
Peer:[::ffff:82.178.103.103]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755222
Peer:[::ffff:87.151.74.132]:16178, connected (outbound), agent /Stratis:2.0.0.3/, height=755222
There is old references to VS2015 elements in here so on a machine with only VS2017 installed the project can't be built.
This error
Stratis.Bitcoin.Features.AzureIndexer.IndexerConfigurationErrorsException : Invalid value StratisTest in appsettings (expecting Main, Test or Seg)
Appears some configuration needs to get updated.
The project BlockExplorer is released under MIT License, but QBitNinja is not. Why is QBitNinja using LGPL3.0 license and not MIT?
Full node dependencies are all in .net core so it will be increasingly difficult to maintain this moving forward unless it is migrated to ASP.NET Core
After hitting error 412 sometimes random checkpoint stop advancing while everything else advancing properly.
Restarting the node helps.
catch (StorageException ex)
{
if (ex.RequestInformation != null && ex.RequestInformation.HttpStatusCode == 412)
{
this.logger.LogTrace("(-)[STORAGE_EXCEPTION_412]:false");
return false;
}
this.logger.LogError("Storage exception occured: {0}", ex.ToString());
this.logger.LogTrace("(-)[STORAGEEX]");
throw;
}
This exception is handled silently in the current code and the AzureIndexer tip is advancing even though not everything is being updated
Found and discussed with @Aprogiena
Hi team ,
Please update the Read.md for blockexplorer from where we can able to under stand how to use it.
or provider some link or document.
I am using an iPhone and cannot toggle between the various block explorer like my desktop.
<PackageReference Include="NLog" Version="5.0.0-beta09" />
<PackageReference Include="NLog.Extensions.Logging" Version="1.0.0-rtm-beta5" />
NLog 4.5 (And newer) supports NetCore: https://www.nuget.org/packages/NLog/
Appears this is no longer present after this commit:
f069b1e
QBitNinja seems to still have a reference to it. Does QBitNinja need to get refactored or should it get added back into azureindexer?
Reference is in this source file https://github.com/stratisproject/BlockExplorer/blob/master/QBitNinja/QBitNinja/InitialIndexer.cs
Looks like there is a bug in the indexer somewhere inaccurately translating an address amount from sats to decimal amount.
https://cirrusexplorer.stratisplatform.com/addresses/cnYBwudqzHBtGVELyQNUGzviKV4Ym3yiEo
Had 99m at the time of this issue being created.
Block explorer request to https://cirrusmainindexer1.azurewebsites.net//api/v1/balances/cnYBwudqzHBtGVELyQNUGzviKV4Ym3yiEo/summary?debug=false&colored=false
returns amounts of 9987344617680928
sats.
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.