landomata
Legendary
Offline
Activity: 2184
Merit: 1000
|
|
February 04, 2014, 06:41:08 PM |
|
In the meantime, I wish to report that 0.7.0 is running successfully with an H2 database backend, no more serialized java object files. No need to keep all blocks and transactions in memory anymore.
great, any ETA already? First CfB should port the Asset Exchange bugfixes and new APIs to 0.6.0, and at the same time I plan to do some profiling and optimizations of 0.7.0 if needed, and then merge the 0.6.0 and 0.7.0 branches. I wrote most of the db code yesterday and today, and I am running it for the first time now. Let's see how many stack traces I find in the log tomorrow morning. Hope to have it ready for release by the end of the week. wow, that's good news Thank you for your efforts ! Why is that good news? smaller footprint....i think.... no need to keep all blocks and transactions in memory anymore
|
|
|
|
^[GS]^
Member
Offline
Activity: 112
Merit: 10
|
|
February 04, 2014, 06:43:18 PM |
|
If the bandwith usage is too much for you, set shareMyAddress to false in web.xml, and remove myAddress (set it to an empty value). This should stop other peers from trying to connect to your node. does it affect forging? no it wont. this was my suggestion earlier when someone brought it up. in other news, can someone update the wiki on the getBalance API? There are now 3 fields returned, and the wiki only lists 2, and now with the addition of the 3rd field, the wiki is a bit ambiguous. Here are the 3 fields now: balance: 0 effectiveBalance: 0 unconfirmedBalance: 0 And here is what wiki says: Response
{ "balance": EFFBALANCE, "unconfirmedBalance": UNCONFBALANCE }
Where:
EFFBALANCE is the confirmed/effective balance in the Nxt account, expressed in Nxt-cents. This is the balance that is used for forging. UNCONFBALANCE is the unconfirmed balance in the Nxt account, expressed in Nxt-cents.
Note: "unconfirmedBalance" is the balance minus all unconfirmed sent transactions. It doesn't include double-spending and unconfirmed received transactions. A user sees the unconfirmed balance in the client.
I would update it but Im not 100% on what to write. And can someone tell me how long it takes for a NXT transfer into an account for that new NXT to be available for forging? Does this time limit differ if it is new NXT due to receiving NXT in fees from forging a block versus receiving NXT from some other account? Wiki is wrong! - balance = unconfirmed balance (to show in NRS client) - effectiveBalance = real balance (+1440 confirmations) - unconfirmedBalance = OK, unconfirmed balance Another... Theory: 1440 confirmations = 24hs = effective transaction Reality: 1440 confirmations = ~48hs = effective transaction Why?!
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 06:46:13 PM |
|
Reality: 1440 confirmations = ~48hs = effective transaction
Why?!
Transparent Forging is not working on 100% yet.
|
|
|
|
Bitventurer
|
|
February 04, 2014, 06:46:51 PM |
|
Look whats happening with bitcoin! MtGox, the oldest and once-largest bitcoin exchange, appears to have a serious problem. Since about a week ago, clients’ bitcoin withdrawals have been deducted from their account, but the clients never received the money – the money withdrawn was effectively disappeared into thin air. The community is furious and as of now, MtGox has racked up over USD 38 million in such unfulfilled withdrawals. Source: http://falkvinge.net/2014/02/04/major-bitcoin-exchange-not-executing-withdrawals-now-owes-clients-38m-in-disappeared-money/Asset Exchange is going to be a game changer! We going to rule to world! WE ARE SKYNXT! well we have to hurry, i believe we wont be first anymore , XCP is the first DEX , you can buy weed there already
|
SP8DE - The Game of Chance. Changed.
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 06:47:38 PM |
|
38 opcodes. Is stack based, but very lightweight.
Stack-based code is hard to read.
|
|
|
|
martismartis
Legendary
Offline
Activity: 1162
Merit: 1005
|
|
February 04, 2014, 06:58:04 PM |
|
Time Units Price Vol BTC 2014-02-04 18:46:08 1000 0.00007638 0.07638 2014-02-04 18:45:54 34083 0.0000682 2.3244606 2014-02-04 18:45:42 18200 0.00007 1.274 2014-02-04 18:45:31 15000 0.00007001 1.05015 2014-02-04 18:45:19 10000 0.00007001 0.7001 2014-02-04 18:44:59 2982 0.00007256 0.21637392 2014-02-04 18:44:45 5443 0.0000729 0.3967947 2014-02-04 18:44:29 8500 0.000073 0.6205 2014-02-04 18:44:21 5000 0.000073 0.365 2014-02-04 18:44:01 3600 0.00007329 0.263844 2014-02-04 18:43:48 4000 0.000075 0.3 2014-02-04 18:43:38 4200 0.0000756 0.31752 2014-02-04 18:43:28 8297 0.000075 0.622275 Emule is dumping?
|
|
|
|
marcus03
|
|
February 04, 2014, 06:58:46 PM |
|
Out of curiosity, is it still going to be just a zip file that we drop into a folder and create a batch script to run, or are there prerequisites that will need to be installed?
Yes, same zip file for now. The H2 database is a single 1.6 MB jar file that I put in webapps/root/WEB-INF/lib/. The blocks.nxt and transactions.nxt (and .bak) files will not be needed anymore. Instead, the database is kept under nxt_db subdirectory, currently takes 99 MB (compared to the blocks+transactions.nxt files taking 30 MB total). Is there like a database server process running that clients could connect to and execute SQL statements?
|
|
|
|
nakaone
|
|
February 04, 2014, 07:00:11 PM |
|
Look whats happening with bitcoin! MtGox, the oldest and once-largest bitcoin exchange, appears to have a serious problem. Since about a week ago, clients’ bitcoin withdrawals have been deducted from their account, but the clients never received the money – the money withdrawn was effectively disappeared into thin air. The community is furious and as of now, MtGox has racked up over USD 38 million in such unfulfilled withdrawals. Source: http://falkvinge.net/2014/02/04/major-bitcoin-exchange-not-executing-withdrawals-now-owes-clients-38m-in-disappeared-money/Asset Exchange is going to be a game changer! We going to rule to world! WE ARE SKYNXT! well we have to hurry, i believe we wont be first anymore , XCP is the first DEX , you can buy weed there already yep they are the first ones. even though it has some small bugs it is working quite impressively
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 07:01:39 PM |
|
Only a worry to those working on the VM, most users will never be concerned with it.
Imagine that u want to debug the byte-code of a transaction...
|
|
|
|
opticalcarrier
|
|
February 04, 2014, 07:06:44 PM |
|
Reality: 1440 confirmations = ~48hs = effective transaction
Why?!
Transparent Forging is not working on 100% yet. OK. I see. now I remember people saying before that the very first time that an account received NXT, that it had to wait 1440 confirmations before that balance could forge, but I also thought I remember people saying that after that first 1440 confirmation period, that then any new NXT received would forge immediately. But I dont think this is correct. I just checked my account and that last few transactions in on it were received fees from forging blocks. and my balance is more than effectiveBalance by an amount that has almost 1400 transactions. Unless received NXT from forging is treated differently than NXT received from some other account via a targeted transfer...
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 07:08:33 PM |
|
OK. I see. now I remember people saying before that the very first time that an account received NXT, that it had to wait 1440 confirmations before that balance could forge, but I also thought I remember people saying that after that first 1440 confirmation period, that then any new NXT received would forge immediately.
But I dont think this is correct. I just checked my account and that last few transactions in on it were received fees from forging blocks. and my balance is more than effectiveBalance by an amount that has almost 1400 transactions.
Unless received NXT from forging is treated differently than NXT received from some other account via a targeted transfer...
This was changed on block 47000.
|
|
|
|
Jean-Luc
|
|
February 04, 2014, 07:16:46 PM |
|
Is there like a database server process running that clients could connect to and execute SQL statements?
In theory, if auto server mode is enabled this should be possible, I haven't tried it yet: http://www.h2database.com/html/features.html#auto_mixed_modeIf it works, it should be optional. I will probably make the whole jdbc connect url a configurable parameter so that users or client developers could tweak such settings.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 07:17:54 PM |
|
Only a worry to those working on the VM, most users will never be concerned with it.
Imagine that u want to debug the byte-code of a transaction... That's where my knowledge is lacking... I don't understand how a concept like a programming language can be molded with the NXT platform. I'll do more research. I mean that debugging of stack-based code is more difficult than debugging of code working with arbitrarily accessed memory.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 07:18:51 PM |
|
Ok... I am too lazy to make the meme myself... but someone should make one saying... WE @ ETHEREUM DON'T LIKE ANSWERING QUESTIONS
BUT WHEN WE DO... THEY ARE NOT C-f-B's!!!ROFLMAO! Give them time. My questions r quite tech specific, we have to wait for Vitalik.
|
|
|
|
Fatih87SK
|
|
February 04, 2014, 07:19:34 PM |
|
Let me know if I can do something more. If you like it I can give you the 3d model.
I like ur pic but I asked for ivory on slate with ornament on the border for that amount. Sorry for asking too much questions :p Do you mean like this (sketch); No. The logo must be not cut. But this part in ur pic, repeat a lot of times, must form the border. Hi CFB! It's me again =) I think I start to understand you a little bit (read your tekst 50 times now) Am I a little step closer of how you really want the logo? 1 2 3 4 And... and.. please let me be close =)
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 07:27:07 PM |
|
Hi CFB!
It's me again =)
I think I start to understand you a little bit (read your tekst 50 times now)
Am I a little step closer of how you really want the logo?
Very close. But the ornament should use only "X" letter, like here:
|
|
|
|
opticalcarrier
|
|
February 04, 2014, 07:31:30 PM |
|
OK. I see. now I remember people saying before that the very first time that an account received NXT, that it had to wait 1440 confirmations before that balance could forge, but I also thought I remember people saying that after that first 1440 confirmation period, that then any new NXT received would forge immediately.
But I dont think this is correct. I just checked my account and that last few transactions in on it were received fees from forging blocks. and my balance is more than effectiveBalance by an amount that has almost 1400 transactions.
Unless received NXT from forging is treated differently than NXT received from some other account via a targeted transfer...
This was changed on block 47000. can you give specifics? Ill then update the wiki. Also I forged a block a bit over 1400 confirmations ago, and received 1 NXT for doing so. I checked the effective balance before and after that 1400 mark, and the effectiveBalance has yet to go up. So now Im really confused and I expected that effective to go up by when the block got 1400 confirmations.
|
|
|
|
Fatih87SK
|
|
February 04, 2014, 07:31:48 PM |
|
Hi CFB!
It's me again =)
I think I start to understand you a little bit (read your tekst 50 times now)
Am I a little step closer of how you really want the logo?
Very close. But the ornament should use only "X" letter, like here: Ok, and which number do you choose? Because I didnt understand the "border" part yet. Ornament on the side or on the border at the frontside. Also the colours. Which part do you mean as background and foreground. That's why I made 4 different options. Can you choose one?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 07:36:04 PM |
|
can you give specifics? Ill then update the wiki.
Also I forged a block a bit over 1400 confirmations ago, and received 1 NXT for doing so. I checked the effective balance before and after that 1400 mark, and the effectiveBalance has yet to go up. So now Im really confused and I expected that effective to go up by when the block got 1400 confirmations.
Any coin "touched" within last 1440 blocks is deduced from effective balance. U have 1000 coins, ur effective balance is 1000. U get an incoming transaction (payment or forged fee) of 10 coins, ur effective balance is 1000. U send 5 coins, ur effective balance is 995. In 1440 blocks ur effective balance is 1005.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 04, 2014, 07:37:55 PM |
|
Ok, and which number do you choose?
Because I didnt understand the "border" part yet. Ornament on the side or on the border on the front. Also the colours. Which part do you mean as background and foreground. That's why I made 4 different options.
Can you choose one?
#2 and #3. But not plain colors, they should be textured with "slate" and "ivory".
|
|
|
|
|