Pages:
Author

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

sr. member
Activity: 414
Merit: 251


So I do see your concern, but from what I see the min stake time really doesn't change this issue much. Any wallet can choice when they stake and when they don't want to.  So even if the min time was at 24hours, that doesn't mean the whale's wallet has to start staking then. He can hold off, gain weight, and wait until the % is where he wants and let his stakes go.  The longer he waits though the higher the chances each stake will get capped and they could lose money in the long run.

The only thing that 24 min time can help with would be if no one else did this, then the difficulty would be higher over time, and that would give them less opportunity to control the block chain.  Though this is negligible.  The 2 things that do help prevent a whale from controlling the chain are max weight and cap. No matter how long they weight the highest they get up to is 30 days. Also the reward cap is incentive not to do what you say as well.

No worries.  I am open to discussion even criticisms. I won't cry in my beer   Tongue

Also you say 115mb ram?  I have not observed this at all ! I am still at 2 gb on all my wallets. Now granted all my wallets go back to the first few months, but 115mb?!

OK had a sleep on this and the reward is reactionary to block speed right?
So it's not as bad as I first thought because over reporting of net weight doesn't do much


But .. the following point remain for better or worse.
By holding off staking a whale might raise the reward level then crush it back down with their own stakes .. risne , repeat.
This has not been a feature of HBN because we were nearly always at 100% with 20 second blocks and a 10 day delay lessens the motivation.
with a 1 day maturity a whale with little pre-planning and prep can target other wallets ( by causing stake capping or low reward) and drive reward to their own agenda.
The problem with 1 day maturity is thee is little cost in reorganising your wallet. Actually its kinda nice but open to abuse.
Potential eventual outcome is the rich Hobos get richer and pwn the less HBN affluent (not very libertarian crypto)


On the upside 1 day staking will attract impatient stake dumpers and an influx of stake dump speculation might create some much needed liquidity on the markets.
In the meantime 8.8 is fine with me.

MEMORY
Well up to 158 MB this morning (so it does appear to be rising) but all the same ... This is a new wallet from July this year. I transferred everything over during a period
of performance issues. recently I have burned through about 1000 stakes but have around 2k mature blocks pending up to 15 days . walet has ~4k transactions

