Dev please answer for few questions
Coin without premine, but what is it?
1142 unsigned int GetNextTargetRequired(const CBlockIndex pindexLast, bool fProofOfStake)
1143 {
1144 // Smoothly Transition: GetNextTargetRequired_Initial_POW -> DGW -> GetNextTargetRequired_POS
1145 if (pindexLast->nHeight < 1000)
1146 return GetNextTargetRequired_PoS(pindexLast, fProofOfStake);
1147 else if (pindexLast->nHeight < 100000)
1148 return DarkGravityWave3(pindexLast);
1149 else
1150 return GetNextTargetRequired_PoS(pindexLast, fProofOfStake);
1151 }
Raptor file for what it need?
1 #ifndef RAPTOR_H
2 #define RAPTOR_H
3
4 class RaptorFuck{
5
6
7 unsigned char keyStream[16];
8 unsigned long long int blockCounter;
9 int byteCounter;;
10
11 unsigned long long int nonce;
12
13
14 public:
15
16 RaptorFuck();
17
18 int keySize();
19
20 void setNonce( unsigned long long int nonce );
21
22 void setKey(unsigned char key);
They are only coin specs and are all self explanatory. If you want to know about how to build a coin. There are plenty of guides on bitcointalk.
For people who can't read code or don't understand how target proof methods are used, first part says:
block 1-1000 use the PoS method to get next block type
block 1001-100000 use the DGW3 PoW method
block 100001+ use the PoS method
second part is just a header file which doesn't have a matching function file so it's not being used anywhere (if you search the source code youll find that it is the only place the word raptor is even mentioned). check out any other hashing function and you will see the obvious differences