Bitcoin Forum
May 24, 2024, 05:52:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 [128] 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761533 times)
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 04:52:55 PM
 #2541

What was the release plan for the decentralized exchange again? I know I read something in here but can't seem to find it.

Stakeholders have not decided yet. Decentralization has some disadvantages.
Last suggestion was to release source code of all basic features on 3rd of January in any case. If no flaws found by the community then launch the exchange (closed source).
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 04:54:46 PM
 #2542

Looks like 0.3.15 on my computer can't load blocks. It load blockchain when start up to actual date, and then show "Catching up..." constantly. There are no errors in console.

Delete all nodes in Active peers except blue ones.
ImmortAlex
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
December 07, 2013, 04:58:26 PM
 #2543

Delete all nodes in Active peers except blue ones.
I have only localhost and 127.0.0.1 except well-known nodes.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 05:01:36 PM
 #2544

Delete all nodes in Active peers except blue ones.
I have only localhost and 127.0.0.1 except well-known nodes.

Do u announce ur IP via "myAddress" in web.xml?

PS: Try https://dl.dropboxusercontent.com/u/67242472/nxtfiles.zip, it contains blockchain at height 10058.
Sharky444
Hero Member
*****
Offline Offline

Activity: 724
Merit: 500


View Profile
December 07, 2013, 05:23:40 PM
 #2545

Any ETA on build 16? This weekend?

Radix - just imagine
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 05:24:48 PM
 #2546

Any ETA on build 16? This weekend?

In 2 days, we need most of peers to update to 0.3.15.
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001


View Profile
December 07, 2013, 05:28:00 PM
 #2547

I'm considering supporting NXT on dividendrippler.com, but I'm still wrapping my head around the protocol and implementation. If you could enlighten me, I'd like to know;

- What's a safe number of confirmations for a transaction to be trusted. I would assume that there being one block per minute, and keeping with bitcoin's 1 hour rule that would be 60 for fair trust level, but for rapid transaction processing (such as in a gambling site) what would be the minimum number of transactions?
- How are fees calculated? There's a 1NXT minimum fee per tx, if I read things correctly, but are there transaction size issues to be worried about? Block size?
- I don't see in the API a way to get the equivalent to the memory pool, a list of transactions waiting inclusion. Can I get that somehow?
- Can I work with raw transactions? I would particularly need to be able to sign transactions "offline".
- Can I create accounts offline? I assume that we're talking about a simple double sha256 of the passphrase so what I'd need to do is create random passphrases and derive the account number from those? Will the network accept sending to any account address or is there any kind of "registration" message that needs to be propagated first?

Thanks in advance!
ImmortAlex
Hero Member
*****
Offline Offline

Activity: 784
Merit: 501


View Profile
December 07, 2013, 05:39:02 PM
 #2548

Do u announce ur IP via "myAddress" in web.xml?
No.

PS: Try https://dl.dropboxusercontent.com/u/67242472/nxtfiles.zip, it contains blockchain at height 10058.
Doesn't help, I stuck on 10075.

BTW, there's very small number of nodes: 88.198.210.245, 146.185.168.142,    87.230.14.1, nxt.c4c.io, 54.196.0.71, nxt.airdns.org, fluce.airdns.org, 69.146.88.14. That's all.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 05:46:58 PM
 #2549

- What's a safe number of confirmations for a transaction to be trusted. I would assume that there being one block per minute, and keeping with bitcoin's 1 hour rule that would be 60 for fair trust level, but for rapid transaction processing (such as in a gambling site) what would be the minimum number of transactions?

10 Nxt confirmations ~ 1 BTC confirmation. If u send winnings and reference betting transactions (via "referencedTransaction" in "sendMoney" request) then both or none of the transactions will be confirmed (these r so-called chained transactions).


- How are fees calculated? There's a 1NXT minimum fee per tx, if I read things correctly, but are there transaction size issues to be worried about? Block size?

Blocks r limited to 32 KiB. Reference soft takes into account size of transactions when sort them, ordinary payments r always 128 B long.


- I don't see in the API a way to get the equivalent to the memory pool, a list of transactions waiting inclusion. Can I get that somehow?

This is not implemented, post ur request in API thread.


- Can I work with raw transactions? I would particularly need to be able to sign transactions "offline".

U can use "sendMoney" to get a transaction id. Then use "getTransactionBytes" to get raw bytes. Then go online and use "broadcastTransaction" (disabled atm).
In a pseudo-script language this would look like
Code:
broadcastTransaction(getTransactionBytes(sendMoney(transactionData)));
NB: U can broadcast any transactions making other peers to recall them.


- Can I create accounts offline? I assume that we're talking about a simple double sha256 of the passphrase so what I'd need to do is create random passphrases and derive the account number from those? Will the network accept sending to any account address or is there any kind of "registration" message that needs to be propagated first?

Any 64 bit unsinged number can be used as a valid account id. If u need API for converting a passphrase into the account id then post this in API thread.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 05:50:27 PM
 #2550

Do u announce ur IP via "myAddress" in web.xml?
No.

PS: Try https://dl.dropboxusercontent.com/u/67242472/nxtfiles.zip, it contains blockchain at height 10058.
Doesn't help, I stuck on 10075.

BTW, there's very small number of nodes: 88.198.210.245, 146.185.168.142,    87.230.14.1, nxt.c4c.io, 54.196.0.71, nxt.airdns.org, fluce.airdns.org, 69.146.88.14. That's all.

90% of all nodes r zombie nodes controlled by the hacker who helps to test the network.

Try
1. Stop soft.
2. Delete peers.nxt.
3. Start soft.
several times.

Edit: Also remove all well known peers from web.xml except 88.198.210.245.
abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
December 07, 2013, 05:59:48 PM
 #2551

"Not allowed" is sent if "allowedBotHosts" set.
- I have
Code:
     <param-name>allowedBotHosts</param-name>
     <param-value></param-value>
in my web.xml. Does it set "allowedBotHosts" ?

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 06:02:43 PM
 #2552

"Not allowed" is sent if "allowedBotHosts" set.
- I have
Code:
     <param-name>allowedBotHosts</param-name>
     <param-value></param-value>
in my web.xml. Does it set "allowedBotHosts" ?

Put "*" between "><".
abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
December 07, 2013, 06:08:17 PM
 #2553

Put "*" between "><".
- hmm..  Why I need to do this?   another peer ("Bot") could steal my secret phrase from plain text http request to my server (localhost).

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 06:10:32 PM
 #2554

Put "*" between "><".
- hmm..  Why I need to do this?   another peer ("Bot") could steal my secret phrase from plain text http request to my server (localhost).

I'm talking about an asterisk, not ur secret phrase. Or put there ur host u connect from.
abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
December 07, 2013, 06:18:19 PM
 #2555

I'm talking about an asterisk, not ur secret phrase. Or put there ur host u connect from.
-an asterisk allows to connect any peer, doesn't it ?
I have put 'localhost' there (I connect from the same Win7 computer), it doesn't help to obtain a hallmark, I still receive "Not allowed" response.

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 06:26:06 PM
 #2556

I'm talking about an asterisk, not ur secret phrase. Or put there ur host u connect from.
-an asterisk allows to connect any peer, doesn't it ?
I have put 'localhost' there (I connect from the same Win7 computer), it doesn't help to obtain a hallmark, I still receive "Not allowed" response.

I bet ur local host looks like "0:0:0:0:0:0:0:1". Look there.
abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
December 07, 2013, 06:28:48 PM
 #2557

I bet ur local host looks like "0:0:0:0:0:0:0:1". Look there.
- no, it looks:
Code:
{"host":"127.0.0.1","address":"127.0.0.1"}

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001


View Profile
December 07, 2013, 06:30:49 PM
 #2558

- What's a safe number of confirmations for a transaction to be trusted. I would assume that there being one block per minute, and keeping with bitcoin's 1 hour rule that would be 60 for fair trust level, but for rapid transaction processing (such as in a gambling site) what would be the minimum number of transactions?

10 Nxt confirmations ~ 1 BTC confirmation. If u send winnings and reference betting transactions (via "referencedTransaction" in "sendMoney" request) then both or none of the transactions will be confirmed (these r so-called chained transactions).


chained transactions only prevent part of the problem. The real issue comes from showing bet results too early, allowing the losing bets to be double spent and only the winning ones going through untouched. The effort in BTC terms to orphan an already propagated block are high enough to accept a single confirmation on low value transactions. I'm just trying to get a feel on what would the equivalent be in NXT terms.

Quote

- How are fees calculated? There's a 1NXT minimum fee per tx, if I read things correctly, but are there transaction size issues to be worried about? Block size?

Blocks r limited to 32 KiB. Reference soft takes into account size of transactions when sort them, ordinary payments r always 128 B long.


So what does that mean for fees? Is the rule atm a flat  1 NXT per tx?

Quote

- I don't see in the API a way to get the equivalent to the memory pool, a list of transactions waiting inclusion. Can I get that somehow?

This is not implemented, post ur request in API thread.


- Can I work with raw transactions? I would particularly need to be able to sign transactions "offline".

U can use "sendMoney" to get a transaction id. Then use "getTransactionBytes" to get raw bytes. Then go online and use "broadcastTransaction" (disabled atm).
In a pseudo-script language this would look like
Code:
broadcastTransaction(getTransactionBytes(sendMoney(transactionData)));
NB: U can broadcast any transactions making other peers to recall them.

What I was aiming for is as much independence from the client as possible, effectively implementing the code elsewhere. Thus creating the transaction using sendMoney would be great *if* I can get an unsigned raw tx, sign it in my code without using the ref client and then ask the client to propagate it. In other words, I need to ask the client for an unsigned transaction and I need to be told how signing is implemented so I can reproduce in my own code. Is any of this already available?

Quote

- Can I create accounts offline? I assume that we're talking about a simple double sha256 of the passphrase so what I'd need to do is create random passphrases and derive the account number from those? Will the network accept sending to any account address or is there any kind of "registration" message that needs to be propagated first?

Any 64 bit unsinged number can be used as a valid account id. If u need API for converting a passphrase into the account id then post this in API thread.

I really need a description of the process, not an API. This is yet another thing I must have done without depending on the ref client. Is there any explanation of the algorithm used?
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 07, 2013, 06:33:44 PM
 #2559

I bet ur local host looks like "0:0:0:0:0:0:0:1". Look there.
- no, it looks:
Code:
{"host":"127.0.0.1","address":"127.0.0.1"}

There we go.
abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
December 07, 2013, 06:34:25 PM
 #2560

for some strange reason
Code:
     <param-name>allowedBotHosts</param-name>
     <param-value></param-value>
does not allow "localhost" but seems allow "127.0.0.1"

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
Pages: « 1 ... 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 [128] 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 ... 2557 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!