X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fkernel.h;h=dc2fbb0710fe2f727940adfad0d15a9e433c550d;hp=d657ad5efebabf2310b253d1442cf98451277ce9;hb=d8f8063eda45b8dec864b28bb98839a2dd3a8170;hpb=68fbc35ade50af7e8b0ec0fe80e9a1372bccba2c diff --git a/src/kernel.h b/src/kernel.h index d657ad5..dc2fbb0 100644 --- a/src/kernel.h +++ b/src/kernel.h @@ -33,4 +33,7 @@ unsigned int GetStakeModifierChecksum(const CBlockIndex* pindex); // Check stake modifier hard checkpoints bool CheckStakeModifierCheckpoints(int nHeight, unsigned int nStakeModifierChecksum); +// Get time weight using supplied timestamps +int64 GetWeight(int64 nIntervalBeginning, int64 nIntervalEnd); + #endif // PPCOIN_KERNEL_H