After the fork performance was pretty iffy but improved quickly and consistently ( memory usage immediately after the fork was 30MB I'm on win10)
just combined a bunch of blocks and back to 92MB



https://chainz.cryptoid.info/hbn/#!overview

i don't see any trouble at all ^^
we stay with 8.8d, improper coin control display can be easily fixed in wallet revision,
hbn remains the same clumsy mammoth, just a bit slower as growing older lol

lol .. yeah or that slow old mammoth might be your pc trying to carry another old mammoth on its back.

tranz has basically granted my Christmas list here! he's even surprised himself !
Low cpu and a memory footprint I have to search for in task manager. (getting the feeling that might not last)



legendary
Activity: 1540
Merit: 1060
May the force bit with you.
@Tranz

I can live with 8.8 days of mature time, can't see a real problem with it. But correct the showed metrics of the wallet in one of the next patches, please.

No this is BAD ... It means you can manipulate the interest rate without committing your coins to the risk of staking ....
24 hours to play the difficulty for legitimate coins aged up to 9 days

FlungSpun, not sure what you mean here.  This issue is small. There is no way to game the system based on this. Your coins are not up for stake until 8.8 days as it sits right now. It used to be 10 days. So it is better now, but not what I wanted.

I will fix this and we will get to the 1 day min stake rate. But it is not an issue that needs fixed immediately. The risk of splitting the network again via another hard fork so soon, is magnitudes more risk then letting it lie for now.

As development continues and we find more issues or adjustments necessary we can wrap all of those in another fork, but we are looking a while before that happens.

Well while I'm willing to go with your judgement on this from a technical fix point of view I don't see it a small issue at all. Perhaps I misunderstand something but ..
I can see a very clear way to game the difficulty in this situation with only a 24 hour window.
If a very big holder is able drive difficulty changes at specific time windows capturing high(er) rewards for themselves and ramping difficulty between maturity windows.

Simply put A (group of)  big wallet can put huge pressure on the network within 24 hours and remove it at a moments notice. While average holders have to consider block size over an 8.8 day time frame. It Just can't be a sensible way forward, even in the short term.

If I'm wrong please enlighten.


*edit
Also don't want to come off as an unappreciative douche here. The work you have done recently has been right on the money  115Mb RAM down from 2GB :0
this just bothers me greatly.



So I do see your concern, but from what I see the min stake time really doesn't change this issue much. Any wallet can choice when they stake and when they don't want to.  So even if the min time was at 24hours, that doesn't mean the whale's wallet has to start staking then. He can hold off, gain weight, and wait until the % is where he wants and let his stakes go.  The longer he waits though the higher the chances each stake will get capped and they could lose money in the long run.

The only thing that 24 min time can help with would be if no one else did this, then the difficulty would be higher over time, and that would give them less opportunity to control the block chain.  Though this is negligible.  The 2 things that do help prevent a whale from controlling the chain are max weight and cap. No matter how long they weight the highest they get up to is 30 days. Also the reward cap is incentive not to do what you say as well.

No worries.  I am open to discussion even criticisms. I won't cry in my beer   Tongue

Also you say 115mb ram?  I have not observed this at all ! I am still at 2 gb on all my wallets. Now granted all my wallets go back to the first few months, but 115mb?!
sr. member
Activity: 414
Merit: 251
@Tranz

I can live with 8.8 days of mature time, can't see a real problem with it. But correct the showed metrics of the wallet in one of the next patches, please.

No this is BAD ... It means you can manipulate the interest rate without committing your coins to the risk of staking ....
24 hours to play the difficulty for legitimate coins aged up to 9 days

FlungSpun, not sure what you mean here.  This issue is small. There is no way to game the system based on this. Your coins are not up for stake until 8.8 days as it sits right now. It used to be 10 days. So it is better now, but not what I wanted.

I will fix this and we will get to the 1 day min stake rate. But it is not an issue that needs fixed immediately. The risk of splitting the network again via another hard fork so soon, is magnitudes more risk then letting it lie for now.

As development continues and we find more issues or adjustments necessary we can wrap all of those in another fork, but we are looking a while before that happens.

Well while I'm willing to go with your judgement on this from a technical fix point of view I don't see it a small issue at all. Perhaps I misunderstand something but ..
I can see a very clear way to game the difficulty in this situation with only a 24 hour window.
If a very big holder is able drive difficulty changes at specific time windows capturing high(er) rewards for themselves and ramping difficulty between maturity windows.

Simply put A (group of)  big wallet can put huge pressure on the network within 24 hours and remove it at a moments notice. While average holders have to consider block size over an 8.8 day time frame. It Just can't be a sensible way forward, even in the short term.

If I'm wrong please enlighten.


*edit
Also don't want to come off as an unappreciative douche here. The work you have done recently has been right on the money  115Mb RAM down from 2GB :0
this just bothers me greatly.

 




legendary
Activity: 1540
Merit: 1060
May the force bit with you.
@Tranz

I can live with 8.8 days of mature time, can't see a real problem with it. But correct the showed metrics of the wallet in one of the next patches, please.

No this is BAD ... It means you can manipulate the interest rate without committing your coins to the risk of staking ....
24 hours to play the difficulty for legitimate coins aged up to 9 days

FlungSpun, not sure what you mean here.  This issue is small. There is no way to game the system based on this. Your coins are not up for stake until 8.8 days as it sits right now. It used to be 10 days. So it is better now, but not what I wanted.

I will fix this and we will get to the 1 day min stake rate. But it is not an issue that needs fixed immediately. The risk of splitting the network again via another hard fork so soon, is magnitudes more risk then letting it lie for now.

As development continues and we find more issues or adjustments necessary we can wrap all of those in another fork, but we are looking a while before that happens.
legendary
Activity: 1988
Merit: 1768
Is there any activities and development here? This type of occurrence is common! People create and develop projects and end up abandoning, 10 billion coins is a lot, do not you think? The PoS is much attractive.

Yes, there is.  Wink
The Dev is very active and has brought many updates in the last time. Problems are fixed fast.
Hobonickels is an old and good Coin. I like it.  Smiley
sr. member
Activity: 414
Merit: 251
@Tranz

I can live with 8.8 days of mature time, can't see a real problem with it. But correct the showed metrics of the wallet in one of the next patches, please.

No this is BAD ... It means you can manipulate the interest rate without committing your coins to the risk of staking ....
24 hours to play the difficulty for legitimate coins aged up to 9 days
sr. member
Activity: 876
Merit: 291
@Tranz

I can live with 8.8 days of mature time, can't see a real problem with it. But correct the showed metrics of the wallet in one of the next patches, please.
full member
Activity: 177
Merit: 100
Is there any activities and development here? This type of occurrence is common! People create and develop projects and end up abandoning, 10 billion coins is a lot, do not you think? The PoS is much attractive.
sr. member
Activity: 414
Merit: 251
Good news and bad.

Good news I found the issue.   The setting for the kernel Modifier is set for 6 hours.

Code:
static const unsigned int MODIFIER_INTERVAL = 6 * 60 * 60;

On the surface this seems fine. But it runs through this function:

Code:
// Get selection interval section (in seconds)
static int64_t GetStakeModifierSelectionIntervalSection(int nSection)
{
    assert (nSection >= 0 && nSection < 64);
    return (nModifierInterval * 63 / (63 + ((63 - nSection) * (MODIFIER_INTERVAL_RATIO - 1))));
}

Which changes it to 8.8 days(seem familiar?).

So no stake can be calculated that is below this ModiferSelection.  

Bad News?   I can't change this without a hard fork Sad

Sorry I didn't catch this earlier. I did test this quite a bit. But the testnest setting:

Code:
bool LoadBlockIndex(bool fAllowNew)
{
    LOCK(cs_main);

    if (fTestNet)
    {
        pchMessageStart[0] = 0xcd;
        pchMessageStart[1] = 0xf2;
        pchMessageStart[2] = 0xc0;
        pchMessageStart[3] = 0xef;

        bnProofOfStakeLimit = bnProofOfStakeLimitTestNet; // 0x00000fff PoS base target is fixed in testnet
        bnProofOfWorkLimit = bnProofOfWorkLimitTestNet; // 0x0000ffff PoW base target is fixed in testnet
        nStakeMinAge = 2 * 60 * 60; // test net min age is 2 hours
       nModifierInterval = 20 * 60; // test modifier interval is 20 minutes
Code:
       nCoinbaseMaturity = 10; // test maturity is 10 blocks
        nStakeTargetSpacing = 1 * 60; // test block spacing is 3 minutes
}

Is set in a complete different modal. So my test passed there. And I didn't realize it was different. But this is one of those settings that can't be tested on main net unless you fork off your own chain.

I think for the time being we have been through enough forks. I will plan for another one in the next 6-12 months or possible sooner that will fix this issue.  Plus other things we may decide.

Another hint: The message "You have 50% chance of producing a stake within TIME" delivers an at least 10 times  higher time span than the real minting occurs.
This I can and have fixed for the next release.


I can see why there might be cause for concern as I have some blocks at 8.8 days which have 10x the weight of much smaller blocks at 13-14 days and only blocks over 10 days have staked since the fork .. but its no scientific.


8.8 is the min, so those should be up for stake now.

So what does this mean for difficulty?
If all blocks we eligible to state after 1 day I'd expect this difficulty.
We have this difficulty but they are not staking .....

possible we'll need another fork sooner rather than later?
legendary
Activity: 1540
Merit: 1060
May the force bit with you.
Good news and bad.

Good news I found the issue.   The setting for the kernel Modifier is set for 6 hours.

Code:
static const unsigned int MODIFIER_INTERVAL = 6 * 60 * 60;

On the surface this seems fine. But it runs through this function:

Code:
// Get selection interval section (in seconds)
static int64_t GetStakeModifierSelectionIntervalSection(int nSection)
{
    assert (nSection >= 0 && nSection < 64);
    return (nModifierInterval * 63 / (63 + ((63 - nSection) * (MODIFIER_INTERVAL_RATIO - 1))));
}

Which changes it to 8.8 days(seem familiar?).

So no stake can be calculated that is below this ModiferSelection.  

Bad News?   I can't change this without a hard fork Sad

Sorry I didn't catch this earlier. I did test this quite a bit. But the testnest setting:

Code:
bool LoadBlockIndex(bool fAllowNew)
{
    LOCK(cs_main);

    if (fTestNet)
    {
        pchMessageStart[0] = 0xcd;
        pchMessageStart[1] = 0xf2;
        pchMessageStart[2] = 0xc0;
        pchMessageStart[3] = 0xef;

        bnProofOfStakeLimit = bnProofOfStakeLimitTestNet; // 0x00000fff PoS base target is fixed in testnet
        bnProofOfWorkLimit = bnProofOfWorkLimitTestNet; // 0x0000ffff PoW base target is fixed in testnet
        nStakeMinAge = 2 * 60 * 60; // test net min age is 2 hours
       nModifierInterval = 20 * 60; // test modifier interval is 20 minutes
Code:
       nCoinbaseMaturity = 10; // test maturity is 10 blocks
        nStakeTargetSpacing = 1 * 60; // test block spacing is 3 minutes
}

Is set in a complete different modal. So my test passed there. And I didn't realize it was different. But this is one of those settings that can't be tested on main net unless you fork off your own chain.

I think for the time being we have been through enough forks. I will plan for another one in the next 6-12 months or possible sooner that will fix this issue.  Plus other things we may decide.

Another hint: The message "You have 50% chance of producing a stake within TIME" delivers an at least 10 times  higher time span than the real minting occurs.
This I can and have fixed for the next release.


I can see why there might be cause for concern as I have some blocks at 8.8 days which have 10x the weight of much smaller blocks at 13-14 days and only blocks over 10 days have staked since the fork .. but its no scientific.


8.8 is the min, so those should be up for stake now.
legendary
Activity: 1540
Merit: 1060
May the force bit with you.
I am looking into the Min stake issue.  I will let you know what I find out.
sr. member
Activity: 876
Merit: 291
Another hint: The message "You have 50% chance of producing a stake within TIME" delivers an at least 10 times  higher time span than the real minting occurs.
sr. member
Activity: 414
Merit: 251
I wonder if the mature time really has dropped from 10 days to 1 day. Reorganized coins have not staked yet after 3 days. Any info about this?

You can see in coin control, the coins that are 1 day old and greater have weight. So they can stake. But with the higher difficulty can take a while to stake.   I'll try to find an example to ensure it is working correctly.

I just had one and it orphaned .lol

scratch that .. wrong wallet.


I can see why there might be cause for concern as I have some blocks at 8.8 days which have 10x the weight of much smaller blocks at 13-14 days and only blocks over 10 days have staked since the fork .. but its no scientific.


also showing a big discrepancy between the wallet weight on the green up arrow button and that reported as total in coin control
very approximate to difference of not including the coin age between 1 and 10 days ??
full member
Activity: 147
Merit: 100
is there a spot to download a snapshot of the chain? I am adding this over at thecryptopool.com Smiley
http://hobonickels.info/
sr. member
Activity: 876
Merit: 291
I wonder if the mature time really has dropped from 10 days to 1 day. Reorganized coins have not staked yet after 3 days. Any info about this?

You can see in coin control, the coins that are 1 day old and greater have weight. So they can stake. But with the higher difficulty can take a while to stake.   I'll try to find an example to ensure it is working correctly.

My old stakes are around 5k in size, and with a potential reward of around 40, and they are minting all the time.

The new wallet with the large stakes is telling me: "not staking, because you don't have mature coins", and "current wallet pos weight: 0". The largest stakes of them have an age of over 3 days, and a pos weight potential stake reward of 135 (by coin control).
member
Activity: 98
Merit: 10
is there a spot to download a snapshot of the chain? I am adding this over at thecryptopool.com Smiley
sr. member
Activity: 414
Merit: 251
I wonder if the mature time really has dropped from 10 days to 1 day. Reorganized coins have not staked yet after 3 days. Any info about this?

You can see in coin control, the coins that are 1 day old and greater have weight. So they can stake. But with the higher difficulty can take a while to stake.   I'll try to find an example to ensure it is working correctly.

I just had one and it orphaned .lol

scratch that .. wrong wallet.


I can see why there might be cause for concern as I have some blocks at 8.8 days which have 10x the weight of much smaller blocks at 13-14 days and only blocks over 10 days have staked since the fork .. but its no scientific.
legendary
Activity: 1540
Merit: 1060
May the force bit with you.
I wonder if the mature time really has dropped from 10 days to 1 day. Reorganized coins have not staked yet after 3 days. Any info about this?

You can see in coin control, the coins that are 1 day old and greater have weight. So they can stake. But with the higher difficulty can take a while to stake.   I'll try to find an example to ensure it is working correctly.
sr. member
Activity: 414
Merit: 251
I wonder if the mature time really has dropped from 10 days to 1 day. Reorganized coins have not staked yet after 3 days. Any info about this?

How big are your blocks ?


50000

potential stake is around 130 now, and age is nearly 3 days

I have some of them, so statistically it should happen.

OK I have a few at various sizes including a risky one @+100k (interest rate might still be low enough to miss the cap)

lets see what happens  though I have plenty sitting around 7-8k which are 8 days and I would have expected at least one to go by now
sr. member
Activity: 876
Merit: 291
I wonder if the mature time really has dropped from 10 days to 1 day. Reorganized coins have not staked yet after 3 days. Any info about this?

How big are your blocks ?


50000

potential stake is around 130 now, and age is nearly 3 days

I have some of them, so statistically it should happen.
Pages:
Jump to: