Code Monkey home page Code Monkey logo

blockexplorer's Introduction

Block Explorer

blockexplorer's People

Contributors

alkogtev avatar bep42 avatar bokobza avatar dangershony avatar fassadlr avatar fenix2222 avatar kogot avatar mikedennis avatar neurosploit avatar noescape00 avatar patrickafoley avatar quantumagi avatar rowandh avatar stratisiain avatar yakupipek avatar zeptin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blockexplorer's Issues

Azure indexer tests that don't pass

  • CanGetColoredTransaction
  • CanImportMainChain

Both fail with:

Message: NBitcoin.Protocol.ProtocolException : An header which does not pass proof of work verification has been received

Azure Indexer "jumps" over blocks

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

QBitNinja tests fail

This error
Stratis.Bitcoin.Features.AzureIndexer.IndexerConfigurationErrorsException : Invalid value StratisTest in appsettings (expecting Main, Test or Seg)

Appears some configuration needs to get updated.

LGPL 3.0 License for QBitNinja...

The project BlockExplorer is released under MIT License, but QBitNinja is not. Why is QBitNinja using LGPL3.0 license and not MIT?

AzureIndexer balances silently stop advancing

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

Incorrect Satoshi Amount in Cirrus Explorer

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.

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.