Author

Topic: NXT :: descendant of Bitcoin - Updated Information - page 665. (Read 2761642 times)

legendary
Activity: 1162
Merit: 1005

I seem to have a bit of a hard time getting access to 0.8.2e on my raspi.

It seems to running ok, but I don't know how to access the browser interface.

Neither http nor https on any of the ports gets me access.


[2014-02-26 13:02:23.747] Started peer networking server at 0.0.0.0:7874
[2014-02-26 13:02:23.820] Started API server at 127.0.0.1:7876
[2014-02-26 13:02:23.861] Started user interface server at 127.0.0.1:7875
[2014-02-26 13:02:23.901] Nxt server 0.8.2e started successfully.


Maybe I have to modify the ncxt/conf/nxt-default.properties ? I have tried a few possible entries, but apart from the obvious ones, I have no idea:


nxt.allowedBotHosts=127.0.0.1; localhost; 192.168.178.25; 192.168.178.26; 0:0:0:0:0:0:0:1;

nxt.allowedUserHosts=127.0.0.1; localhost; 192.168.178.25; 192.168.178.26; 0:0:0:0:0:0:0:1;
 
As the start script is:
java -Xmx128M -Xmx450M -cp nxt.jar:lib/*:conf nxt.Nxt

Do I maybe have to give an extra reference to the nxt-default.properties?





In properties ### PEER NETWORKING" try:

nxt.peerServerHost=0.0.0.0

### API SERVER###

nxt.apiServerHost=0.0.0.0
nxt.allowedBotHosts=*

### NRS USER INTERFACE ###

nxt.allowedUserHosts=*
nxt.uiServerHost=0.0.0.0

Not sure about PEER NETWORKING settings, but API and NRS should work.
hero member
Activity: 644
Merit: 500
I've nothing against harcoding how many power pool can take. But it isn't solution also: 2 10% pools easily can be actually 1 20% pool, more important - can become. No leasing at all? Well, I'm thinking profit of decreased dispersion >> risk of malicious and powerful pool.
hero member
Activity: 644
Merit: 500
Shit, that is bad!  Tongue

Solutions? Maybe a DAC???

Awaken man's switch??  Cool

Dunno. Time to invest 1M NXT into development of technology that protects in such cases...  Wink
Are you listening 50M NXT hoarders?
Why they hoard so many coins? They can't sell all of this coins anyway. From the block chain, these account(2159498187382012684,4747512364439223888,9433259657262176905,14571285356259793594) have more than 45M NXT(some of them split they account). Please sell it, donate it, anyway. The price will be never going up too far if they hoard so many coins.

why should i?

You aren't early adapter. Shut up. You are a nobody
full member
Activity: 168
Merit: 100
Guys before deciding we need to "go and change" the behaviour of forging we need to properly understand how it currently works so although it's nice that lots of people have creative ideas what would be more helpful is statistical analysis and modelling.


Quote from: bitcoinpaul on Today at 12:20:42 PM
Quote from: igmaca on Today at 12:11:23 PM

Confusing words. Do you propose something like this?

Quote from: bitcoinpaul on Today at 10:20:07 AM
Instead of leasing forge power, you commit with your account to share fees among others in the same "share fee group" if you forge a node. You still have to try to forge a block on your own, but you commit to share the incentive with others if you are successful. ... Could this be done with AT and would that make sense?

right (I'm sorry but I'm not a native speaker of English)

I do not know how you can implement technically but that's the idea

this means;

Extremely decentralized network (in the exemple 30.000 Nodes)
Small accounts motivated to participate in forging (In the exemple 100 Nxt account is forging every day)

You just have to solve for the fees to be sufficiently attractive.
An interesting idea is to pay for other things like leased computing power

I'm not a programmer
someone can model this idea?
hero member
Activity: 924
Merit: 1001
Unlimited Free Crypto
Shit, that is bad!  Tongue
Solutions? Maybe a DAC???
Awaken man's switch??  Cool
Dunno. Time to invest 1M NXT into development of technology that protects in such cases...  Wink
Are you listening 50M NXT hoarders?

What are you doing 50M-Nxt-hoarders ?? We need money for projects.

It is stupid to hold such big amount. The value of Nxt will not increase if you don't help.

For fucks sake I don't want them to spend in any way they don't want but at least DO SOMETHING WITH THEM, WHATEVER!!!

Start your business, buy staff, donate, dump, help the community...

WTF???

They are so pathetic they split their funds!

Now I feel better holding just two millions and planning to do this for yesrs to come.
newbie
Activity: 56
Merit: 0
Shit, that is bad!  Tongue
Solutions? Maybe a DAC???
Awaken man's switch??  Cool
Dunno. Time to invest 1M NXT into development of technology that protects in such cases...  Wink
Are you listening 50M NXT hoarders?

What are you doing 50M-Nxt-hoarders ?? We need money for projects.

It is stupid to hold such big amount. The value of Nxt will not increase if you don't help.

For fucks sake I don't want them to spend in any way they don't want but at least DO SOMETHING WITH THEM, WHATEVER!!!

Start your business, buy staff, donate, dump, help the community...

WTF???

They are so pathetic they split their funds!
+1
hero member
Activity: 546
Merit: 500
PGP 9CB0902E
Yeah, you may have seen this before.  I'll be putting it up every ten pages or so.  It's one of those "legitimate, transparent process" things.
legendary
Activity: 1498
Merit: 1000
Shit, that is bad!  Tongue
Solutions? Maybe a DAC???
Awaken man's switch??  Cool
Dunno. Time to invest 1M NXT into development of technology that protects in such cases...  Wink
Are you listening 50M NXT hoarders?

What are you doing 50M-Nxt-hoarders ?? We need money for projects.

It is stupid to hold such big amount. The value of Nxt will not increase if you don't help.

For fucks sake I don't want them to spend in any way they don't want but at least DO SOMETHING WITH THEM, WHATEVER!!!

Start your business, buy staff, donate, dump, help the community...

WTF???

They are so pathetic they split their funds!
hero member
Activity: 910
Merit: 1000
Why would anyone who spends that much money to acquire 50% of Nxt, then do anything that will destroy his own wealth?

A good point - and understand that I am not "advocating to do anything" at this stage - just presenting some statistical analysis (something that this project needs to have done before making "claims" about percentages and "safety").

Even with leasing we're generally safe: if some pool actually'll forge bad chain, Nxters'll argee on rollback and don't lease any power to that concrete pool and'll stay aware of leasing so much % ot any pool. Threr's no possibility of rollback in PoW: malicious 51%, game over. But in PoS with leasing, where pools're dominating as forgers, it's pretty doable.

This sounds like a dubious solution to the problem. I don't like it.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Guys before deciding we need to "go and change" the behaviour of forging we need to properly understand how it currently works so although it's nice that lots of people have creative ideas what would be more helpful is statistical analysis and modelling.
hero member
Activity: 644
Merit: 500
Why would anyone who spends that much money to acquire 50% of Nxt, then do anything that will destroy his own wealth?

A good point - and understand that I am not "advocating to do anything" at this stage - just presenting some statistical analysis (something that this project needs to have done before making "claims" about percentages and "safety").

Even with leasing we're generally safe: if some pool actually'll forge bad chain, Nxters'll argee on rollback and don't lease any power to that concrete pool and'll stay aware of leasing so much % to any pool for a long time. Threr's no possibility of rollback in PoW: malicious 51%, game over. But in PoS with leasing, where pools're dominating as forgers, it's pretty doable.

And if not a pool, but single forger (insanely rich + crazy; for real we'd care only about social engineering, potential PoX superiors and about Internet health) will successfully attack Nxt, community'll switch to another PoS-coin, may be to even 1:1 clone.
hero member
Activity: 910
Merit: 1000
Just stop the big bold font please.
full member
Activity: 168
Merit: 100

Confusing words. Do you propose something like this?

Instead of leasing forge power, you commit with your account to share fees among others in the same "share fee group" if you forge a node. You still have to try to forge a block on your own, but you commit to share the incentive with others if you are successful. ... Could this be done with AT and would that make sense?

right (I'm sorry but I'm not a native speaker of English)

I do not know how you can implement technically but that's the idea

this means;

Extremely decentralized network (in the exemple 30.000 Nodes)
Small accounts motivated to participate in forging (In the exemple 100 Nxt account is forging every day)

You just have to solve for the fees to be sufficiently attractive.
An interesting idea is to pay for other things like leased computing power
hero member
Activity: 910
Merit: 1000
Another thought (not 100% related to our discussion right now):

I say if we don't have mechanisms like penalization, Nxt won't succeed.

Trust noone - this is a very important principle. Nxt doesn't rely on trust but solves the problem of trust in another way. It evolves to a system that doesn't care about trust coz everything will be very clear. Transparency extended to absolute leads to inability to cheat thus removing necessity to think if someone should trust another one.

Who cares about transparency, if no mechanism exists which uses this transparency.

Anyone?
legendary
Activity: 1181
Merit: 1018

I seem to have a bit of a hard time getting access to 0.8.2e on my raspi.

It seems to running ok, but I don't know how to access the browser interface.

Neither http nor https on any of the ports gets me access.


[2014-02-26 13:02:23.747] Started peer networking server at 0.0.0.0:7874
[2014-02-26 13:02:23.820] Started API server at 127.0.0.1:7876
[2014-02-26 13:02:23.861] Started user interface server at 127.0.0.1:7875
[2014-02-26 13:02:23.901] Nxt server 0.8.2e started successfully.


Maybe I have to modify the ncxt/conf/nxt-default.properties ? I have tried a few possible entries, but apart from the obvious ones, I have no idea:


nxt.allowedBotHosts=127.0.0.1; localhost; 192.168.178.25; 192.168.178.26; 0:0:0:0:0:0:0:1;

nxt.allowedUserHosts=127.0.0.1; localhost; 192.168.178.25; 192.168.178.26; 0:0:0:0:0:0:0:1;
 
As the start script is:
java -Xmx128M -Xmx450M -cp nxt.jar:lib/*:conf nxt.Nxt

Do I maybe have to give an extra reference to the nxt-default.properties?



legendary
Activity: 2156
Merit: 1131
Shit, that is bad!  Tongue
Solutions? Maybe a DAC???
Awaken man's switch??  Cool
Dunno. Time to invest 1M NXT into development of technology that protects in such cases...  Wink
Are you listening 50M NXT hoarders?

What are you doing 50M-Nxt-hoarders ?? We need money for projects.

It is stupid to hold such big amount. The value of Nxt will not increase if you don't help.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
hero member
Activity: 910
Merit: 1000
hero member
Activity: 910
Merit: 1000

Confusing words. Do you propose something like this?

Instead of leasing forge power, you commit with your account to share fees among others in the same "share fee group" if you forge a node. You still have to try to forge a block on your own, but you commit to share the incentive with others if you are successful. ... Could this be done with AT and would that make sense?
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Okay - after some discussion with CfB and checking out another such simulation I think I can get mine a lot closer to what is "really" going on underneath the hood (of course it is "only a simulation" so it can only be of so much benefit).

So this version is 100 years worth of blocks *without log(balance)* but instead with a "random divisor" of your balance to take the place of "time to forge" and now the figures look like this:

blocks = 52560000
a: 10
b: 10
c: 10
d: 10
e: 10
f: 50
wins( a ) = 4453471
wins( b ) = 4447734
wins( c ) = 4448973
wins( d ) = 4443112
wins( e ) = 4437624
wins( f ) = 30329086
best_streak( a ) = 7
best_streak( b ) = 6
best_streak( c ) = 7
best_streak( d ) = 7
best_streak( e ) = 8
best_streak( f ) = 31
best_combined_streak = 22

and when run with the 90/10 we now get the following:

blocks = 52560000
a: 10
b: 90
wins( a ) = 5361825
wins( b ) = 47198175
best_streak( a ) = 7
best_streak( b ) = 136

Whether this is a good enough approximation to statistically what is going on I am not sure but at least the simulator is no longer using floating point nor "log" (and is giving less skewed results).

Code:
#include
#include
#include

#include
#include
#include
#include

#define NUM_DAYS 1
#define NUM_YEARS 100

//#define PREVENT_IMMEDIATE_REPEAT

//#define SHOW_WINNERS
//#define SHOW_WINNERS_WEIGHT

using namespace std;

#ifndef NUM_YEARS
const size_t c_num_blocks = 1440 * NUM_DAYS;
#else
const size_t c_num_blocks = 1440 * 365 * NUM_YEARS;
#endif

int main( )
{
#ifdef SHOW_WINNERS
   string winners;
#endif
   vector< int > wins;
   vector< int > streaks;
   vector< int > balances;
   vector< int > best_streak;

   vector< int > combined;
   vector< long > weights;

   int combined_streak = 0;
   int best_combined_streak = 0;

   balances.push_back( 10 );
   balances.push_back( 10 );
   balances.push_back( 10 );
   balances.push_back( 10 );
   balances.push_back( 10 );
   balances.push_back( 50 );

   srand( ( unsigned int )time( 0 ) );

   for( size_t i = 0; i < balances.size( ); i++ )
   {
      wins.push_back( 0 );
      weights.push_back( 0 );
      streaks.push_back( 0 );
      combined.push_back( 0 );
      best_streak.push_back( 0 );
   }

   size_t last_winner = 0;
   for( size_t blocks = 0; blocks < c_num_blocks; blocks++ )
   {
      long total_weight = 0;
      for( size_t i = 0; i < weights.size( ); i++ )
      {
         int divisor = rand( ) % 10;

         if( divisor == 0 )
            ++divisor;

         weights[ i ] = ( rand( ) % 10000 ) * ( balances[ i ] / divisor );

         total_weight += weights[ i ];
      }

      size_t winner = 0;
      size_t runner_up = 0;
      long best_target = 0;
#ifdef PREVENT_IMMEDIATE_REPEAT
      long second_best_target = 0;
#endif

      for( size_t i = 0; i < balances.size( ); i++ )
      {
         long adjusted_weight = weights[ i ] * 1000 / total_weight;

         if( adjusted_weight > best_target )
         {
            winner = i;
            best_target = adjusted_weight;
         }
#ifdef PREVENT_IMMEDIATE_REPEAT
         else if( adjusted_weight > second_best_target )
         {
            runner_up = i;
            second_best_target = adjusted_weight;
         }
#endif
      }

#ifdef PREVENT_IMMEDIATE_REPEAT
      if( winner == last_winner )
         winner = runner_up;
#endif

#ifdef SHOW_WINNERS
      winners += ( char )( 'a' + winner );
#  ifdef SHOW_WINNERS_WEIGHT
      ostringstream osstr;
      osstr << best_target;
      winners += "(" + osstr.str( ) + ")";
#  endif
#endif
      ++wins[ winner ];

      if( winner != balances.size( ) - 1 )
      {
         ++combined_streak;
         if( combined_streak > best_combined_streak )
            best_combined_streak = combined_streak;
      }
      else
         combined_streak = 0;

      if( winner == last_winner )
      {
         ++streaks[ winner ];
         if( streaks[ winner ] > best_streak[ winner ] )
            best_streak[ winner ] = streaks[ winner ];
      }
      else
         streaks[ winner ] = 0;

      last_winner = winner;
   }

   cout << "blocks = " << c_num_blocks << endl;

   for( size_t i = 0; i < balances.size( ); i++ )
      cout << ( char )( 'a' + i ) << ": " << balances[ i ] << endl;

#ifdef SHOW_WINNERS
   cout << winners << endl;
#endif
   for( size_t i = 0; i < wins.size( ); i++ )
      cout << "wins( " << ( char )( 'a' + i ) << " ) = " << wins[ i ] << endl;

   for( size_t i = 0; i < best_streak.size( ); i++ )
      cout << "best_streak( " << ( char )( 'a' + i ) << " ) = " << ( best_streak[ i ] + 1 ) << endl;

   cout << "best_combined_streak = " << best_combined_streak << endl;
}
Jump to: