Author

Topic: HoboNickels - HBN - High Fast Stake - Version 2.0! More Secure, Less Intensive - page 164. (Read 478852 times)

full member
Activity: 163
Merit: 100
Question for Tranz: I stake 24/7 and out of all wallets running, Hobonickels by far consumes the most memory -- over 500mb. Not a problem for me as I have plenty RAM. But maybe there is a memory leak in the code? Just curious.

The amount of memory usage is linear depending on the number of blocks in the chain and the number of transactions in your wallet. I actually have a wallet with over 36,000 transactions and it has a total of 7 loaded wallets running and staking 24/7 and running S4C. At the time of writing this it is using 745,000K. Another one with only 259 transactions is using 359,000k

All wallets operate in the same way. Bitcoin has changed this slightly by doing some things regarding when to load a block into memory. It will load them as needed. But does not unload them. So it grows and grows until it is restarted.  HBN has 30 second block time so it is getting more of a hog as time goes on. I will be doing my best to address this going forward, but there will only be so much I can do.

This is also only a slight concern of mine, as the memory usage of HBN should grow linear as time goes on, but memory size and speed will continue to grow exponentially, as well as the cost decreasing exponentially. So eventually it will not matter much.

But can be a turn off for some people who have lower end computers, or run many wallets.

I'm wondering whether HBN's emphasis on encouraging small stake values is contributing to the problems spoken of here. The maximum coin block size to optimise Proof Of Stake is 250 HBN. HoboNickels consistently refers to this reward as a '~2%' stake once a coin block matures and not '~2% interest'. The reason given for this policy is that it will keep people in Stake mode longer - 24/7 for some - and this will help with network security.

I suspect that this might not be as effective as might be thought. The average number of active connections on the HBN network isn't that high, and some POS coins without maximum, coin-block, optimum stake sizes perform quite well by comparison in that area. I suspect that the difficulty in staking turns quite a lot of people away, who would otherwise significantly add to the security of the HBN network.

To have stake-splitting combined with predominantly small coin block size values leads to many, many, smaller calculations. Like a chain reaction. I should imagine that is a major contributor to the blockchain expanding. Is not blockchain saturation a security risk and a vulnerability for a form of attack?

Recently, I completed a full installation of the new HBN wallet on a 32-bit Windows XP machine with 8 Gb of RAM. It took nearly three days. I suppose that is to be expected for a wallet with a long-established blockchain, and HoboNickels has been around for longer than most. I have a faster i5 64-bit machine. The HBN Windows client is tagged as 32-bit. Will it run on a 64-bit machine with a 64-bit Windows7 operating system just as easily?

I found that the old, about to be phased out, wallet (v4.0.1) performed well. Transactions were fast and it was quick to load, although rather slow to stake. This has been my experience since first coming to HoboNickels in April. I hope that the fast stake v5 will be better. I've split 26,000 HBN into 10 coin-blocks of 500 HBN and the rest in 250 HBN coin-blocks - all with individual addresses to help keep track of staking. The 500 HBN and 250 HBN values were based on previously given advice.

I suppose what I am really trying to get at here is that I am sold on HoboNickels as a concept, but have some reservations. I would welcome stake-splitting with far higher parameters, if not phased out entirely, and the raising of the maximum optimum stake level to a much higher value, if not abolished altogether. I do not want to have to run my computers for long, extended periods in order to generate Proof of Stake. Certainly not 24/7. It doesn't fit in with my lifestyle. I prefer POS to be more like interest - there and easily accessible as of right - as opposed to being like the laborious, Proof of Work with a questionable break-even conciliation. That is too much like mining. I have better things to do!   Wink
legendary
Activity: 1540
Merit: 1060
May the force bit with you.
In case you have noticed, the PoS difficulty for has increased a bit recently. Sadly this is not due to a natural increase in the number of PoS blocks being generated. It is however, unfortunately due to a client on the network with an incorrect clock. They are creating blocks 1 hour in the future which is causing the difficulty algorithm to misinterpret how many blocks are actually being created in a set amount of time.

Version 1.5 will prevent this type of situation by limiting the time drift from 2 hours to 5 minutes.  As noted this will not take affect until Jan 17. In the meantime I will be sending an alert for people to upgrade to version 1.5. I will also include a note for users to check their clocks.  If the problem continues to persist for a few days. I can issue a "soft" fork of the time drift to begin rejecting these blocks via the checkpoint server. I would rather not do this but I will if necessary.

I'll continue to monitor the issue and advise as necessary.

Thanks.
legendary
Activity: 1540
Merit: 1060
May the force bit with you.
Question for Tranz: I stake 24/7 and out of all wallets running, Hobonickels by far consumes the most memory -- over 500mb. Not a problem for me as I have plenty RAM. But maybe there is a memory leak in the code? Just curious.

The amount of memory usage is linear depending on the number of blocks in the chain and the number of transactions in your wallet. I actually have a wallet with over 36,000 transactions and it has a total of 7 loaded wallets running and staking 24/7 and running S4C. At the time of writing this it is using 745,000K. Another one with only 259 transactions is using 359,000k

All wallets operate in the same way. Bitcoin has changed this slightly by doing some things regarding when to load a block into memory. It will load them as needed. But does not unload them. So it grows and grows until it is restarted.  HBN has 30 second block time so it is getting more of a hog as time goes on. I will be doing my best to address this going forward, but there will only be so much I can do.

This is also only a slight concern of mine, as the memory usage of HBN should grow linear as time goes on, but memory size and speed will continue to grow exponentially, as well as the cost decreasing exponentially. So eventually it will not matter much.

But can be a turn off for some people who have lower end computers or run many wallets.
full member
Activity: 225
Merit: 100
Question for Tranz: I stake 24/7 and out of all wallets running, Hobonickels by far consumes the most memory -- over 500mb. Not a problem for me as I have plenty RAM. But maybe there is a memory leak in the code? Just curious.
legendary
Activity: 1540
Merit: 1060
May the force bit with you.
For anyone like me who is wary of messing about too much with a wallet, could anyone explain, in a simple step-by-step procedure, how to set the split and combine thresholds, using the start-up and config switches?

I understand that the current default setting is to split nothing below 5 and to combine if possible up to 20. I'd like to set it to the maximum setting i.e. no split below 10 and to combine up to 40.

I would also love this. I tried on my own and was confused. Where do you set the commands from?

2 ways to do this.

First option
click start -> run -> type cmd. Then navigate to the qt.exe. on the command line start the wallet as follows:
HoboNickels-qt.exe -splitthreshold=40 -combinethreshold=20

Second option
create a .bat file in the same folder as the qt.ex and put this in it.
start HoboNickels-qt.exe -splitthreshold=40 -combinethreshold=20

member
Activity: 101
Merit: 10
What is the minimum coin age for potential staking?
I have some that are 95 days and haven't staked they are 16 coin blocks. 
Whats the best block size for staking?

if coin age is 10 or more days your coins are ready to stake but your wallet must be unlocked
member
Activity: 72
Merit: 10
Question, Does the coin age reset after it stakes? Thanks. The pos coins are very interesting.

Yes, it does. And yes, they are.

What is the minimum coin age for potential staking?
I have some that are 95 days and haven't staked they are 16 coin blocks. 
Whats the best block size for staking?
sr. member
Activity: 373
Merit: 250
For anyone like me who is wary of messing about too much with a wallet, could anyone explain, in a simple step-by-step procedure, how to set the split and combine thresholds, using the start-up and config switches?

I understand that the current default setting is to split nothing below 5 and to combine if possible up to 20. I'd like to set it to the maximum setting i.e. no split below 10 and to combine up to 40.

I would also love this. I tried on my own and was confused. Where do you set the commands from?
full member
Activity: 163
Merit: 100
For anyone like me who is wary of messing about too much with a wallet, could anyone explain, in a simple step-by-step procedure, how to set the split and combine thresholds, using the start-up and config switches?

I understand that the current default setting is to split nothing below 5 and to combine if possible up to 20. I'd like to set it to the maximum setting i.e. no split below 10 and to combine up to 40.
full member
Activity: 216
Merit: 100
Question, Does the coin age reset after it stakes? Thanks. The pos coins are very interesting.

Yes, it does. And yes, they are.
member
Activity: 72
Merit: 10
Question, Does the coin age reset after it stakes? Thanks. The pos coins are very interesting.
legendary
Activity: 1540
Merit: 1060
May the force bit with you.
Thank you!



One more question to Tranz:
Set Max PoS Reward to 250.

does it mean I need to slit my coins into smaller chunks? for example 5000?
what is the most effective way to stake now, assuming i have 30000 for example?

Thank you!

See here. https://bitcointalksearch.org/topic/m.9552555

I would personally just leave them as 500 or smaller.
hero member
Activity: 708
Merit: 502
Thank you!



One more question to Tranz:
Set Max PoS Reward to 250.

does it mean I need to slit my coins into smaller chunks? for example 5000?
what is the most effective way to stake now, assuming i have 30000 for example?

Thank you!
hero member
Activity: 708
Merit: 502
legendary
Activity: 1540
Merit: 1060
May the force bit with you.
Correct. Right now it will allow you to set the split/combine threshold using startup/config switches.  Default is split nothing below 5 and combine if possible up to 20. It can be set to a max of splitthreshold of 10 and combine of 40.

I will allow these to increase for future, but based on wallet size and once the hard fork takes effect.

Thousand, right?  Blocks of 40 HBN seem very small.

No 40.  Blocks of 40 stake fairly quickly. And the QT can easily handle thousands of them with ease.  I will be increasing them in the future. For now a user, if they know how, can simply change the code and re-compile it, or they can combine manually.

Is this a usable feature at the moment? I would love to not have to do this manually.

Yes it is on by default in version 1.5, and can be increased by the start up switches.

You can check the current thresholds by clicking network->Current Pos Info or clicking the staking arrow.

This will be fully integrated into RPC and the GUI in the time frame noted above.
sr. member
Activity: 373
Merit: 250
Correct. Right now it will allow you to set the split/combine threshold using startup/config switches.  Default is split nothing below 5 and combine if possible up to 20. It can be set to a max of splitthreshold of 10 and combine of 40.

I will allow these to increase for future, but based on wallet size and once the hard fork takes effect.

Thousand, right?  Blocks of 40 HBN seem very small.

No 40.  Blocks of 40 stake fairly quickly. And the QT can easily handle thousands of them with ease.  I will be increasing them in the future. For now a user, if they know how, can simply change the code and re-compile it, or they can combine manually.

Is this a usable feature at the moment? I would love to not have to do this manually.
full member
Activity: 204
Merit: 100
I would like to write a small simple program in VB that can query the HBN network to check for the current work difficulty. Is there an easy way to do that?

If you are running the hbn deamon you can use the rpc command getdifficulty. Otherwise you could try the CCE api call http://www.cryptocoinexplorer.com/api

many need  crutches ))
for example:

1. cold start the daemon -> demon few minutes unresponsive rpc

2. no simple command - "staking work ?"
...

The demon may take a few minutes to start up. But if you are using it for something all the time you wouldn't shut it down.

getdifficutly shows both.


09:39:46

getdifficulty


09:39:46

{
"proof-of-work" : 24.06406389,
"proof-of-stake" : 0.00390625,
"search-interval" : 0
}


it is not something
and does not reflect the real state of the client with an outdated database


Well that is true, you have to be connected to the network to get the current difficulty.  But if you are running the client you should be up to date.

find  Wink

for example:

./BoomCoind getstakinginfo
{
    "enabled" : true,
    "staking" : false,
    "errors" : "",
    "currentblocksize" : 2307,
    "currentblocktx" : 5,
    "pooledtx" : 5,
    "difficulty" : 0.00024414,
    "search-interval" : 1,
    "weight" : 0,
    "netstakeweight" : 0,
    "expectedtime" : -1
}


legendary
Activity: 1540
Merit: 1060
May the force bit with you.
Correct. Right now it will allow you to set the split/combine threshold using startup/config switches.  Default is split nothing below 5 and combine if possible up to 20. It can be set to a max of splitthreshold of 10 and combine of 40.

I will allow these to increase for future, but based on wallet size and once the hard fork takes effect.

Thousand, right?  Blocks of 40 HBN seem very small.

No 40.  Blocks of 40 stake fairly quickly. And the QT can easily handle thousands of them with ease.  I will be increasing them in the future. For now a user, if they know how, can simply change the code and re-compile it, or they can combine manually.
legendary
Activity: 1033
Merit: 1005
Correct. Right now it will allow you to set the split/combine threshold using startup/config switches.  Default is split nothing below 5 and combine if possible up to 20. It can be set to a max of splitthreshold of 10 and combine of 40.

I will allow these to increase for future, but based on wallet size and once the hard fork takes effect.

Thousand, right?  Blocks of 40 HBN seem very small.
Jump to: