Bitcoin Forum
July 12, 2024, 05:54:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 ... 67 »
241  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 02, 2014, 04:26:46 PM
Does anyone know what's the deal with the "0" account?

Code:
http://localhost:7876/nxt?requestType=getAccount&account=0
Code:
{    "errorCode": 4,    "errorDescription": "Incorrect "account"" }

However, there are transactions that send NXT's to it:

Code:
http://localhost:7876/nxt?requestType=getTransaction&transaction=18385933678340826032

Code:
{
    "sender": "11731960900805566730",
    "fee": 1,
    "amount": 1,
    "timestamp": 3334215,
    "referencedTransaction": "0",
    "confirmations": 48523,
    "subtype": 0,
    "block": "4009116466852765469",
    "senderPublicKey": "a9d616b10e11566f92617c8e055e170922e3212e28a0a061882ecaf6c82ce64f",
    "type": 0,
    "deadline": 1440,
    "signature": "996d2de4eaa7f4d60bb89f4730059884c7ca02dab66bdac33f2f6ace44c1bc0274d5e36b5766c948106dcbd6e1dedc55c2a24c363bb0c91d4f303a9b4276b339",
    "recipient": "0"

}

...and the blockchain explorer has an entry:

http://87.230.14.1/nxt/nxt.cgi?action=3000&acc=0

Perhaps an NRS bug?

looks like some people are sending both NXT and AMs to acct 0.  but there does appear to be a bug in that API gives error in trying to get public key for acct 0

http://localhost:7874/nxt?requestType=getAccountPublicKey&account=0 returns
{"errorCode":4,"errorDescription":"Incorrect \"account\""}  instead of either a key or {} if no key
242  Alternate cryptocurrencies / Altcoin Discussion / Re: [Nxt] API of Nxt on: March 02, 2014, 04:16:19 PM
you have to specifically enable SSL.  and when you do that, you MUST use SSL.  also when you do that, I believe you MUST EITHER create your own self-signed cert or you must purchase a signed cert.  I dont believe the NRS version  comes with the old 2008 SSL cert it used to come with
  look in wiki howto for guide on certs
243  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 02, 2014, 03:46:33 AM
So I've been having trouble setting up a node under Debian.

This is the error I get after 0.8.3 starts:

./run.sh: line 1:  3004 Killed                  java -Xmx1024M -cp nxt.jar:lib/*:conf nxt.Nxt

Help is appreciated.

did you use apt-get to install java?  give us output from "uname -a" and "which java" and "java -version"
244  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 08:08:03 PM
...
-Implemented Curve25519 algorithm:
  * NXT Solaris is now a bit like "Electrum for NXT" (a thin client that does not download the complete blockchain, connecting to untrusted NRS nodes)
...

Very cool I think this is what the community has been needing to really help adoption.  But lets talk about this from a trust and sustainability perspective...  I had initially thought that eventually, all the public VPSs that I and others have been running with donated funds would no longer be needed when the network got large enough with mass mass adoption. But with thin clients, there will *have* to be something stable for them to connect to.  Assuming NXT really takes off like we want it too, are we prepared (and is the centralization really even appropriate) to continue running a core of  public hallmarked VPSs for the purposes of servicing thin clients?  IF that is the desire, then at some point this sort-of-centralized network of public VPSs we have now will need funds to renew (I believe the 12 I am paying for with bounty should be good till EoY, and the other 13 that I manage are up to the owners to continue payment) as well as possible additional fees for extra bandwidth and CPU/memory upgrades if they end up getting hit hard for utilization.

Is there a better non-centralized model? Or am I too paranoid?  Do we just continue the current course?
245  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 07:39:51 PM
It' a bug  in the Nxt server :

Example :

Quote
{"balance":684600,"effectiveBalance":684600,"unconfirmedBalance":684300}

Are you sure thats a bug?  That tells me that the nrs instance returning that api has, just prior to that api request, processed a sedMoney request from that account for 3.00 nxt, and that transaction has just not yet been written to a block

Yes , I'm sure  Cool

where can I go to read more on the bug?  FWIW the scenario I described is 100% legitimate, so I must have missed the bug discussion on your particular scenario
246  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 07:10:56 PM
3. Before actually enabling Asset Exchange, I need to make the transition from storing transaction amounts and fees in Nxt to nano-Nxt (0.000000001 Nxt), or whatever fits in a Java long
Are you gonna use floating point?

in Nxt to nano-Nxt (0.000000001 Nxt), or whatever fits in a Java long
Are you gonna use floating point?

or whatever fits in a Java long
Are you gonna use floating point?

Java long
Are you gonna use floating point?

i love you man.  (no homo)
247  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 06:40:30 PM
Ok cfb now that source dis released, what was the fatal injected flaw, and how couldyou have killed it in under a day
248  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 06:38:51 PM

I would like to have an audit on the DGEX exchange to prevent mtgox scenario!



Go ask on nextcoin how they solve malleability issue for btc, nxt, and any other crrency they plan on adding

In fact, all people who are coordinating with exchanges needs to make the exchange they are dealing with awareo of to not just trytotrack transactionId for outgoing transactions.  Orsuffer mtgox fate (that is, if malleability really is the issue that took them down, im still not 100 percent convinced they didnt just take the money
249  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 06:21:05 PM

I would like to have an audit on the DGEX exchange to prevent mtgox scenario!



Go ask on nextcoin how they solve malleability issue for btc, nxt, and any other crrency they plan on adding
250  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 06:19:28 PM
speak of the devil. I just lost internet and all my ssh sessions got terminated along with all three of the gateways. I think there were a few pending transactions, so this is a good test to see if recreating the state from blockchain is working.

I am having some server issues, they keep saying "bind() failed: Address already in use", but all prior instances have been gone for a while...

Edit: OK, all three gateways are rescanning blockchain, just from the first possible timestamp

Could that have been why I was just seeing 'not enough funds' when trying to send DOGE back to my wallet?

I'll try sending back/forth again after my confirmations complete.

It' a bug  in the Nxt server :

Example :

Quote
{"balance":684600,"effectiveBalance":684600,"unconfirmedBalance":684300}

Are you sure thats a bug?  That tells me that the nrs instance returning that api has, just prior to that api request, processed a sedMoney request from that account for 3.00 nxt, and that transaction has just not yet been written to a block
251  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 28, 2014, 10:02:05 PM
Opticalc, would you be interested in running one of the three DAC gateways? 

I can *probably* manage one..  may have to ask lots of questions though...
252  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 28, 2014, 09:45:50 PM
Thanks for NXTCrypto Forums member ghaunt I have added another public NXT node; this makes the 26th public node Im managing.  For more info if you want to participate see https://forums.nxtcrypto.org/viewtopic.php?f=39&t=544

# ncli getState l

    availableProcessors: 4
    cumulativeDifficulty: 2413223879385787
    freeMemory: 88310768
    lastBlock: 2617388023049866714
    lastBlockchainFeeder: vps5.nxtcrypto.org
    maxMemory: 259522560
    numberOfAccounts: 25456
    numberOfAliases: 63047
    numberOfAssets: 0
    numberOfBlocks: 77515
    numberOfOrders: 0
    numberOfPeers: 215
    numberOfPolls: 0
    numberOfTrades: 0
    numberOfTransactions: 135565
    numberOfUnlockedAccounts: 0
    numberOfVotes: 0
    time: 8329532
    totalEffectiveBalance: 99531213300
    totalMemory: 259522560
    version: 0.8.3
253  Alternate cryptocurrencies / Altcoin Discussion / Re: **** Official Ethereum QA thread **** on: February 28, 2014, 08:49:58 PM
how HFT works is...

good sir, may I ask as to how to subscribe to your newsletter?
254  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 28, 2014, 03:52:56 PM
Hey I have a question with transaction malleability.  From the NXT Wiki:
Quote
Transaction malleability is an issue with Nxt, as it is with all cryptocurrencies. Do not rely on a transaction ID alone to verify transactions!
...  So if an exchange should not rely on just looking for a transactionID, what is the proper method?  Do they have to attempt to track sendingAccountID, receivingAccountId, and amount?
- there was the CfB's answer:
It's a problem only for exchanges that rely solely on transaction id. It doesn't need to be fixed. An exchange is supposed to pay attention to timestamp and other parameters of a transaction.
what parameters ,except timestamp?
Amount or ReferencedTransaction.

Can someone describe to me a practical method to use referencedTransaction for the purposes of exchanges tracking things?  Im going to add more into the exchanges page on Wiki and this will be helpful. But...

Why not be pragmatic here and fix the malleability issue in the NXT protocol?  Would be a nice feather in NXT's cap and would make things much easier for adoption for all the new systems we *want* to come to NXT in the *first* place.  IMO this could be something that allows faster adoption.
255  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 28, 2014, 03:44:06 PM
ON BEHALF OF CIYAM (China firewall-censorship issues):

a) using a good password create a SHA256 of it
b) publish a hash that is the hash from a hashed “x” times
c) lock your account then after that is confirmed send a tx from your account to another (won’t be able to actually transfer any funds even after confirmed)
d) send a tx that provides the “x-1” hash (i.e. if you hash that you get the hash that was sent in b)
result is that tx from c can now *occur* and also the locking hash has now been changed

lol wut
256  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 28, 2014, 03:33:00 PM
The two top 50M accounts!! What is their deal? Why are they not sharing their wealth or participating in the progress of their investment. I mean if we consider that the account No. 3 and No. 4 are DGEX and BTER that means they have almost double amount of coins compared to account No. 5 which has about 29M. That is a huge difference. Honestly I would be really ashamed if I was them and I am sure these two 50M amounts are poke in the eye to any new investor that looks our distribution just like they are poking my eye.

Heck, to start at least get your accounts under 50M so they are in the 40s or divide this 50M into two accounts of 25M, it will definitely look better for newcomers.
I really don't understand this!!

guys, come on... these accounts belonging to exchanges are deposits that people in this very forums have sent to these exchanges, and the exchange is holding them for people just like you and me (assuming we are users of the exchange).  They very well CANNOT just gank the funds and start giving them out to other people.

now some of those very large accounts *are not* exchanges; just single people who are perfectly content to let others do all the heavy lifting.  Some of them are people who are helping out, paying bounties, etc.

nothing really we can do.
257  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 28, 2014, 03:28:23 PM
I'm trying to simulate TF using Ian's program if we limit all accounts to a 1% forge balance.  Using 100 accounts holding 1% of the currency over a ten year period, I'm getting a combined best streak of ~23.  This is combining the first 50 accounts.  (These are the accounts assumed to be under the same control.)

Code:
// Copyright (c) 2014 CIYAM Developers
//
// Distributed under the MIT/X11 software license, please refer to the file license.txt
// in the root project directory or http://www.opensource.org/licenses/mit-license.php.

#include <ctime>
#include <cmath>
#include <cstdlib>

#include <string>
#include <vector>
#include <sstream>
#include <iostream>

//#define NUM_DAYS 1
#define NUM_YEARS 10

#define PENALISE_HIGHER_STAKE
//#define PREVENT_IMMEDIATE_REPEAT

//#define SHOW_WINNERS
//#define SHOW_WINNERS_WEIGHT

using namespace std;

const int c_combined_proportion = 2;

#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 > penalised;
   vector< int > penalising;
   vector< int > best_streak;

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

   long total_balance = 0;

   int combined_streak = 0;
   int best_combined_streak = 0;

   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );

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

   for( size_t i = 0; i < balances.size( ); i++ )
   {
      total_balance += balances[ i ];

      wins.push_back( 0 );
      weights.push_back( 0 );
      streaks.push_back( 0 );
      combined.push_back( 0 );
      penalised.push_back( 0 );
      penalising.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++ )
      {
         if( penalising[ i ] )
         {
            --penalising[ i ];
            weights[ i ] = 0;
         }
         else
         {
            int divisor = rand( ) % 10;

            if( divisor == 0 )
               ++divisor;

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

            if( weights[ i ] == 0 )
               ++weights[ i ];

            total_weight += weights[ i ];
         }
      }

      if( total_weight == 0 )
         ++total_weight;

      size_t winner = 0;
      size_t runner_up = 0;
      long best_target = 0;
      long second_best_target = 0;

      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;
         }
         else if( adjusted_weight > second_best_target )
         {
            runner_up = i;
            second_best_target = adjusted_weight;
         }
      }

#ifdef PENALISE_HIGHER_STAKE
      if( best_target == 350 ) // an above median value
      {
         ++penalised[ winner ];
         penalising[ winner ] = 1440;
      }
#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( ) / c_combined_proportion )
      {
         ++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;

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

   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;
   cout << "(combined the first " << ( balances.size( ) / c_combined_proportion ) << " accounts)" << endl;
   cout << balances.size() << endl;
}

very cool.  I cant do this type of stuff - too busy with other things.  I have a question of this scenario though; is it adding even more risk by prohibiting full balances from forging?  If we prohibit lots of NXT from forging, then does the possibility of someone obtaining 90% of forging power (though forcing to use multiple accounts to do so) actually increase?
258  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 28, 2014, 03:24:40 PM
Just a reminder: BCNext don't want NXT to be a currency. Coins on top of Nxt should be. Does this change anything?

Does this change anything regarding instant confirmation discussion?

No.

I thought the whole point of using instant transactions was for using NXT as currency.
 Huh
259  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 28, 2014, 02:50:08 PM
People this thread is giving me headhache and we are losing a ton of time reading thing and searching the subject that we are interesting, we need really to move to a forum with nice functionnality.

Also, I lost my password to my user account at https://forums.nxtcrypto.org/ and it seem that there is no way to recover it. I have contact twice the official forum e-mail. I did not get any answer for since 11 feb. It look like the https://forums.nxtcrypto.org/ is dead.

Any help?

btc24@bitcointalk is adminius@forums.nxtcrypto, the admin of those forums.  I dont think hes been online in a month.  I have been trying to give him some bounty from neer.g but he seems to have completely disappeared.  that being said, i know hes been asked by tons of people to allow password resets by email, but so far hasnt budged.

that being said, if the community as a whole wants to get yet another forums site up and running and volunteer admined then I suppose that can be done.  And if indeed btc24 has been hit by a bus then I guess eventually the forums will break or miss payment and get shut downl i could then change DNS to the new forums if necessary.

or whatever the community as a whole agrees on I will change DNS
260  Alternate cryptocurrencies / Altcoin Discussion / Re: **** Official Ethereum QA thread **** on: February 28, 2014, 02:36:20 PM
OK people, I know what HFT is, but WTF is OT?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 ... 67 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!