Author

Topic: What are good resources for identifying POW schedules? (Read 1418 times)

member
Activity: 67
Merit: 10
Hey guys, thanks so much for your feedback. This has been really helpful.

Sorry I'm just chiming in now, but I had forgotten to turn on reply notifications for this thread, and I didn't know anyone had responded.
sr. member
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
Hi all, I'm new here and relatively new to crypto--I hope I'm posting in the right category.

In my trading I notice that a key variable for timing a trade is a coin's orientation in it's POW schedule, particularly when it is it's nearing the end of POW and the beginning of POS. I don't know how to determine these things, though, apart from listening to people on Twitter who may remark on it.

What are some resources I can use to begin identifying these schedules myself? Thanks in advance for any suggestions.

Well, actually that is basic math. Smiley

On the other hand side as you are new to crypto, I can tell you that PoW -> PoS is not the only scheme. There are also PoW only schemes (as Bitcoin) and PoS only schemes (as Nxt).
full member
Activity: 183
Merit: 100
Your resources will be your own reading comprehension and ability to do basic math.

I lol'd.
newbie
Activity: 11
Merit: 0
Go to the coin's github repository. Go to the file src/main.cpp. In Litecoin's case, this page.

Great answer. Use the source...

When I have a little extra time, I'll try to find the equivalent lines of code in some coins that don't share the Bitcoin code base.
sr. member
Activity: 364
Merit: 250
I'm really quite sane!
Go to the coin's github repository. Go to the file src/main.cpp. In Litecoin's case, this page. Then do a search for the two following expressions, one should match:

Code:
GetBlockValue
Code:
GetProofOfWorkValue

Find the above function, and it will have something like this, in Litecoin's case (this line):
Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 840000 blocks, which will occur approximately every 4 years
    nSubsidy >>= (nHeight / 840000); // Litecoin: 840k blocks in ~4 years

    return nSubsidy + nFees;
}

This means that the subsidy (block reward) starts at 50 and is cut in half every 840,000 blocks. So in this case, I would find a block explorer for Litecoin and record the current block number. As of writing, LTC's current block number is 606,317.
Then divide the current block number by the figure in the source code, rounding down to an integer:
Code:
606317/840000 = 0
That means the block reward is (50 coins) / (2 ^ 0) = 50 coins!


Here's another example that I'm making up:
Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 1000 * COIN;

    // Don't expect to see these comments everywhere, some devs are lazy <---
    nSubsidy >>= (nHeight / 50000);

    return nSubsidy + nFees;
}

Let's say the current block number is 120,000. Divide it by the figure in the source code:
Code:
120000/50000 = 2
That means the block reward is (1,000 coins) / (2 ^ 2) = 250 coins!


Sometimes you'll see something like this:
Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    if (nHeight == 1)
    {
        return 1000000 * COIN;
    }
    int64 nSubsidy = 1000 * COIN;

    nSubsidy >>= (nHeight / 50000);

    return nSubsidy + nFees;
}
This is a 1,000,000 coin premine. I encourage you to always check for yourself to see if there is a premine. Humans can lie, but the source code can't. I've seen more than one occasion where the premine was just totally unmentioned! This way, you don't have to hope that you get word of it, you can just see for yourself. Anyway, this premine business is drifting away from your question, so I'll stop.
newbie
Activity: 42
Merit: 0
Hi all, I'm new here and relatively new to crypto--I hope I'm posting in the right category.

In my trading I notice that a key variable for timing a trade is a coin's orientation in it's POW schedule, particularly when it is it's nearing the end of POW and the beginning of POS. I don't know how to determine these things, though, apart from listening to people on Twitter who may remark on it.

What are some resources I can use to begin identifying these schedules myself? Thanks in advance for any suggestions.

is not CurrentDate+(block_switching_to_pos-current_block)*time_per_block ?

i think there are no resorces with such info but it's look pretty easy to calculate  by yourself  Wink
sr. member
Activity: 448
Merit: 250
Your resources will be your own reading comprehension and ability to do basic math.
sr. member
Activity: 1512
Merit: 292
www.cd3d.app
I have no idea but you can see this forum more.
newbie
Activity: 11
Merit: 0
There might be a site that aggregates that kind of data, but I'd think you need to install the client for whichever coins your interested, or see if they have an online block explorer. Just look at what block the coin is on and what block it is supposed to switch to PoS, or whatever you're interested... reward halving, etc.
member
Activity: 67
Merit: 10
Hi all, I'm new here and relatively new to crypto--I hope I'm posting in the right category.

In my trading I notice that a key variable for timing a trade is a coin's orientation in it's POW schedule, particularly when it is it's nearing the end of POW and the beginning of POS. I don't know how to determine these things, though, apart from listening to people on Twitter who may remark on it.

What are some resources I can use to begin identifying these schedules myself? Thanks in advance for any suggestions.
Jump to: