Ma magari! dove si vuole andare con tutta questa crescita esponenziale di HP..... ormai sono in 4 gatti a minare, hanno tagliato fuori il resto del mondo: alla faccia della decentralizzazione!
Scusate lo sfogo.....
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.
class CBlockHeader
{
public:
// header
int32_t nVersion;
uint256 hashPrevBlock;
uint256 hashMerkleRoot;
uint32_t nTime;
uint32_t nBits; <-- TARGET
uint32_t nNonce;
target =
0x00000000ffff0000000000000000000000000000000000000000000000000000
invece il valore massimo per un numero rappresentabile con 256 bit -> 2**256 - 1 =
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
numero di tutti i possibili hash / numero tentativi effettuati finora(chainwork) =
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff / 00000000000000000000000000000000000000000262adde7b8bef7777dd191c =
00000000000000000000006b510b511d47c84885b242d50f324021701d5d4b36
0000000000000000000000ab789f6d71d9642ae3f697975ccd00afcb98fe6bd2
arith_uint256 GetBlockProof(const CBlockIndex& block)
{
arith_uint256 bnTarget;
bool fNegative;
bool fOverflow;
bnTarget.SetCompact(block.nBits, &fNegative, &fOverflow);
if (fNegative || fOverflow || bnTarget == 0)
return 0;
// We need to compute 2**256 / (bnTarget+1), but we can't represent 2**256
// as it's too large for an arith_uint256. However, as 2**256 is at least as large
// as bnTarget+1, it is equal to ((2**256 - bnTarget - 1) / (bnTarget+1)) + 1,
// or ~bnTarget / (bnTarget+1) + 1.
return (~bnTarget / (bnTarget + 1)) + 1;
}
dimensione(spazio di tutti i possibili hash) / dimensione (target) =
0x10000000000000000000000000000000000000000000000000000000000000000 / 0x00000000ffff0000000000000000000000000000000000000000000000000001 =
4.295.032.833
$ bitcoind -regtest
$ bitcoin-cli -regtest generate 10
[
"2c40f580288fb80446d367cba7bdcf65e1e2f286c4e035c180d7de7e96341853",
"5e8449f73b697c7f27f2a6c8e82d4ca533459f3f7c804598b971c23be920f920",
"1427aa50038a67ef9b660af10cff1a3cee1c60d541b5da368b4c1a735274001d",
"043ba499f8e331a572be9ac6f0401d3283fa86fd0b26c99b06aaffb43680e2d5",
"18326cda138a975cd8e926f47bc33cd66253387531155a1425d9df3058548477",
"643e6394a06caf557e3e72a94d2f52ffd6df2e3f39c8c0909b3e65cc941b245a",
"2a487b5a7ca93b4b3e08befc47c6ae885c3e678adcc033706d184bc0075fa577",
"3c18e578b6baa69819ea782c376723806c1d968e2aa4d78a5bfcb0b48798c75a",
"301c54360b300ce46a46e31ae3f9d9e2486e617f04889c06fb7a3ad283fb6554",
"4883d47e84e2b82a3994c80252021f36371b64227cd5093ec3556c28a599850f"
]
./bitcoin-cli -regtest getblockheader 2c40f580288fb80446d367cba7bdcf65e1e2f286c4e035c180d7de7e96341853
{
"hash": "2c40f580288fb80446d367cba7bdcf65e1e2f286c4e035c180d7de7e96341853",
"confirmations": 10,
"height": 1,
"version": 536870912,
"versionHex": "20000000",
"merkleroot": "f9706f3bc9fb2802b5af2efe431eec53c3d5767352137e16d052c07d6c72303e",
"time": 1532026224,
"mediantime": 1532026224,
"nonce": 6,
"bits": "207fffff",
"difficulty": 4.656542373906925e-10,
"chainwork": "0000000000000000000000000000000000000000000000000000000000000004",
"previousblockhash": "0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206",
"nextblockhash": "5e8449f73b697c7f27f2a6c8e82d4ca533459f3f7c804598b971c23be920f920"
}