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.
npm init -y
npm cache clear --force
npm install
npm init -y
root@ubuntu:/home/asus/XxxxxCoin# npm init -y
Wrote to /home/asus/XxxxxCoin/package.json:
{
"name": "XxxxxCoin",
"version": "1.0.0",
"description": "XxxxxCoinCore integration/staging tree =====================================",
"main": "index.js",
"directories": {
"doc": "doc",
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xxxxxxxxxxx/XxxxxCoin.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/xxxxxxxxx/XxxxxCoin/issues"
},
"homepage": "https://github.com/xxxxxxxx/XxxxxCoin#readme"
}
npm init -y
oot@ubuntu:/home/asus/XxxxxCoin# npm install
npm ERR! code EJSONPARSE
npm ERR! file /home/asus/XxxxxCoin/package.json
npm ERR! JSON.parse Failed to parse json
npm ERR! JSON.parse Unexpected string in JSON at position 651 while parsing '{
npm ERR! JSON.parse "name": "XxxxxCoin",
npm ERR! JSON.parse "version": "'
npm ERR! JSON.parse Failed to parse package.json data.
npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-03-08T10_23_37_464Z-debug.log
root@ubuntu:/home/asus/XxxxxCoin# npm install
npm notice created a lockfile as package-lock.json. You should commit this file.
up to date in 0.279s
{
"name": "XxxxxCoin",
"version": "1.0.0",
"description": "XxxxxCoinCore integration/staging tree =====================================",
"main": "index.js",
"directories": {
"doc": "doc",
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zzzzzzzz/XxxxxCoin.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/zzzzzzzz/XxxxxCoin/issues"
},
"homepage": "https://github.com/zzzzzzzz/XxxxxCoin#readme"
}
npm init -y
npm cache clear --force
npm install
root@ubuntu:/home/asus/XxxxxCoin# npm cache clear --force
npm WARN using --force I sure hope you know what you are doing.
root@ubuntu:/home/asus/XxxxxCoin#
root@ubuntu:/home/asus/XxxxxCoin# npm install
npm WARN saveError ENOENT: no such file or directory, open '/home/asus/XxxxxCoin/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/asus/XxxxxCoin/package.json'
npm WARN XxxxxCoin No description
npm WARN XxxxxCoin No repository field.
npm WARN XxxxxCoin No README data
npm WARN XxxxxCoin No license field.
up to date in 0.282s
git clone https://github.com/nasa8x/node-genesis-block.git genesis-block
npm cache clear --force
npm install
// Mainnet: Line 104
// The best chain should have at least this much work.
consensus.nMinimumChainWork = consensus.powLimit;
// By default assume that the signatures in ancestors of this block are valid.
consensus.defaultAssumeValid = uint256();
// ...
// Line 154
checkpointData = {
{
}
};
chainTxData = ChainTxData{
// Data from rpc: getchaintxstats 4096 0000000000000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8
/* nTime */ 0,//1532884444,
/* nTxCount */ 0,//331282217,
/* dTxRate */ 0,//2.4
};
// Testnet: Line 205
// The best chain should have at least this much work.
consensus.nMinimumChainWork = consensus.powLimit;
// By default assume that the signatures in ancestors of this block are valid.
consensus.defaultAssumeValid = uint256();
/...
// Line 246
checkpointData = {
{
}
};
chainTxData = ChainTxData{
// Data from rpc: getchaintxstats 4096 0000000000000037a8cd3e06cd5edbfe9dd1dbcc5dacab279376ef7cfc2b4c75
/* nTime */ 0,//1531929919,
/* nTxCount */ 0,//19438708,
/* dTxRate */ 0,//0.626
};
root@ubuntu:/home/asus/XxxxCoin# git clone https://github.com/nasa8x/node-genesis-block.git genesis-block
Cloning into 'genesis-block'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 29 (delta 0), reused 3 (delta 0), pack-reused 21
Unpacking objects: 100% (29/29), 18.92 KiB | 289.00 KiB/s, done.
root@ubuntu:/home/asus/XxxxCoin# cd genesis-block
root@ubuntu:/home/asus/XxxxCoin/genesis-block# npm install
> multi-hashing@git+https://github.com/nasa8x/node-multi-hashing.git#25517b7c7896c9c2b5e342a4e0c835adb0b11951 install /home/asus/XxxxCoin/genesis-block/node_modules/multi-hashing
> node-gyp configure build
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/asus/XxxxCoin/genesis-block/node_modules/multi-hashing/build'
gyp ERR! System Linux 5.8.0-43-generic
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "configure" "build"
gyp ERR! cwd /home/asus/XxxxCoin/genesis-block/node_modules/multi-hashing
gyp ERR! node -v v10.19.0
gyp ERR! node-gyp -v v6.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! multi-hashing@git+https://github.com/nasa8x/node-multi-hashing.git#25517b7c7896c9c2b5e342a4e0c835adb0b11951 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the multi-hashing@git+https://github.com/nasa8x/node-multi-hashing.git#25517b7c7896c9c2b5e342a4e0c835adb0b11951 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-03-01T21_03_44_626Z-debug.log
root@ubuntu:/home/asus/XxxxCoin/genesis-block# python gen.py -a X11 -t 1517542208 -z "Semper Fidelis to your happiness - 08/Mar/2020." -p "04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f"
python: can't open file 'gen.py': [Errno 2] No such file or directory
root@ubuntu:/home/asus/XxxxCoin/genesis-block#
Checkpoint data
When nodes first sync, there is some checkpoint data hard coded into the application, specific blocks that the application looks for. We have no blockchain data, so we want to clear these in src/chainparams.cpp
// Mainnet: Line 104
// The best chain should have at least this much work.
consensus.nMinimumChainWork = consensus.powLimit;
// By default assume that the signatures in ancestors of this block are valid.
consensus.defaultAssumeValid = uint256();
// ...
// Line 154
checkpointData = {
{
}
};
chainTxData = ChainTxData{
// Data from rpc: getchaintxstats 4096 0000000000000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8
/* nTime */ 0,//1532884444,
/* nTxCount */ 0,//331282217,
/* dTxRate */ 0,//2.4
};
checkpointData = {
{
{ 11111, uint256S("0x0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d")},
{ 33333, uint256S("0x000000002dd5588a74784eaa7ab0507a18ad16a236e7b1ce69f00d7ddfb5d0a6")},
{ 74000, uint256S("0x0000000000573993a3c9e41ce34471c079dcf5f52a0e824a81e7f953b8661a20")},
{105000, uint256S("0x00000000000291ce28027faea320c8d2b054b2e0fe44a773f3eefb151d6bdc97")},
{134444, uint256S("0x00000000000005b12ffd4cd315cd34ffd4a594f430ac814c91184a0d42d2b0fe")},
{168000, uint256S("0x000000000000099e61ea72015e79632f216fe6cb33d7899acb35b75c8303b763")},
{193000, uint256S("0x000000000000059f452a5f7340de6682a977387c17010ff6e6c3bd83ca8b1317")},
{210000, uint256S("0x000000000000048b95347e83192f69cf0366076336c639f9b7228e9ba171342e")},
{216116, uint256S("0x00000000000001b4f4b433e81ee46494af945cf96014816a4e2370f11b23df4e")},
{225430, uint256S("0x00000000000001c108384350f74090433e7fcf79a606b8e797f065b130575932")},
{250000, uint256S("0x000000000000003887df1f29024b06fc2200b55f8af8f35453d7be294df2d214")},
{279000, uint256S("0x0000000000000001ae8c72a0b0c301f67e3afca10e819efa9041e458e9bd7e40")},
{295000, uint256S("0x00000000000000004d9b4ef50f0f9d686fd69db2e03af35a100370c64632a983")},
}
};