Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.10 - NEW RELEASE: Ardor 2.0.5e TestNet - The Ignis ICO is over!! Ardor genesis snapshots will happen at Nxt block 1,630,000 (expected for 25th December)

Pages: [1]

Author Topic: [PLG] Next Block Predictor Plugin  (Read 2288 times)

jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1043
  • write code not war
    • View Profile
    • jNxt
  • Karma: +310/-8
[PLG] Next Block Predictor Plugin
July 01, 2015, 06:47:37 am

A very simple box in the left corner of the screen that tells you how much time is left on the current block.



Download: http://jnxt.org/block_counter.zip

* I estimate that it is within a few seconds of being correct about 76ish% of the time, but sometimes it can be somewhat off, just due to how the calculations are made.
-- Jones NXT-RJU8-JSNR-H9J4-2KWKY

yassin54

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2508
  • I am Homer, Sorry my english is Bad!!
    • View Profile
  • Karma: +240/-14
Re: [PLG] Next Block Predictor Plugin
July 01, 2015, 10:48:15 am

Nice Work!
where I must put this file?
C:\Program Files\Nxt\  ?
Thanks

starik69

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 262
    • View Profile
  • Karma: +11/-17
Re: [PLG] Next Block Predictor Plugin
July 01, 2015, 10:59:42 am

Is it possible to add (may be optional) timer till forge own block like it is in "classic" NRS? ???
Oh, you hardcoded first 20 forgers :-[
« Last Edit: July 01, 2015, 12:07:19 pm by starik69 »
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1043
  • write code not war
    • View Profile
    • jNxt
  • Karma: +310/-8
Re: [PLG] Next Block Predictor Plugin
July 01, 2015, 04:44:05 pm

Nice Work!
where I must put this file?
C:\Program Files\Nxt\  ?
Thanks

Find your Nxt folder and put it in /html/ui/plugins relative to the base nxt folder

Is it possible to add (may be optional) timer till forge own block like it is in "classic" NRS? ???
Oh, you hardcoded first 20 forgers :-[

It would be possible to do this but it's a little different that the original idea, might decide to add it in later.

Tes, it scans the top 80ish% of forging accounts because that is the most efficient way I've found tk do this, if you do all the accounts, then there's a good chance that pepole won't forge and its wrong just as much. In this scenario I'm mostly sure that given the opportunity, these accounts will forge the block.
-- Jones NXT-RJU8-JSNR-H9J4-2KWKY

yassin54

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2508
  • I am Homer, Sorry my english is Bad!!
    • View Profile
  • Karma: +240/-14
Re: [PLG] Next Block Predictor Plugin
July 01, 2015, 06:32:55 pm

Nice Work!
where I must put this file?
C:\Program Files\Nxt\  ?
Thanks

Find your Nxt folder and put it in /html/ui/plugins relative to the base nxt folder
Thanks

allwelder

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1867
  • NxtChina.org
    • View Profile
    • NxtChina.org
  • Karma: +196/-13
Re: [PLG] Next Block Predictor Plugin
July 02, 2015, 01:27:09 am

Nice,shared on NxtChina.org
NxtChina |Weibo |Twitter Donation welcomed:NXT-APL9-66GU-K8LY-B3JJJ

crimi

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 887
    • View Profile
  • Karma: +122/-11
Re: [PLG] Next Block Predictor Plugin
July 02, 2015, 06:17:26 pm

cool, you can now predict a little better when a third party will confirm your transaction.
PeerExplorer.com | NodeExplorer.com

Tosch110

  • Ex-Staff Member
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2375
    • View Profile
  • Karma: +211/-18
Re: [PLG] Next Block Predictor Plugin
July 12, 2015, 11:43:44 pm

Did you take it offline? :(

chevdor

  • Full Member
  • ***
  • Offline Offline
  • Posts: 165
    • View Profile
  • Karma: +19/-0
Re: [PLG] Next Block Predictor Plugin
July 13, 2015, 12:46:42 pm

cool, can you add a function that tells when is MY next block? Make sure you can display years :)
NXT-YCLA-V44V-USJK-3GPJD
BM-2cXnA5HdtsDttGaPEAJd1oYX3zMbiKDewV

jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1043
  • write code not war
    • View Profile
    • jNxt
  • Karma: +310/-8
Re: [PLG] Next Block Predictor Plugin
July 14, 2015, 04:35:36 am

Did you take it offline? :(

No, its back up now, jnxt had some router issues yesterday, but it is all sorted out.

cool, can you add a function that tells when is MY next block? Make sure you can display years :)

the prediction of when you will forge the next block changes every block, and quite dramatically most of the time, so an average would probably be the best. you can do the calculation yourself pretty easily.

(1'000'000'000 / you balance) * 107 seconds per block.
-- Jones NXT-RJU8-JSNR-H9J4-2KWKY

alex04210

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
    • View Profile
  • Karma: +2/-0
Re: [PLG] Next Block Predictor Plugin
October 26, 2017, 09:23:33 pm

I was thinking about a new client which is totally blank in the beginning when you just installed.
Then you can add functions, configure features and plugins whatever you need. Nothing extra, you only what you need.
This is an NXT LEGO Client.
It may be necessary for those who wish to launch their services for their communities or clients. So in this way, a service provider may customize services for his community by adding only required specific functions among those which are available among basic features and plugins of NXT.

This idea came from a real life when we wanted to use the blockchain in some real-world business but realized that NXT client is too overloaded and complex for a narrow person. We need a couple of functions specifically designed for our business purposes and nothing more. Of course, we can hire developers to make such platform, but blockchain devs are too tough guys and speak only from 10K which is not an acceptable price for a small or non-profit business and startups.

This lego could be a very good starting platform for more wide penetration of NXT into different spheres of life. Do you think it is a good strategy for NXT?

apenzl

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2477
    • View Profile
    • Nxter.org
  • Karma: +242/-10
Re: [PLG] Next Block Predictor Plugin
October 27, 2017, 12:45:34 pm

I was thinking about a new client which is totally blank in the beginning when you just installed.
Then you can add functions, configure features and plugins whatever you need. Nothing extra, you only what you need.
This is an NXT LEGO Client.
It may be necessary for those who wish to launch their services for their communities or clients. So in this way, a service provider may customize services for his community by adding only required specific functions among those which are available among basic features and plugins of NXT.

This idea came from a real life when we wanted to use the blockchain in some real-world business but realized that NXT client is too overloaded and complex for a narrow person. We need a couple of functions specifically designed for our business purposes and nothing more. Of course, we can hire developers to make such platform, but blockchain devs are too tough guys and speak only from 10K which is not an acceptable price for a small or non-profit business and startups.

This lego could be a very good starting platform for more wide penetration of NXT into different spheres of life. Do you think it is a good strategy for NXT?

I like your proposal.

Actually, we're taking a route somehow similar with https://nxter.org/nxtbridge
NxtBridge is a Wordpress plugin that lets you design your own Nxt online wallet with shortcodes.

NxtBridge shows live blockchain data and can prepare Nxt transactions (unsigned tx bytes).
You (or your visitors/customers) can sign and broadcast the transactions with our simple Android signing app, or with NxtBridge-OFFLINE.

We are currently developing the project - testing and beautifying the Android mobile app as well as adding more transaction types + GUI to NxtBridge.

Which lego-bricks do you think would be most awesome to have?
Pages: [1]