Bitcoin Forum
June 23, 2024, 12:14:36 PM *
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 »
101  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 03, 2014, 10:21:37 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 0.8.4e

http://download.nxtcrypto.org/nxt-client-0.8.4e.zip

sha256: 9778318546c73f5585669a560ab07af483d0b1ac5c30e3580ebf8524acae1825


Change log:

Several changes in the calculation of unconfirmed balances and
unconfirmed asset balances. This is an attempt to fix the
negative unconfirmed balance bug and "Not enough funds" error,
but hasn't been tested, this is why this release is experimental.

Enabled use of testnet just by setting nxt.isTestnet property
in nxt.properties. No other changes are needed.

When switching to testnet by setting nxt.isTestnet=true, peer
port becomes 6874, UI port 6875, and API server port 6876.
Those values are hardcoded to prevent mistakes and take
precedence over any custom port values in nxt.properties.
Also, when NOT using testnet, the server will refuse to start
if peer port is set to 6874, again to prevent accidental
mixing of real and test blockchains.

For testnet, a new subdirectory for the test blockchain will
be automatically created, nxt_test_db.

You need to set nxt.testnetPeers to a list of known public
test nodes. I have set up bug.airdns.org with the 0.8.4e code,
and a copy of the testnet blockchain, as obtained from holms.
I hope other people will also set up test nodes and announce
them on the forum.

In this release, when switching to test net, the Voting and
Asset Exchange features will be automatically enabled. On the
real net, they will still be disabled. The NRS UI client
however doesn't support those features, so you would need to
use a different UI, or use the http API directly.

Added nxt.knownBlacklistedPeers parameter, for manual
blacklisting of peers in the nxt.properties file.

No longer overwrite the peer address with its announced
address in the Active peers panel, use only the IP to uniquely
identify a peer.

Allow disabling of the DoSFilter for the peer networking
server. Added nxt.peerServerDoSFilter.maxRequestMs=300000
parameter, because the default value for the DoSFilter
maxRequestMs forcefully closes peer requests taking longer
than 30 s, which breaks blockchain downloads for slow peers.
This is very likely the cause for the Jetty error warnings
we had back in 0.5.x days.

Added Generator.getAccount method, and START_FORGING and
STOP_FORGING events, of interest to Java API clients.

Added run.bat script for Windows users.

Source code is now included in the release package under
the src directory. The compile.sh and javadoc.sh scripts
can be used to compile the source, and regenerate nxt.jar
and the javadoc documentation.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJTFP4qAAoJEFOhyXc7+e2AVEgQAIWNSlu5YCNt5UiwbCF0qVbR
EpU1k2fQfbQPfIa5EFw48gEU/5yc9NuVfLZ2EM1OWIxaWLgR38uKy6XR8WaT8UlJ
tTicbrHoZA6Ffiy0YqYWySzJvDJ5Dhj11I253yZh9Lql+/8t8xKMlX06gJNwV1jZ
a+2rhpEVB8VFSBORGQQgaiRhqVX417/7nYENd5P/5KuEhP+u/5GxVKlEXccLAmsW
yJT9A2oxLECkEEb5iLVeWLm7sJuqfL7uFG/mwnV5tzwruo+hG3Ow2vNu20Bv1FuX
I3qnm0ZNzs2CdiOUvUU3Ev3tCfHdCpMqJk2Nsk5eIQfAF74swL+0MpDx/run5w91
4zYiOIUcu85CC1lwZ+12pBo5bMGrbzGD1gYjnZBQBnO+2We1DRTXq3lQTjk116FA
TwStx4gvEZfnU62+j3pNcZ279rb83EbFa/9fJHRQbUcwCuqFh/rOElSBfQLdeB6I
IpGleo9sNELPsXxr/e+fEY/4J9g2/bP7Rg/SV1+Vy0bRqV7MRryaTGt1mj4WxgyR
FkG9stBdojcad7v8CCsTLFCkxvUm4tI5ast9qS3LpSacmuHYG3gGwOh6Vxkb/49y
hxpEoRLXtRspEliLKO2VBGhorG4H+7r9iAr4Q/n2e+6KtTzbQ9bfKePK1SxKhgvU
s46Hl1xUl8KOUXxUOu7o
=o/W0
-----END PGP SIGNATURE-----
102  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 03, 2014, 09:15:23 PM
I'll volounteer to try to put up a node on test net if you can tell me how to switch a node to test net
I will explain in the release notes for 0.8.4e, hopefully later tonight.
103  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 03, 2014, 09:06:21 PM
I am setting up a test net server that I will be maintaining myself. I will need people to run additional test nodes, so that we have a real test network, not just one or a few servers. Perhaps some of our existing public nodes can be switched to test net instead.
104  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 02, 2014, 12:01:26 PM
Problems starting the 0.8.3...

1) First... using "sh run.sh"
Quote
Error: Could not find or load main class nxt.Nxt

2) Second... using "java -cp /mnt/nxt/nxt.jar:/mnt/nxt/lib/*:conf nxt.Nxt"
Quote
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: nxt-default.properties not in classpath and system property nxt-default.properties not defined either
at nxt.Nxt.(Nxt.java:75)

run.sh assumes you are inside the nxt directory, so all paths in the classpath are relative to it. If not, you have to use absolute paths, and in the example above also do that for "conf", assuming it is under /mnt/nxt:

java -cp /mnt/nxt/nxt.jar:/mnt/nxt/lib/*:/mnt/nxt/conf nxt.Nxt
105  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 02, 2014, 11:54:00 AM
@JL, CfB did you drop the 'numberOfUsers' field from the 'getState' request? It does not seem to appear there any more.. If not, what am I making wrong?
I dropped this field because it has nothing to do with the server state. It is very specific to the NRS client UI only and represents the number of its user sessions. But it does not reflect users using clients that connect through the http API, or through the Java API.

As for the status of testnet and holms.cloudapp.net, CfB should know, I don't work on that.
106  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 06:01:12 PM
This is what I plan to do next:

1. In 0.8.4 I am adding the ability to easily switch between real net and test net. First, this will allow anyone to use the test network with just a single change in nxt.properties, no need for a different client (of course for features like Asset Exchange one will have to use Wesley's client, but the Nxt core code will be the same). This will allow many more people to participate in testing. Second, by having the test network and the real network run exactly the same code, with the only difference being at which block height features like AE and Voting become enabled, there will be no risk of additional bugs introduced in porting, or any need for porting of code from test server code to main code.

2. We need to get the Asset Exchange feature rolled out. There is one remaining critical bug, the wrong calculation of unconfirmed asset balances, which I have tried to fix in the latest 0.8 code, but haven't been able to test yet because the test net was still on 0.7.6. Thus the importance of the previous point about having test net in code sync with the main one.

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, given that the max possible balance or transaction amount is 1000000000 Nxt. I previously thought about adding a new transaction type, but this will be more complicated and ugly in the long run, so better do it right. At first this is just about increasing the precision at which amounts are stored, enabling actual usage of fractional amounts and fees will be done at a later step. But this has to be finished before the AE is turned on, it will be much more difficult after that. And it will have to be very well tested, so again we need a reliable test network.

4. I need to move the remaining classes that are still stored in memory only - Account, Alias, Asset, Order... into the database. It is not critical yet, because they don't take much space, but has to be done before it becomes a problem, especially with the Asset Exchange that currently needs to keep all open orders and trades in memory.
107  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 01, 2014, 03:04:45 PM
I have made the current source code repository public:

https://bitbucket.org/JeanLucPicard/nxt/

Master branch is still 0.7.6, develop is 0.8.3 plus latest unreleased changes.
108  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT Funding Committee Candidate Statements on: February 27, 2014, 02:39:15 PM
I apply for the NXTtechdevfund. I have been working on the Nxt code since Dec 25, 2013, and have taken it from a single java file to where it is now. I am much more comfortable writing code than managing projects, but I will certainly have an opinion about the directions in which the Nxt core should be developed, and so I should be involved in deciding what projects make sense to be funded, and estimating the efforts needed to complete a project given the current state of the Nxt core.

109  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 26, 2014, 08:13:54 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 0.8.3

http://download.nxtcrypto.org/nxt-client-0.8.3.zip

sha256: 9a59c60336e01e87a3a1484697dd35a57d8782747145f8049496e19cbffdd537


Change log:

Fixed UI problems with display and updates of My Transactions.
Consistent counting of transaction confirmations. Transactions included
in the last block are considered having 0 confirmations.

When a block is pushed, the BLOCK_PUSHED event is now emitted before
the REMOVED_UNCONFIRMED_TRANSACTIONS and ADDED_CONFIRMED_TRANSACTIONS
events.

Added BlockchainProcessor.RESCAN_BEGIN and RESCAN_END events, triggered
before and after a re-scan (not the regular start-up scan).

Fixed a few null pointers caused by bad peer data.

Improved handling of peer addresses and hallmarks.

Added blacklisted status to peer info.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJTDkldAAoJEFOhyXc7+e2Ag+AP/2Loj424Fy7FWFC3Nr8xD9Y2
RaMaG8qSX6sKnSmvzp6ogLQF9RwNRdR+7ebhUjOB4NaObT2VcVFP6GUHpzXEQH+J
v44pV/odFTzlnRCgGWREzteUmjG01xyoSpp7CEaqd8ZSnvFuLg0MCq2viHhCIg0M
/tEYLK7RmrcGMrsPOUutg3xME1ERoRC1YjuMPCCJSSP9JHm2L7D2S4LxvH+xQT8x
OwPoKXmgsMn8nXsudMRWMyVAwzpYT4AkgUqXYzsLBMeVKcLePfbwgqzMT6Z9IKUR
MTStGn3dXYsm7+2n2zP+oDy1ob3FKGlnMmqa/BaHZySpwTLD0kebPLRVjkgoj3eD
2apwugeeP84eLVKy7o1LApRXrVSYdw3MW/ZIDe2H/8LF3HaHuINNXSAgX3aslvyR
kJxkcRyAFl9C7nT0mSH2vUAHk3n3hA/1meuJ4rCOw03JxI3wMjJGjR4sHtWO4ik3
r7I4UywzG89ABXZOAM9Q7ItO3NL5HdrcGfsDSc0hVZehqKYDHOZSdrPpb03rJont
NOYxo4oEsf8DGOLFiLtYGN9zCtWkjsVl3fKMvVmRIqutz/VqSXL2kQIdVR6oUI9k
QMBXMUfzXAiEcOdYPx0VjqaJmbitLVF0qXL+TByTkROzP7TRYqJHWdCzqiAA3Jr3
9UpvYGW111MyHY53Hcyf
=7618
-----END PGP SIGNATURE-----
110  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 25, 2014, 06:05:54 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 0.8.2e

http://download.nxtcrypto.org/nxt-client-0.8.2e.zip

sha256: cd0ceda97fd1752d6fa2877bd4a343570f8b62ae1de2009cd7688087c619c3d4


Change log:

Mostly minor fixes for problems reported with 0.8.1e.

Fixed hallmark string in json peer info.

Improved Logger, added removeListener methods.

Don't set Content-lenght headers when using XMLHttpRequest to send POST
requests.

Added jetty-security jar.

Moved worker_sha256.js to tools.

Also add random mynxt.info nodes to default wellKnownPeers.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJTDNiwAAoJEFOhyXc7+e2A1lYQANcxMSCbyzTkzYKLwGFtphxe
3gtZfbN+PW/KZrvp3am4pRKiP2HsEVxKzk8UjC2dRUYkbNKc/K79ck9o+qkIprqF
+oOnj5VgjT1LmUrBg0sQrScxyDELLmF4A89dk4WFre+JRdGYManLdEsCRfbCf2jC
uOwhIrtej5gEP8FMj6NG2UiY59xdc2UMtSdGYUaSsYZhQNjS6514LQPtwlKGXUfh
bZNqaRut4ZoegbDEtNfVJOI+BzZB3OOkReEl371YeCBSkhAkboZm1Zhzi+oLwni0
3nENhzCk0LurufoBIzFW/sKr0HyMhJYAXfSKsGRb3blJO1KeVNIStjAwWJgcqcNF
agyL/5aciBMvTj6eu6wl/TqtB1pSwQzks3DPfUT79vAlECkb+5JnYQxFtuseKV44
IaSRUMNXfcfn2LjHU7Pz1Hrhfmc525fUHcD1V0S8ANVlb6Ig0X0snxPCSli2SmQL
atABusbXjaFxDRh7bbGTdQGWlu/6cN5AIuNjuDFElrRnmf/ItyxwpHweeEdV3f5j
2dJz8vQ3AJyuTC+hCqUcYgrPGFpEKuknK5T/4uI4yADSmBH6LnOJkG76yNwMugBu
swu5INrushwQZkL4rxmnQMFN+r57VRXy+2hA7bbWW/+G3DPq7DW7SaWi3umyZV61
Obqrmy8qIs1siIy2rmva
=Zg4G
-----END PGP SIGNATURE-----
111  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information 0.8.1e on raspi on: February 25, 2014, 10:24:17 AM
I seem to have some config param missing in my raspi - when I start 0.8.1e using:       java -Xmx128M -Xmx480M -cp nxt.jar:lib/*:conf nxt.Nxt

[2014-02-25 10:05:16.833] nxt.uiServerHost = "127.0.0.1; 0.0.0.0"

This is the problem, you cannot have multiple addresses there. You have to put the network interface on which to accept UI requests - 127.0.0.1 if localhost only, 0.0.0.0 if all interfaces.
112  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 25, 2014, 10:19:49 AM
How I can stop the server 0.8.x safely?
pkill -9 java? :S
Code:
 kill -9 #ID PROCESS
No, no, no, don't do that! There is nothing safe about kill -9. You have to use kill -15, and should see "Database shutdown completed" in the log before shutdown.
113  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 25, 2014, 10:13:19 AM
@jean-luc

NRS is generating errors constantly. See the console in chrome.

Refused to set unsafe header "Content-length" (index):1
46
Refused to set unsafe header "Content-length"

Hundreds of these errors after a few minutes.

This is also why I can't release an update to NxtMac - apparently the safari version included in cocoa does not like these errors at all and does not show any output (peers, blocks, etc).

Please fix.
I will remove the setting of this header. There were no such errors in firefox. And I just copied that from an example about how to do POST with XMLHttpRequest I found on the web... I guess another obsolete or wrong advice:
http://www.openjs.com/articles/ajax_xmlhttp_using_post.php
I first tried submitting the forms in admin.html directly using send(new FormData(form)), but this didn't work, couldn't figure out why. So I had to manually encode the parameters and set request headers.
114  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 25, 2014, 07:59:14 AM
OK, now that we can use POST instead of GET on 0.8.1e, can someone tell me whats wrong here?

Code:
$ curl -sk --data "requestType=getBalance&account=6666386410" https://localhost:7876
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 405 </title>
</head>
<body>
<h2>HTTP ERROR: 405</h2>
<p>Problem accessing /. Reason:
<pre>    HTTP method POST is not supported by this URL</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>
$
Should be https://localhost:7876/nxt . It is the "nxt" that maps the url to the API servlet which accepts both POST and GET, the top level url is served by the jetty default resource handler for static files which does not support POST.
115  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 24, 2014, 08:37:34 PM
Still don't understand. In versions <0.8.0 when i announce a public address but set sharing to false other node will connect to me only after my node first connects to it. In 0.8.0 such logic of behavior is impossible. Is this true?  Huh
Yes, this is true. You don't have control over which nodes you connect to, so why would you need such behavior? It would only make sense if you can define a whitelist of nodes to connect to, but currently you can't do that. Your node will keep trying to connect to whatever list of peers it receives from the others, and telling them your public address itself, how is that different from allowing the peers to share it amongst themselves too?
You are wrong, i can define a whitelist of nodes to connect to by firewall rules.
Why don't just set the shareMyAddress to false then? Your node will function fine with incoming connections completely disabled.

I don't want to complicate the configuration by adding yet another boolean parameter whether to start the peer server or not, in addition to shareMyAddress.

Quote
Edit. and btw, what are nxt.pushThreshold and nxt.pullThreshold then for? Huh
The thresholds only apply for outgoing connections from your node. For rejecting incoming ones, only blacklisting works.
116  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 24, 2014, 08:15:08 PM
so this is your  original Allowed.userhost ? code :
I copied working in 0.7.6 string to nxt.properties like this:
Code:
nxt.allowedUserHosts=127.0.0.1; localhost; 0:0:0:0:0:0:0:1; 192.168.1.2; etc;
and nothing works.
You need to set nxt.uiServerHost=0.0.0.0 , by default it is 127.0.0.1 so localhost only.

117  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 24, 2014, 06:47:52 PM
can someone tell me how to access admin/alias/message/update html pages when using 0.8.1e?  I cant seem to nav to them.  I can forge though
Try port 7876.
http://localhost:7876/
118  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 24, 2014, 06:34:41 PM
Thank you for update, trying my stick for public node. To be sure, do I need to change something in nxt-default.properties or I can use from previous 0.8.0e?
I added two more properties to the defaults:
nxt.apiServerEnforcePOST=false
nxt.uiServerEnforcePOST=true
119  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 24, 2014, 06:05:37 PM
To summarize: For users with dynamic IPs, you ... still need to set up port forwarding at your router.

Has this always been the case? Or is this the case since a specific version?
What does or does not happen if we don't set up port forwarding?
Having an internal DHCP network behind the dynamic WAN IP address, how can we set up port forwarding  Huh
Or does the server has to run on an internal fixed IP address then Huh
 
It confuses me. May be I lack some IP networking knowledge.
Please, elaborate?

Port forwarding is only needed if you do want to receive connections from others. You can always make outgoing connections and this is sufficient. If you don't want to set up port forwarding and receive incoming requests, set nxt.shareMyAddress=false, so that you don't unnecessarily run a peer server on port 7874.
120  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 24, 2014, 06:02:11 PM

@JL - please give me a hint: My client currently uses all 'GET' requests, but I have already successfully used 'POST' with the same module (pyhton 'requests') elsewhere.

My approach would be to move from 'GET' to 'POST' for ALL requests, because if it is all one cast there is less chance for mixups to creep in.

Will that be possible wth 0.8.+ ? Or will I run into trouble because some api calls only accept 'GET', and others only 'POST' ?

Yes, you can use POST for all requests.
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!