It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
srand((unsigned)time(NULL));
int xxx=rand()%160;
int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
{
int64 nSubsidy = 1 * COIN;
srand((unsigned)time(NULL));
int xxx=rand()%160;
if(nHeight == 1)
{
nSubsidy = 100000 * COIN;
}else
if(nHeight < 10000)
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 1024 * COIN;
else
nSubsidy = 1 * COIN;
}else if(nHeight > 10000 && nHeight < 20000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 512 * COIN;
else
nSubsidy = 1 * COIN;
}else if(nHeight > 20000 && nHeight < 40000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 256 * COIN;
else
nSubsidy = 1 * COIN;
}else if(nHeight > 40000 && nHeight < 80000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 128 * COIN;
else
nSubsidy = 1 * COIN;
}
else if(nHeight > 80000 && nHeight < 160000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 64 * COIN;
else
nSubsidy = 1 * COIN;
}
else if(nHeight > 160000 && nHeight < 320000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 32 * COIN;
else
nSubsidy = 1 * COIN;
}
else if(nHeight > 320000 && nHeight < 640000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 16 * COIN;
else
nSubsidy = 1 * COIN;
}else if(nHeight > 640000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 8 * COIN;
else
nSubsidy = 1 * COIN;
}
return nSubsidy + nFees;
}
#include
using namespace std;
int main() {
srand((unsigned)time(NULL));
int xxx=rand()%160;
cout << xxx << endl;
return 0;
}
$ ./a.out
155
$ ./a.out
2
$ ./a.out
9
$ ./a.out
16
You should find someone more experienced to review and fix the code, then re-luanch this coin.
c++: warning: cannot open ../share/genbuild.sh: No such file or directory
srand((unsigned)time(NULL));
int xxx=rand()%160;
#include
using namespace std;
int main() {
srand((unsigned)time(NULL));
int xxx=rand()%160;
cout << xxx << endl;
return 0;
}
$ ./a.out
155
$ ./a.out
2
$ ./a.out
9
$ ./a.out
16
#include
using namespace std;
int main() {
srand((unsigned)100);
int xxx=rand()%160;
cout << xxx << endl;
return 0;
}
$ ./a.out
66
$ ./a.out
66
$ ./a.out
66
$ ./a.out
66
c++: warning: cannot open ../share/genbuild.sh: No such file or directory
srand((unsigned)time(NULL));
int xxx=rand()%160;
c++: warning: cannot open ../share/genbuild.sh: No such file or directory
c++: warning: cannot open ../share/genbuild.sh: No such file or directory
QTime time= QTime::currentTime();
qsrand(time.msec()+time.second()*1000);
int xxx=qrand()%160;
#include
static const int CUTOFF_HEIGHT = POW_CUTOFF_HEIGHT;
// miner's coin base reward based on nBits
int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
{
int64 nSubsidy = 1 * COIN;
QTime time= QTime::currentTime();
qsrand(time.msec()+time.second()*1000);
int xxx=qrand()%160;
if(nHeight == 1)
{
nSubsidy = 100000 * COIN;
}else
if(nHeight < 10000)
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 1024 * COIN;
else
nSubsidy = 1 * COIN;
}else if(nHeight > 10000 && nHeight < 20000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 512 * COIN;
else
nSubsidy = 1 * COIN;
}else if(nHeight > 20000 && nHeight < 40000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 256 * COIN;
else
nSubsidy = 1 * COIN;
}else if(nHeight > 40000 && nHeight < 80000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 128 * COIN;
else
nSubsidy = 1 * COIN;
}
else if(nHeight > 80000 && nHeight < 160000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 64 * COIN;
else
nSubsidy = 1 * COIN;
}
else if(nHeight > 160000 && nHeight < 320000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 32 * COIN;
else
nSubsidy = 1 * COIN;
}
else if(nHeight > 320000 && nHeight < 640000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 16 * COIN;
else
nSubsidy = 1 * COIN;
}else if(nHeight > 640000 )
{
if(nHeight % (160 + xxx) ==0) nSubsidy = 8 * COIN;
else
nSubsidy = 1 * COIN;
}
c++: warning: cannot open ../share/genbuild.sh: No such file or directory