Author

Topic: NXT :: descendant of Bitcoin - Updated Information - page 550. (Read 2761624 times)

sr. member
Activity: 308
Merit: 250
Hello,

I have a small question about TestNode, could someone answer me ? Wink

Is a testnode a normal node intended to be run on a dedicated/server or is it a node just to test the network and new versions ?

Thanks
There used to be a big difference between a test node and normal one. However, now it is just a matter of one change in the properties file in nxt/conf

nxt.isTestnet=true

You also need to set testnet peers:

nxt.testnetPeers=bug.airdns.org

testnodes are used by devs and testers so we can make sure it is ready for the mainnet

James

Your testnode doesn't work any more, switching to nxtsolaris.
Thats strange, I tested it and it was working for me. Probably I messed up the config file as I forgot to use the one that worked and had to make a new one.

If you arent using it, then I wont bother with the changes to allow external access.

James

Probably didn't allow API CORS?
newbie
Activity: 2
Merit: 0
OK, so the "e" doesn't necessarily stand for experimental...
atm 0.8.5 is experimental and we should test it on test network (this corresponds to what is displayed on update.html)...
but, new and inexperienced users should still be pointed to the 0.7.6 download?

I don't know. The 0.7.6 will no longer be maintained, 0.8.5 has bugfixes, but also new features relative to 0.8.3, so it may have other bugs.

We need a QA team even more than we need java developers. There is only so much testing that I can do myself. Even when we have unit tests one day, we will still need functional testing. At the end, it should be the QA team that declares a release stable.


Hi Jean-Luc,

The Nxt is a brilliant product, and support multi-language and easy deploy will make it better, yes there are many third-part "easy use" client, but a one-click setup client is good to see on offcial website:), you know 80% people in this world has no linux experience even bat file on windows Sad.

About multi-language, I see languages are hardcode in html file, is it possible to support multi-language in future version? I can help on Chinese translation:)

Thanks.
legendary
Activity: 1176
Merit: 1134
Hello,

I have a small question about TestNode, could someone answer me ? Wink

Is a testnode a normal node intended to be run on a dedicated/server or is it a node just to test the network and new versions ?

Thanks
There used to be a big difference between a test node and normal one. However, now it is just a matter of one change in the properties file in nxt/conf

nxt.isTestnet=true

You also need to set testnet peers:

nxt.testnetPeers=bug.airdns.org

testnodes are used by devs and testers so we can make sure it is ready for the mainnet

James

Your testnode doesn't work any more, switching to nxtsolaris.
Thats strange, I tested it and it was working for me. Probably I messed up the config file as I forgot to use the one that worked and had to make a new one.

If you arent using it, then I wont bother with the changes to allow external access.

James
legendary
Activity: 1176
Merit: 1134
Unless I hear otherwise, I will assume that Mr 47...88 wants NXT to be able to trade crypto to crypto within NXT.
Atomic crosschain is by definition NXT blockchain <-> BTC blockchain (or other pair).
It is not NXT blockchain <-> NXT AE <-> BTC blockchain.
If the first is impossible, please give the proof.

In order to have the NXT core directly interface with the BTC blockchain, we would need to put some bitcoind functionality into the NXT core. That would mean finding a Java implementation or porting bitcoind, and each and every update to bitcoind. So, it is not impossible, just impractical. By the time the new bitcoind version is ported to Java, a new one is probably just around the corner.

In addition to being impractical, doing a cross chain transaction for each transaction adds a lot of overhead and time, especially if somebody is actively trading. There is also no assurance that the trade will complete since it requires both parties to have fully funded account and to follow through with sending their side of the transaction.

The advantage of NXT blockchain <-> NXT AE <-> BTC blockchain, is that the deposit of BTC is automated and when it is traded in AE, there is a guarantee of payment. So while technically it might not be automated cross chain, it actually solves the problem of automatically converting NXT <-> BTC.

