Обновлена тестовая сборка

Changes list:

  • Refactoring of Proof-of-Stake checkings code;
  • Remove some redundant messages from debug.log output;
  • Make stake related DoS checkings harder;
  • Database code is updated, direct CCoins links approach is implemented to decrease count of worthless flush and copy events;
  • Initial block download optimization, transaction hashes are cached now to make blocks validation faster;
  • Multiple CChainDB instantiations were replaced with a single CBlockTreeDB instance;
  • CCoinsDB and CBlockTreeDB are updated to use LevelDB storage;
  • gettxout and gettxoutsetinfo RPC calls added;
  • getblock and getblockbynumber RPC calls are now providing generator public key for proof-of-stake blocks.

Download [AMD64 | i686 | src]

Additional notes:

  • This builds should be considered as pre-release, i.e. it could be used for a new release if there will be no new critical issues;
  • If you see zero balance after updating then execute repairwallet command using RPC console and restart your client.
getblock 2f942cad0019a69cc83e9cfbdb65dcad7f8ed81eca2b027b2fa490f71f75e7af
{
    "hash" : "2f942cad0019a69cc83e9cfbdb65dcad7f8ed81eca2b027b2fa490f71f75e7af",
    "confirmations" : 60393,
    "size" : 1146,
    "height" : 10022,
    "version" : 2,
    "merkleroot" : "6950c20fca1f4b3091cc274ba4c0cc37e86927431814e9a927cca81ab50e5441",
    "mint" : 0.25000000,
    "time" : 1363070975,
    "nonce" : 0,
    "bits" : "1e0fffff",
    "difficulty" : 0.00024414,
    "blocktrust" : "100001",
    "chaintrust" : "102727",
    "previousblockhash" : "0000000000e5885d4087ab52b37d81baf28b4b58231402cfd9fe6d4946edacf8",
    "nextblockhash" : "00000000072940ff4f46eabace834d681fd20488034517acdc13c8ec7b2771d3",
    "flags" : "proof-of-stake stake-modifier",
    "proofhash" : "000018d0aa7d744d1c92e2ed0d3b9b2ea313e4a6e72fc7013b6bbebbd414eaf9",
    "entropybit" : 1,
    "modifier" : "a736cfbe4e9a6031",
    "modifierchecksum" : "fede5a20",
    "tx" : [
        "7473c894134d83bf4a0a5207310520c12edb9bf69411e27b672d77a847d553a0",
        "01c4dea3d857183a43c126cf34f232bfd2453d3f8f78195b211d9e7a3544a31d",
        "578f2a5464c6f4beade6ea0627c4dc4f3f486d52affe3b24e3f3db349b1d7582",
        "41de352ef0b8f1c3cd2dcf3837c4429a43aaebb8cda12a608f8b3dbd896dc76b",
        "fb725604b226f8e59aeb07ec21c775f2bd8e3d2033ed46f4562e71b43427cfbf"
    ],
    "generator" : "02afed4a3e2473670ea7a93d61e9fcc883e308812769ff9135a6819b1bccc6486d",
    "signature" : "304402207f5985ec8b0e2f034d0ace6a0105d371a0acdf82ea64fca8f0e4bd58a6dcd5a902201e1 0950ef5816402822a7e0ffd078cf3bfd985e015fc032e23febd899110b294"
}
gettxoutsetinfo 
{
    "bestblock" : "6cdbb76beb4ccf8a3c1a5dc5f1bcd3728c80cd1b98fa72b6926e2243acdd18f1",
    "transactions" : 56978,
    "txouts" : 90709,
    "bytes_serialized" : 4375823
}
gettxout 01c4dea3d857183a43c126cf34f232bfd2453d3f8f78195b211d9e7a3544a31d 0
{
    "bestblock" : "6cdbb76beb4ccf8a3c1a5dc5f1bcd3728c80cd1b98fa72b6926e2243acdd18f1",
    "confirmations" : 60394,
    "amount" : 0,
    "scriptPubKey" : {
        "asm" : "",
        "hex" : ""
    },
    "version" : 1,
    "coinbase" : false,
    "coinstake" : true
}

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *