Bitcoin Forum
June 23, 2024, 06:08:44 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 »
81  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 11:28:53 PM
Looking at making Assets support fractions, I think it is a matter of changing:

            quantity = Integer.parseInt(quantityValue); -> parseLong
            and making Nxt.MAX_ASSET_QUANTITY multiplied by 100000000

IssueAsset.java, PlaceBidOrder.java, PlaceAskOrder.java and TransferAsset.java seem to be the only places that needs to be changed other than Order.java lines 69 to 71:

    private volatile int quantity;
    private Order(Long id, Account account, Long assetId, int quantity, long price) {

just need to change the int to a long

There might be a few other places as I have only just now started looking at this code, but I dont think getting fractional assets will be that hard at all. We would need to change the client code to multiply everything by 100000000, but I think it is worth doing to get support for fractional assets in AE

James

When I do it next week you will be able to see how much more complicated it is.

I am really scared what would happen if I just let people make changes in the code thinking they understand it... better sell my Nxt first.
82  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 11:24:33 PM
So, we would need a new version for blocks?
Of course not. If we do it on test net, we cut off the old test net blockchain before the first no longer valid block.
83  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 11:20:55 PM
Since its just a few lines change, i was hoping I could get some personal feedback on it


Ur lines is not enough. Changes in other parts r necessary.
Yes. The byte representation of asset transfer attachment does not expect a comment at the end. If we decide asset transfer need comments, this will have to be added to all asset transfers, and existing ones invalidated, so blocks containing old asset transfers on test net will not be accepted by new code and a fork will form. This is testnet only, so it is doable, but wouldn't be possible if AE was already live.
84  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 10:20:52 PM
Test net nodes: please update to 0.8.6, and delete your old blockchain.
85  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 09:55:30 PM
Any changes to nxt.properties comparing with 0.8.3?
Compared to 0.8.3? Several properties related to testnet were added in 0.8.4e, and also for the jetty DoSFilter. Compared to 0.8.5, only defined a few default testnet nodes.


OK, seems working. On my Android stick used nxt.properties from 0.8.3. Don't care much running public node about AE. You can test at http://217.17.88.5:7875/
But the idea is that you unpack the zip file and let the new conf/nxt-default.properties overwrite the previous conf/nxt-default.properties, which shouldn't be modified by you. Your custom settings go into nxt.properties, and this will not be overwritten as it is not in the zip package.
86  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 09:35:45 PM

Wesleyh, when will the Mac client support 0.8.x? I'm still at 0.7.5.



Friday, I'm away tomorrow afternoon, but friday this will be my priority. Sorry for the delay, been working on the web interface non-stop..
And I will be away Friday to Sunday...
87  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 09:34:07 PM
Who the f*** is panda.nxtbase.com and why does he broadcast blocks every hour or so that get "Failed to accept block XXXXX"

Can't blacklist this shitty node.

This is going on for days..
You can now blacklist in nxt.properties:

# Known bad peers to be blacklisted
nxt.knownBlacklistedPeers=
88  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 09:26:16 PM
Any changes to nxt.properties comparing with 0.8.3?
Compared to 0.8.3? Several properties related to testnet were added in 0.8.4e, and also for the jetty DoSFilter. Compared to 0.8.5, only defined a few default testnet nodes.
89  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 05, 2014, 09:09:34 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 0.8.6

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

sha256: ecdce17e2d1cd704fce3b7e40d458c1c8b80a1cf064eb8f4f5e7f6593166dba8


Change log:

Transaction re-broadcasting has been broken for a few releases,
should work again now.

Fixed the update of the NRS UI transaction confirmation count.

Check for unconfirmed transaction becoming invalid, and if so,
remove them from the unconfirmed transactions pool.

Added a few more well known testnet peers in default properties.

Converted run.bat to CRLF line endings format.

Asset exchange specific bugfixes:

Order cancellations should update unconfirmed balances only.

On block pop-off, asset balances should not be updated.

When a trade is executed at a price lower than the bid order,
correct the bidder unconfirmed balance for the difference.

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

iQIcBAEBAgAGBQJTF461AAoJEFOhyXc7+e2AydIQAK6BjDFFcxvXbn0P0jXkshDx
syfi9n+4cvA2aafo0w8bEkkI2C6kwd+ZuZCZzXGXQHtCckSrBdQj5rb+R03Aai91
YcWRzGfbeB/6bv7ddw2b+PtLbdSeL7ggga79PCt2Hi0rAVRTK0q5MX9SJQvjwACi
XNeTkTQ0ZJrGkq8Th+GM+kGWGyeO4SNgmgwQ+VIIruTfR3p/v4/rmZkhbTYZdy3r
LqubYTjqk8HnjzsBkKII/X2BHeliaa8lXM+rOvegCQHLsJCAb3JyK6Hl2i5FBujv
ktouqbcZvQcBKZLQXlkyMGjWz7N+U9Dr6N/mRlxys2SuqDWeQU4a8qwv5+pYMZ6V
ytC1GrZfz+iNmSe9XfFZT3sh+bsuxJnuUwin1bZfKv2BqmJEAkenyL3Uv1XLbNXL
qifJlUcJa4V0oD/sI9ZQ/Ye1IDsnlT41yejaeEcwXVz0CqBdYdbN2iIxEZ/EhNsI
oB31oKz1G3/bdpM5752ozJtMv3DBPyV1uaV/m2/9zESttjyhzXQr+XbJ0iuxYSjX
d347cOmeveIUKZWVN/bWasYUSFrJq/U87XhJmXs9nH84+vvmLeHR+CEdw07dzISs
VpDLSpWCquHZ78SlxutvM3SmAvcd55L9Q6suZsJF64/Zm45hAk/V+U2My5MUvZ4Q
S55ynoKg/HweGk/7sOiW
=e/iT
-----END PGP SIGNATURE-----
90  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 12:44:55 PM
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.
91  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 12:21:15 PM
That is the one wesley is using for http://nxtra.org/nxt-client/
I hope I dont have to upgrade all the other servers for all the minor updates. Will it cause a fork if I dont update?
This particular update is not minor.
We may not need that many test nodes, but we should have the majority of them at the latest version. A few being on old versions is fine, to intentionally test a mix of versions and create forks.
92  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 12:16:52 PM
How can transactions broadcasted to testnet be replayed on the real blockchain? Isn't the point of testnet to work as an alternative blockchain? I'm probably missing something here.
Transactions don't contain information about which blockchain they belong to. They can't even know which block they belong to, until they are confirmed, because the transaction sender obviously needs to sign the transaction before knowing in which block it will get included. So a transaction that has not expired yet, and has valid signature from its sender, can be copied by an attacker and posted to the real blockchain, as if it was sent by the original sender, and as long as the account there has sufficient balance, it will be accepted.
93  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 12:11:38 PM

JL, why not 0.8.5e?

(Thanks again for the release)
Because it is supposed to be better than 0.8.3. If you want a really stable but old release, stay with 0.7.6. In the 0.8 series, 0.8.4e and 0.8.5 already have fixes that are not in 0.8.3, so no point in staying with 0.8.3. But we all should try it on the test network first.

94  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 11:57:43 AM
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?
95  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 11:56:21 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 0.8.5

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

sha256: 22b6976f679dd9a2a5e0ba7ce91ee8d7de619803bd2cc97bf6e0a94b61e18372


Change log:

More bugfixes related to unconfirmed balance calculation.

Minor fixes to avoid some harmless exceptions.


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

iQIcBAEBAgAGBQJTFbzPAAoJEFOhyXc7+e2AL/UQAImTjDFrg7xAqLlmuXlEwsiU
2kO7NcHeIZLwoL4TiJzdwSg4krHm1WUacj+OAjgkyIDvJUTnKt4WAHG1UHjcn9UW
5VagOVCXqr2rGIkOybc5qfG7w4MA6KNV11m2E+O0hJvCVBHBXWASKdU8iZf45dhQ
P+aH0Pyq1KiaKIbi0tyZFxK78ECnhPmW1FO3xq5n9EbVspUK2uujomu0b05i8omO
zd+edYFv93NpIz/eEIVXe6fGNYYmJWUVqCZcgHi2LbOG8EUrVl7ghvr5gsIIUPI6
pJh2TSuK3qmzWk8Vrgxk/6ijfK4jsdocUe9vRgL/RvfGU3O9hkeXuRFno4WfjdVv
3Aqpl9MqwiLdyK+dp+mVNonNggslmRzPcOs1QDXlNfLBwIt/Fl6JCH4xP3yeVz9V
iYaFvsUFChr27IPbAj4Ox0orBzQIYuPHxzgTVTVkmQnDJpX6TRILy7fFFflO16An
sUXoJSexbGL5asfSstyKCGMgGbdZr+n7KXDzupyCTfi81hTemSwx/Va2LOP1aAbV
O9ApHGQX+CbUgK7RSIv1MWhsS0cLtaKvuXnU56UQqoLfmMtXB2zn+pQebNsuqYNU
P8PZwQBhRISMcyOf7+LKJj3WSFq94Zn9B3ThfIsxfQnxDBYY9soeQaGVo2rII5za
8qY3h0D31489SaLf/Gmq
=GSZB
-----END PGP SIGNATURE-----
96  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 10:03:31 AM
0.8.4e still has bugs in unconfirmed balance handling. Wait until I release a fix.
97  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 09:51:56 AM
Can someone who has a test server enable API cors and api access? (two settings in nxt-default.properties)

And tell me the server name so I can use that. The bug.airdns.org doesn't accept API access...

So that my online nxt client will work again.
Not sure I got all the settings right, here is the nxt.log output

Server IP is 209.126.73.160

James

Code:
[2014-03-04 03:37:37.244] Debug logging disabled
[2014-03-04 03:37:37.244] Exception stack traces enabled
[2014-03-04 03:37:37.244] nxt.isTestnet = "true"
[2014-03-04 03:37:37.247] logging enabled
[2014-03-04 03:37:37.248] nxt.debugJetty = "false"
[2014-03-04 03:37:37.249] nxt.dbCacheKB = "0"
[2014-03-04 03:37:37.249] nxt.testDbUrl = "jdbc:h2:nxt_test_db/nxt;DB_CLOSE_ON_EXIT=FALSE"
[2014-03-04 03:37:37.277] nxt.maxDbConnections = "10"
[2014-03-04 03:37:37.278] nxt.dbLoginTimeout = "70"
[2014-03-04 03:37:37.969] Database is at level 15
[2014-03-04 03:37:37.973] Updated database is at level 15
[2014-03-04 03:37:38.007] nxt.myPlatform = "PC"
[2014-03-04 03:37:38.008] nxt.myAddress not defined, assuming null
[2014-03-04 03:37:38.008] nxt.peerServerPort = "7874"
[2014-03-04 03:37:38.008] nxt.shareMyAddress = "true"
[2014-03-04 03:37:38.008] nxt.myHallmark not defined, assuming null
[2014-03-04 03:37:38.009] nxt.testnetPeers = "bug.airdns.org"
[2014-03-04 03:37:38.009] nxt.knownBlacklistedPeers not defined, assuming null
[2014-03-04 03:37:38.010] nxt.maxNumberOfConnectedPublicPeers = "20"
[2014-03-04 03:37:38.010] nxt.connectTimeout = "2000"
[2014-03-04 03:37:38.010] nxt.readTimeout = "5000"
[2014-03-04 03:37:38.010] nxt.enableHallmarkProtection = "true"
[2014-03-04 03:37:38.010] nxt.pushThreshold = "0"
[2014-03-04 03:37:38.011] nxt.pullThreshold = "0"
[2014-03-04 03:37:38.011] nxt.blacklistingPeriod = "300000"
[2014-03-04 03:37:38.011] nxt.communicationLoggingMask = "0"
[2014-03-04 03:37:38.011] nxt.sendToPeersLimit = "10"
[2014-03-04 03:37:38.157] nxt.peerServerHost = "0.0.0.0"
[2014-03-04 03:37:38.157] nxt.peerServerIdleTimeout = "5000"
[2014-03-04 03:37:38.290] nxt.enablePeerServerDoSFilter = "true"
[2014-03-04 03:37:38.299] nxt.peerServerDoSFilter.maxRequestsPerSec = "30"
[2014-03-04 03:37:38.299] nxt.peerServerDoSFilter.delayMs = "1000"
[2014-03-04 03:37:38.300] nxt.peerServerDoSFilter.maxRequestMs = "300000"
[2014-03-04 03:37:38.303] nxt.allowedBotHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;"
[2014-03-04 03:37:38.304] nxt.enableAPIServer = "true"
[2014-03-04 03:37:38.304] nxt.apiServerHost = "127.0.0.1"
[2014-03-04 03:37:38.304] nxt.apiSSL = "false"
[2014-03-04 03:37:38.305] nxt.apiServerIdleTimeout = "30000"
[2014-03-04 03:37:38.307] nxt.apiResourceBase = "html/tools"
[2014-03-04 03:37:38.343] nxt.javadocResourceBase = "html/doc"
[2014-03-04 03:37:38.354] nxt.apiServerCORS = "true"
[2014-03-04 03:37:38.367] nxt.allowedUserHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;"
[2014-03-04 03:37:38.367] nxt.enableUIServer = "true"
[2014-03-04 03:37:38.367] nxt.uiServerHost = "127.0.0.1"
[2014-03-04 03:37:38.367] nxt.uiSSL = "false"
[2014-03-04 03:37:38.368] nxt.uiServerIdleTimeout = "30000"
[2014-03-04 03:37:38.368] nxt.uiResourceBase = "html/nrs"
[2014-03-04 03:37:38.369] nxt.javadocResourceBase = "html/doc"
[2014-03-04 03:37:38.370] nxt.uiServerCORS = "false"
[2014-03-04 03:37:38.394] Genesis block already in database
[2014-03-04 03:37:38.394] Scanning blockchain...

To make API accessible from outside, you also need to set:
nxt.apiServerHost=0.0.0.0
nxt.allowedBotHosts=*

98  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 08:34:12 AM

OK...  0.8.3  &  0.8.4e work like champs...  but why do they crash if left unattended...  is there some type of timeout setting we need to change when we are away from our workstations for several hours?    Undecided


thnx  Smiley
Never crashed for me. What do you see in nxt.log when they crash?
99  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 04, 2014, 08:32:54 AM
https://holms.cloudapp.net:6875/ doesn't show any active peers btw.
Holms.cloudapp.net is not on the current testnet blockchain (at least until somebody updates it).

Read the change log for 0.8.4e about how to join the testnet that I have seeded from bug.airdns.org. I have forged more blocks on it so now the test blockchain is growing.

It is safe to forge with real accounts on test net, provided you do it on localhost only. It is NOT SAFE to send any transactions with real accounts on test net, because those transactions can be replayed on the real blockchain. So for testing transactions, you need to use those test Nxt that were distributed some time ago (I don't have any of those myself yet).
100  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 03, 2014, 10:29:14 PM
With 0.8.4e, to switch to testnet you need to set in nxt.properties:

nxt.isTestnet=true
nxt.testnetPeers=bug.airdns.org

This is the test blockchain as obtained from holms. Those who have test Nxt, should be able to access them. Please start forging, as the blockchain is days behind.

You also need to use your own 0.8.4e node for API and UI access - bug.airdns.org only accepts peer to peer requests, don't try to unlock accounts there or use http API against it.
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!