I am not the expert in the secret sharing methods for the atomic cross chain trades, so it might be possible to add to the NXTcore the required secret sharing logic that is needed for this. Then there would need to be a way for the two parties to come to agreement on price and we cannot use the AE, so that is essentially the same sort of thing, just different. After the two parties agree to a price, they would need to invoke some sort of semi-automated process where each one locally signs and broadcasts their half of the shared secret transaction. There is no assurance that both parties will fully satisfy the transaction and it could all just not happen if either of them bails out. Then assuming we have ported a subset of bitcoind into the NXTcore, it could do the rawtransaction secret sharing monitoring.

It just seems to me that the NXT blockchain <-> NXT AE <-> BTC blockchain solution is much closer to what users are expecting. It also has the advantage that people will be able to trade any crypto against any other using a decentralize AE. That will be a uniquely powerful advantage for NXT.

Which solution to automated crypto trading is your preference?

James
sr. member
Activity: 294
Merit: 250

Getting this:

[2014-03-04 14:44:44.167] DEBUG: processed block 45000
[2014-03-04 14:45:25.508] DEBUG: Stopping background jobs...

and then no more Java process.. why?
legendary
Activity: 1778
Merit: 1043
#Free market
Added a testnet node which is publicly visible at

testnxt-we.cloudapp.net

we = western europe, will add some more at different locations if this one is stable.

accepts connections for all 6874-6876 ports
I added some monitoring on API response and network traffic so if it dies I should get an alert and I can restart.

using up some cloud credits so this one and any others I add will stay around for then next month and then I will see based on the running costs.

Please can I have some testnxt to 2682312341463682985

Thanks



Sent 5K TestNxt to everyone , enjoy it Wink
sr. member
Activity: 308
Merit: 250
Are the AE tests still going on and is there any point me joining, is there much of a learning curve beyond setup of a client?

TEST HERE : http://nxtra.org/nxt-client/
create a passphrase only for your testaccount
ask here for some TESTNXT with your account number  
like me :

plz send me some TESTNXT to 6770698723651913351



Would appreciate testnxt: 12745592950286399800

Anymore available?

Thanks!

EDIT: link above is not working for me...

What's not working about it?
legendary
Activity: 1792
Merit: 1038
Please can I have some testnxt to 2682312341463682985
some testNXTs sent.  

If someone needs testNXT, ask them here: https://forums.nxtcrypto.org/viewtopic.php?f=2&t=832
sr. member
Activity: 952
Merit: 253
Added a testnet node which is publicly visible at

testnxt-we.cloudapp.net

we = western europe, will add some more at different locations if this one is stable.

accepts connections for all 6874-6876 ports
I added some monitoring on API response and network traffic so if it dies I should get an alert and I can restart.

using up some cloud credits so this one and any others I add will stay around for then next month and then I will see based on the running costs.

Please can I have some testnxt to 2682312341463682985

Thanks
sr. member
Activity: 308
Merit: 250
Hello,

I have a small question about TestNode, could someone answer me ? Wink

Is a testnode a normal node intended to be run on a dedicated/server or is it a node just to test the network and new versions ?

Thanks
There used to be a big difference between a test node and normal one. However, now it is just a matter of one change in the properties file in nxt/conf

nxt.isTestnet=true

You also need to set testnet peers:

nxt.testnetPeers=bug.airdns.org

testnodes are used by devs and testers so we can make sure it is ready for the mainnet

James

Your testnode doesn't work any more, switching to nxtsolaris.
legendary
Activity: 1176
Merit: 1134
Hello,

I have a small question about TestNode, could someone answer me ? Wink

Is a testnode a normal node intended to be run on a dedicated/server or is it a node just to test the network and new versions ?

Thanks
There used to be a big difference between a test node and normal one. However, now it is just a matter of one change in the properties file in nxt/conf

nxt.isTestnet=true

You also need to set testnet peers:

nxt.testnetPeers=bug.airdns.org

testnodes are used by devs and testers so we can make sure it is ready for the mainnet

James
newbie
Activity: 19
Merit: 0
Unless I hear otherwise, I will assume that Mr 47...88 wants NXT to be able to trade crypto to crypto within NXT.
Atomic crosschain is by definition NXT blockchain <-> BTC blockchain (or other pair).
It is not NXT blockchain <-> NXT AE <-> BTC blockchain.
If the first is impossible, please give the proof.
legendary
Activity: 1176
Merit: 1134
Smart tech folks: stick your heads together and form a QA team.
A lot of productive testing can be done by users who test all the basic functions
It is a matter of coming up with a check list of operations to do, eg. make alias, verify it works, issue asset, etc.etc.

Please help us overworked devs. You dont have to be technical to help come up with a test plan, and once we have test plan (check list of stuff to verify), then pretty much anybody can test.

James
legendary
Activity: 866
Merit: 1002
does anyone know what version are bter, dgex, cryptsy running?
legendary
Activity: 1176
Merit: 1134
Does anybody know what to do when a transaction is seen on the server that submitted it, but it is not seen anywhere else?

DOGE txid eb9c4d8a9d11dc02d36092aea8a9ecc0a49d893b498e651960c320a8c8908e38
it is not visible anywhere, except on the server that issued the actual sendrawtransaction.

Because of this mismatch, the three servers will not agree on the state of the multisig acct and withdrawals will stop. If I try to submit it again, I get an error -22, which means the transaction has already been submitted.

All servers are seeing all the transactions before and after this one. The rawtransaction itself seems OK, but it never gets any confirmations and gettransaction fails to see it, even on the machine that issued it?!

This was a sweep transaction that goes from user deposit address into the multisig.
I wonder if this could be due to lack of TXFEE? I am BTC's TXFEE of .0001, but DOGE's is 1.0. However, it usually doesnt even need any TXFEE. I do get a warning from DOGE-QT sometimes saying that I need to pay a fee. Does anybody know how I am supposed to determine if fee is needed?

James

Code:
# gettxout 0
{
    "bestblock" : "d5bc84da18da2b89c79124732bf33c3942854bb041f8208577645bc51a09766d",
    "confirmations" : 0,
    "value" : 0.99990000,
    "scriptPubKey" : {
        "asm" : "OP_DUP OP_HASH160 14b24a5b6f8c8df0f7c9b519d362618ca211e609 OP_EQUALVERIFY OP_CHECKSIG",
        "hex" : "76a91414b24a5b6f8c8df0f7c9b519d362618ca211e60988ac",
        "reqSigs" : 1,
        "type" : "pubkeyhash",
        "addresses" : [
            "D72Xdw5cVyuX9JLivLxG3V9awpvj7WvsMi"
        ]
    },
    "version" : 1,
    "coinbase" : false
}

# gettxout 1
{
    "bestblock" : "d5bc84da18da2b89c79124732bf33c3942854bb041f8208577645bc51a09766d",
    "confirmations" : 0,
    "value" : 10.99990000,
    "scriptPubKey" : {
        "asm" : "OP_HASH160 052e9326e4b92d2884a4f325fb1fefbccd5bd1eb OP_EQUAL",
        "hex" : "a914052e9326e4b92d2884a4f325fb1fefbccd5bd1eb87",
        "reqSigs" : 1,
        "type" : "scripthash",
        "addresses" : [
            "9rufqRXAekAx4gnGuKf5SL8YzViMfryLMY"
        ]
    },
    "version" : 1,
    "coinbase" : false
}

# rawtransaction
{
    "txid" : "eb9c4d8a9d11dc02d36092aea8a9ecc0a49d893b498e651960c320a8c8908e38",
    "version" : 1,
    "locktime" : 0,
    "vin" : [
        {
            "txid" : "766137747b8280ad20af5cae13b37899c544b44cc35cc12bdd7e3b4e748444f4",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "0 304402205da1d9e78c75edbb4dcea3ed4b4b0ab0aade7f3795eea80c68b668feb11cc3cc02200ab7c616623ecca17845b512fc13c75be78988f2f87aaebe6ce0f1986c15815b01 304502203391a4564cfed0f13cc97deb090fd0aa4102e92f47e5fd6e7fbd6bb8d629abcf02210083d94ea934f26a0dd19fd7855ef455e1d89faa5f6fe67966f96c04cd0afe02b301 52210287300d3f7447c84c0ec6052440285d99f2211aba6eb17b9d6baa9b62cd16f8d52102b6b6aa9320c60d47b795748ae5291e94f56267411096f8ea42d6f7202ba0819c2102daa52056d79777afa25001b957d9e4cc2eba1e3639bd390681db149f1cd174fb53ae",
                "hex" : "0047304402205da1d9e78c75edbb4dcea3ed4b4b0ab0aade7f3795eea80c68b668feb11cc3cc02200ab7c616623ecca17845b512fc13c75be78988f2f87aaebe6ce0f1986c15815b0148304502203391a4564cfed0f13cc97deb090fd0aa4102e92f47e5fd6e7fbd6bb8d629abcf02210083d94ea934f26a0dd19fd7855ef455e1d89faa5f6fe67966f96c04cd0afe02b3014c6952210287300d3f7447c84c0ec6052440285d99f2211aba6eb17b9d6baa9b62cd16f8d52102b6b6aa9320c60d47b795748ae5291e94f56267411096f8ea42d6f7202ba0819c2102daa52056d79777afa25001b957d9e4cc2eba1e3639bd390681db149f1cd174fb53ae"
            },
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            "value" : 0.99990000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 14b24a5b6f8c8df0f7c9b519d362618ca211e609 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a91414b24a5b6f8c8df0f7c9b519d362618ca211e60988ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "D72Xdw5cVyuX9JLivLxG3V9awpvj7WvsMi"
                ]
            }
        },
        {
            "value" : 10.99990000,
            "n" : 1,
            "scriptPubKey" : {
                "asm" : "OP_HASH160 052e9326e4b92d2884a4f325fb1fefbccd5bd1eb OP_EQUAL",
                "hex" : "a914052e9326e4b92d2884a4f325fb1fefbccd5bd1eb87",
                "reqSigs" : 1,
                "type" : "scripthash",
                "addresses" : [
                    "9rufqRXAekAx4gnGuKf5SL8YzViMfryLMY"
                ]
            }
        }
    ]
}

full member
Activity: 236
Merit: 100
 to redsn0w
don't receive testnxt
plz resend
1562462127635514638
legendary
Activity: 1176
Merit: 1134
OK, I got all the test nodes updated

The following is brute force, but it seems to do the trick:

Code:
pkill -15 java
cp nxt/conf/* .
rm -rf nxt
wget http://download.nxtcrypto.org/nxt-client-0.8.5.zip
unzip nxt-client-0.8.5.zip
cp *.properties nxt/conf
cd nxt
nohup ./run.sh &

I deployed a lot of servers so there are quite a few test nodes now, I am seeing 200+ peers, so the test network will simulate the behavior of the mainnet much better.

James
legendary
Activity: 1181
Merit: 1018
0.8.4e still has bugs in unconfirmed balance handling. Wait until I release a fix.


yes, I did see 85,000 in the unconfirmed balance instead of 10,000 on my real nxt working account today
Can you try again with 0.8.5?


0.8.5 runs on testnet and on realnet w/o obvious deviations - I saw that too high 'unconfirmed balance' today for about 30 minutes ...


sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
OK, so the "e" doesn't necessarily stand for experimental...
atm 0.8.5 is experimental and we should test it on test network (this corresponds to what is displayed on update.html)...
but, new and inexperienced users should still be pointed to the 0.7.6 download?

I don't know. The 0.7.6 will no longer be maintained, 0.8.5 has bugfixes, but also new features relative to 0.8.3, so it may have other bugs.

We need a QA team even more than we need java developers. There is only so much testing that I can do myself. Even when we have unit tests one day, we will still need functional testing. At the end, it should be the QA team that declares a release stable.


My hope is that we will have that through the vast number of testnet nodes now.
Jump to: