gridcoin-community / Gridcoin-Research

Gridcoin-Research
MIT License
585 stars 172 forks source link

Testnet v3.6.3.17 check-list #753

Closed tomasbrod closed 6 years ago

tomasbrod commented 6 years ago
tomasbrod commented 6 years ago

Created new cpid, 825010e6974816e230eb3050e7c4c164 added that cpid to synthetic sb joined team gridcoin bootup wallet:

13:59:13
list rsa
[{
"RSA Report" : "1513342732"
},{
"Magnitude Unit (GRC payment per Magnitude per day)" : 1.82500000
}]

14:06:13
execute beaconstatus
[{
"Command" : "beaconstatus"
},{
"CPID" : "825010e6974816e230eb3050e7c4c164",
"Beacon Exists" : "No",
"Beacon Timestamp" : "1-1-1970 00:00:00",
"Public Key" : "",
"Private Key" : "",
"Local Configuration Public Key" : "",
"Magnitude (As of last superblock)" : 0.00000000,
"Warning" : "Your magnitude is 0 as of the last superblock: this may keep you from staking POR blocks.",
"Errors" : "Public Key Missing. Private Key Missing. Local configuration file Public Key missing. ",
"Help" : "Note: If your beacon is missing its public key, or is not in the chain, you may try: execute advertisebeacon.",
"Configuration Status" : "FAIL"
}]

14:06:24
getmininginfo
{
"blocks" : 425731,
"stakeweight" : {
"minimum" : 0,
"maximum" : 0,
"combined" : 0,
"valuesum" : 0.00000000,
"legacy" : 282404.02581060
},
"netstakeweight" : 1829216.59749576,
"staking" : false,
"mining-error" : "Wallet locked",
"time-to-stake_days" : 0.00000000,
"expectedtime" : 0,
"mining-version" : 0,
"mining-created" : 0,
"mining-accepted" : 0,
"mining-kernels-found" : 0,
"InterestPending" : 0.00000000,
"difficulty" : {
"proof-of-work" : 0.00645526,
"proof-of-stake" : 0.21070789,
"last-search-interval" : 0
},
"pow_reward" : 1030.00000000,
"errors" : "",
"pooledtx" : 0,
"stakeinterest" : 0.01500000,
"testnet" : true,
"PopularNeuralHash" : "",
"NeuralPopularity" : -1.00000000,
"CPID" : "825010e6974816e230eb3050e7c4c164",
"RSAWeight" : 0,
"Magnitude Unit" : 1.80000000,
"BoincRewardPending" : 0.00000000,
"MiningProject" : "srbase",
"MiningInfo 1" : "Boinc Mining",
"MiningInfo 2" : "Poll: casual:_current_gridcoin_problems_409885_cnt",
"MiningInfo 5" : "",
"MiningInfo 6" : "",
"MiningInfo 7" : "",
"MiningInfo 8" : ""
}
** External CPID not empty 825010e6974816e230eb3050e7c4c164 **
 Setting CPID to 825010e6974816e230eb3050e7c4c164
Setting bpk to 0c3d015eca594156ca6bcef5752cd5bb
No neural network nodes online.

ComputeResearchAccrual.CRE.Begin: cpid=825010e6974816e230eb3050e7c4c164 {a9d83a33ba72fb5b22e94fe3ac0eaa1d65e0534c37749e7f102bdc292da23803 425731} (best 425731)
CRE: dCurrentMagnitude= 0,0 in.dMagnitudeUnit= 1,800000
CRE: pHistorical {00006e037d7b84104208ecf2a8638d23149d712ea810da604ee2f2cb39bae713 0} hasNext= 1 nMagnitude= 0,0
CRE: No prior block exists...
CRE: Invalid Beacon, Using 0.01 age bootstrap
tomasbrod commented 6 years ago

beacon was successfully advertised and the keys appear in config as well as config backup

[{
"Command" : "advertisebeacon"
},{
"Result" : "SUCCESS",
"CPID" : "825010e6974816e230eb3050e7c4c164",
"Message" : "b6a11521d877b644b26fc0e18576ddc8a42e117a0b99dd6dffde70711f6415e9",
"Public Key" : "04021b8fb36de785381f46ec78d31a255f157ff1583da28dd6e4d1dcdab1850501dbaf6469ff246d795441e2b995594fccf2e7c42b6287ec1fca91338e79ed6326",
"Warning!" : "Your public and private research keys have been stored in gridcoinresearch.conf. Do not lose your private key (It is non-recoverable). It is recommended that you back up your gridcoinresearch.conf file on a regular basis."
}]
 Creating beacon for cpid 825010e6974816e230eb3050e7c4c164, 825010e6974816e230eb3050e7c4c16491c73768389439ca6c629a9f36323b3f68649c63646bc939389a3ac5689a67c775706e62746373706560676a6d667441627b66752f746c;40902e4540fe055ce341b806a49749dd35ed3d90157beaab23b8b3bb916dcdf1;mnZdj8UzPvJE6Mtt8HE2uai9HTuX6k77uR;04021b8fb36de785381f46ec78d31a255f157ff1583da28dd6e4d1dcdab1850501dbaf6469ff246d795441e2b995594fccf2e7c42b6287ec1fca91338e79ed6326
BackupConfigFile: Copied gridcoinresearch.conf to /home/tomas/.GridcoinResearch/testnet/walletbac
kups/gridcoinresearch.conf-2017-12-15T14-25-00                                                                                                                                                                                                                           
BackupConfigFile: Copied gridcoinresearch.conf to /home/tomas/.GridcoinResearch/testnet/walletbackups/gridcoinresearch.conf-2017-12-15T14-25-00-beacon                                                                                                                   
CommitTransaction:                                                                                                                                                                                                                                                       
CTransaction(hash=b6a11521d8, nTime=1513344279, ver=1, vin.size=1, vout.size=2, nLockTime=0)                                                                                                                                                                             
    CTxIn(COutPoint(85faa8ccb5, 2), scriptSig=30440220277aa096e843afc7)                                                                                                                                                                                                  
    CTxOut(nValue=136.8276974, scriptPubKey=OP_DUP OP_HASH160 b44c862b57065b37d418de2b2d215122d1cc0832 OP_EQUALVERIFY OP_CHECKSIG)                                                                                                                                       
    CTxOut(nValue=0.00001, scriptPubKey=OP_DUP OP_HASH160 314d56b06b86c82c2050d4b02d77216de474e0f0 OP_EQUALVERIFY OP_CHECKSIG)                                                                                                                                           
tomasbrod commented 6 years ago

Superblock was created without most magnitudes. It appears that both long-running and restarted nodes correctly assign zero magnitude to those not in superblock.

tomasbrod commented 6 years ago

The NeedASuperblock function was changed to locally allow superblock anytime (f260c7cc). Will test whether this sb passes into the network. No block from me past 426593 (f892982) should pass.

tomasbrod commented 6 years ago

The superblock is repeatedly rejected in 2/3 reorganize.

tomasbrod commented 6 years ago

Change detected. My superblock 426676, staked by modified client, already has 2 foreign confirms. It may just be a good time for sb. Anyway, the four early ones were rejected as supposed to.

tomasbrod commented 6 years ago

After that one superblock passed, following were rejected too.

tomasbrod commented 6 years ago

Switched to newbie cpid. Getmininginfo reports 500 GRC owed. This is log:

ComputeResearchAccrual.CRE.Begin: cpid=825010e6974816e230eb3050e7c4c164 {725dfe6135c5f8b05b741766f891542368f49f472871c1ef135ac6144f12c8e2 431096} (best 431096)
CRE: dCurrentMagnitude= 1600,0 in.dMagnitudeUnit= 5,000000
CRE: pHistorical {00006e037d7b84104208ecf2a8638d23149d712ea810da604ee2f2cb39bae713 0} hasNext= 1 nMagnitude= 0,0
CRE: No prior block exists...
ComputeResearchAccrual: Newbie special stake too high, reward=500GRC
tomasbrod commented 6 years ago

Staked a newbie reward. Still limited to 500 GRC.

CreateCoinStake: Found Kernel;
CreateCoinStake: added kernel type=1 credit=280,485645
StakeMiner: created rest of the block
ComputeResearchAccrual.CRE.Begin: cpid=825010e6974816e230eb3050e7c4c164 {f2ded403c462856adaf6d9d6eef319df1cb3d3e1b99d1d61792c4f402283a575 431105} (best 431105)
CRE: dCurrentMagnitude= 1600,0 in.dMagnitudeUnit= 5,000000
CRE: pHistorical {00006e037d7b84104208ecf2a8638d23149d712ea810da604ee2f2cb39bae713 0} hasNext= 1 nMagnitude= 0,0
CRE: No prior block exists...
ComputeResearchAccrual: Newbie special stake too high, reward=500GRCCreateGridcoinReward: for 825010e6974816e230eb3
050e7c4c164 mint 500,074101 {RSAWeight 101600,000000} Research 500,000000, Interest 0,074170
StakeMiner: added gridcoin reward to coinstake
AddNeuralContractOrVote: Updating Neural Supermajority (v9 M) height 431105
AddNeuralContractOrVote: not Needed
StakeMiner: signed boinchash, coinstake, wholeblock
AcceptBlock: Proof Of Stake V8 9

Block {af929c04e3df6b956120d57edcf97a34fe493fac42fb9f38210d3ce98cb5ea04 431106}