Hi Senj,
In response to Old C coder's messages.
It seems increasing PoW difficulty for more PoS blocks, is the wrong "inducement" for a "greedy/maliciu=ous miner". It would benefit him to have no PoS blocks between his/her PoW blocks, it seems to me?
Yes and no. Increasing PoW diff after PoS block hasn't changed
from peercoin. You need a way to push one type of blocks apart (PoW) in order to accommodate more blocks of a different type (PoS).
I do not understand that at all!
I thought that nodes (peers) that are mining or minting look at the "best" chain that they know about and if the top (tip) is a PoS, they
can't add a PoS, at the moment. If the tip is a PoW they can add a PoS.
I fail to see where blocks are pushed apart? All I see is blocks being added, with I presume transactions, Merkle trees, timepstamps, etc. etc.
And if community had enough hashpower, higher diff would not be a problem, since block mined like that would get more trust due higher difficulty.
I'm lost here too! enough hash power? For competing PoW blocks? What does a higher diff mean? Block mined with more trust? I'm stumped there too! More trust in relation to what other block? trust as a function of difficulty? I don't know what those terms mean either, nor where they are defined. It seems I didn't understand one thing in that sentence! (LOL)
Wouldn't it be more of an inducement to make the difficulty less, or at least not more?
In a way, that is what
one of the fixes accomplishes - but so that it does not hurt chaintrust of "community" blockchain.
I wish I knew what chaintrust was and what the community blockchain is, so I could consider what you said!
And if the miner chooses to mine on the PoS block, doesn't his "time" begin when he gets that PoS block? Isn't there a Merkle hash or some such making that time and block count the "top" on which he creates his next PoW block? So isn't he still (in priciple) on a one minute "difficulty"?
NO NO NO.
If you have a chain with one week of mixed PoW-PoS-PoW-PoS blocks, PoW target spacing then amounts to two! minutes.
Time is later considered in equation as difference from two previous blocks of same type. If those two previous PoW blocks from example are less than 2 minutes apart, difficulty is raised.
OK, I'm confused. A PoS block is broadcast on top of a PoW block and no other blocks are broadcast for a while. Doesn't (honest) mining code start mining the next block sometime after it sees the PoS block? So shouldn't the PoW difficulty be determined by the time of the last PoW block's time delta? By that I mean if the chain is
PoW- delta T0 - PoW - delta T1 - PoS now start mining a PoW using delta T0.
And if it is
PoS - delta T0 - PoW - delta T1 - PoS - now start mining a PoW using delta T0
Now if you find PoW block fast, the next will be more difficult, if you find it slowly (all in relation to the one minute average block period target time delta) it will be easier?
The
delta T1 can be very long or short it seems and it shouldn't matter to the next PoW block. Or am I missing something?
PoS is always fixed at 1 minute
I don't understand that either!! How is a PoS block fixed at 1 minute? One minute from what? They timestamp of the previous block? And how is fixed exactly? I'm sorry for being so picky, but understanding the terms is the only way I can understand what is supposed to happen, what the code does, and do the two coincide?
so the chain wants to "become" like this :
PoS-PoS-PoS-PoS...
But didn't that all go away from YACoin 043 to 044 (or earlier) when PoS-PoS- became impossible?) No PoS-PoS is allowed.
(by having algorithm push PoW blocks apart by raising difficulty after each new PoS block arrived)
Or is there a problem there? Also how is the value (trust/worthiness...) of a chain rated/valued/calculated for chains with PoS blocks rated vis a vis chains with only PoW blocks?
That is what chaintrust (sum of GetBlockTrust values of each block in a branch) is all about. This is a tricky part for any hybrid.
By hybrid, I presume you mean a PoW-PoS type of coin? Or something else?
I don't see a clear definition of what trust is there and the link to page 80 brings back memories. I just lurked since I didn't see the whole picture, but it seems that they predicted this day would come!
, but a lot more has been talked about on yacoin dev thread.
And if we have a limit on one PoS block in a row maximum, how do we rate/value... competeing PoS blocks for the "next" block after a PoW block? If amount of coin favors the "wealthy", and age of coin favors the "oldest-earliest adopters" then how about a "lowest hash" type of comparison ala Pow but being random I presume, a random node's PoS block would win?
Regarding "lower hash" it's easy to compare two blocks at the tip of a chain for lower hash. But when you have two block branches of 20(or 2000) mixed blocks each you need to quantify those "differences" with some non-exploitable formula.
I don't think I understand? If all or a majority of nodes(peers) runs whatever code exists, isn't that the consensus rule? In this case being the value of the last 'n' blocks, whatever number of PoS ones the last 'n' contain.
I thought I read somewhere that the consensus code (should have?) has some arbitrary depth beyond which a chain cannot (should not?) be overturned (in the future). In bitcoin, the insurmountable difficulty That is if one has a chain un-broadcast, in hiding as it were, if it is too long it will be ignored, irrespective of its trust or worth or difficulty? Or is that checkpointing?
Then you can also have two mixed type block branches mined on lower difficulty - and you need to compare against them too somehow.
Ron