Pages:
Author

Topic: ◈◈Bitcredit ◈◈ Migrating to UniQredit◈◈ - page 76. (Read 284545 times)

newbie
Activity: 49
Merit: 0
With -reindex everyrhing worked fine
fresh sync is hard work. Had to restart daemon various times to finish
All synced until block 210004
Will there be another update or can I update my other nodes as well?
lg t.

Forgot some infos  Tongue
on fresh install / sync are the following files missing (Or are they not created anymore?)
balances.dat
ratings-folder
bnlist.dat (maybe for the lack of active BNs)

And
can´t start banknode for "out of sync" reason:

bitcredit-cli banknode start
sync in process. Must wait until client is synced to start.

Ok, when you are @ block 210004 there has not yet been a message requiring build of grantsDb, if you "setgenerate true" it will build the grantDb and try to mine block 210005. balances.dat should be created, are you sure you are on the last commit "try now" or after? Banknodes will start if you mine 210005 while connected to another synced peer.


I was able to mine the block. Daemon is Version from this afternoon.
No grantdb error or something else seen.
 bitcreditd -version
Bitcredit Core Daemon version v0.30.17.3-892e7c0-dirty

Can you please verfy?

So 2 BNs are now on the chain.
 bitcredit-cli banknode list
{
    "188.193.114.167:9995" : "ENABLED",
    "91.230.123.11:8877" : "ENABLED"
}

This ist the decoded transaction:

{
    "txid" : "26df3b688b41d4488e98135f6f744927b1cab04f4008e7197842a62f98352251",
    "version" : 1,
    "locktime" : 0,
    "vin" : [
        {
            "coinbase" : "035534030109062f503253482f",
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            "value" : 12.15000000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 23ea5bdfb62292a58784ffd57d4d45ed417415eb OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a91423ea5bdfb62292a58784ffd57d4d45ed417415eb88ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "5tL9DZMCBmhcFKf3tVUJa2f1mYjTujiu87"
                ]
            }
        },
        {
            "value" : 1.80000000,
            "n" : 1,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 08226e8d382b07d2cfe02c678937c82275b960aa OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a91408226e8d382b07d2cfe02c678937c82275b960aa88ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "5qoFUCqPUE4pyjus6U6jD6ba4oHR6NZ7c7"
                ]
            }
        },
        {
            "value" : 1.80000000,
            "n" : 2,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 6d7733df664a56f942602300facd7c4119d52bd9 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a9146d7733df664a56f942602300facd7c4119d52bd988ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "6133GZGV2XRnS53DkLSWrK661TsQMqnewL"
                ]
            }
        },
        {
            "value" : 2.25000000,
            "n" : 3,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 dcee7e519cc25c52f52439dc9012e3d884d5ef18 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a914dcee7e519cc25c52f52439dc9012e3d884d5ef1888ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "6BCRBKZLmq2JwWLWDtJZL26ao4uHhqG6mH"
                ]
            }
        }
    ]
}


So next block must be mined by another banknode, according to the new rules?

lg t.
full member
Activity: 431
Merit: 105
in the test version wallet's folder i got a file dunno why called 5 no extension..

inside it


{
   
   unspent_outputs:[
   
      {
         tx_hash:cd86564d526fc809d143345614c27cec86bc7f7da6bdb8b1f471c5bb51a5884b,
         tx_hash_big_endian:4b88a551bbc571f4b1b8bda67d7fbc86ec7cc214563443d109c86f524d5686cd,
         tx_index:99223051,
         tx_output_n:0,
         script:76a9143e0c4c0800102ad71cd3ece920e3a376f9161a0f88ac,
         value:100000,
         value_hex:0186a0,
         confirmations:5158
      },
   
      {
         tx_hash:4aedcc343e307304aae26cb83ce7e08012932bbad14a6b761ebeb195c47a2847,
         tx_hash_big_endian:47287ac495b1be1e766b4ad1ba2b931280e0e73cb86ce2aa0473303e34cced4a,
         tx_index:102497418,
         tx_output_n:1,
         script:76a9143e0c4c0800102ad71cd3ece920e3a376f9161a0f88ac,
         value:4000000,
         value_hex:3d0900,
         confirmations:1430
      },
   
      {
         tx_hash:e226eed770e8c17d3e8f5124400a2503722555ae0666aad27208a6a4babbaf2b,
         tx_hash_big_endian:2bafbbbaa4a60872d2aa6606ae55257203250a4024518f3e7dc1e870d7ee26e2,
         tx_index:102981774,
         tx_output_n:0,
         script:76a9143e0c4c0800102ad71cd3ece920e3a376f9161a0f88ac,
         value:1000000,
         value_hex:0f4240,
         confirmations:1149
      },
   
      {
         tx_hash:eeb7d0a6ae1f3c56efd9636da375c2723ff550090d418ce1047c505cc1f441d5,
         tx_hash_big_endian:d541f4c15c507c04e18c410d0950f53f72c275a36d63d9ef563c1faea6d0b7ee,
         tx_index:103263478,
         tx_output_n:1,
         script:76a9143e0c4c0800102ad71cd3ece920e3a376f9161a0f88ac,
         value:100000,
         value_hex:0186a0,
         confirmations:816
      },
   
      {
         tx_hash:7ed2b9d00b13db2fa259ec2d4139b410da956620d9fd47291bab6b7e574cc943,
         tx_hash_big_endian:43c94c577e6bab1b2947fdd9206695da10b439412dec59a22fdb130bd0b9d27e,
         tx_index:103337561,
         tx_output_n:1,
         script:76a9143e0c4c0800102ad71cd3ece920e3a376f9161a0f88ac,
         value:1000000,
         value_hex:0f4240,
         confirmations:747
      },
   
      {
         tx_hash:21ac3e33b43af92398ea8239ac4c97608219ab168629b59074e6a8c4570cf371,
         tx_hash_big_endian:71f30c57c4a8e67490b5298616ab198260974cac3982ea9823f93ab4333eac21,
         tx_index:103557767,
         tx_output_n:1,
         script:76a9143e0c4c0800102ad71cd3ece920e3a376f9161a0f88ac,
         value:1200000,
         value_hex:124f80,
         confirmations:510
      }
   am reindexing again with that other wallet.. still saying o.o.s
sr. member
Activity: 260
Merit: 250
on 91.230.123.11:

bitcredit-cli getinfo
{
    "version" : 301703,
    "protocolversion" : 70012,
    "walletversion" : 60000,
    "balance" : 50024.24807342,
    "darksend_balance" : 0.00000000,
    "blocks" : 210004,
    "timeoffset" : 66,
    "connections" : 7,
    "proxy" : "",
    "difficulty" : 0.00000007,
    "testnet" : false,
    "keypoololdest" : 1443320432,
    "keypoolsize" : 3,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : "Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade."
}


Same warning, using your node, latest "g" version from new-bla-bla-ver, clear sync from start, but now after using segenerate I'm at block 210005
legendary
Activity: 1246
Merit: 1005
so guys what's the status of BCR right now?

nice to know someone transacted a lot of millions of bcr past days, just before the bad things happened.?
Date / Time  Blocks  Height  Interval  Transactions  Value Out  Difficulty Generated+Fees

 2015-09-26 Sat 4 210004 21600.0 0 18.0 BCR 0.0000 ± 84% 54.0

 2015-09-25 Fri 653 210000 132.3 14 1,044,739.361 BCR 0.0000 ± 99% 41,718.0

 2015-09-24 Thu 900 209347 96.0 20 74,289.793 BCR 0.0000 ± 99% 46,164.0

 2015-09-23 Wed 888 208447 97.3 59 1,154,051.995 BCR 0.0000 ± 99% 45,948.0

 2015-09-22 Tue 855 207559 101.1 293 1,039,399.793 BCR 0.0000 ± 99% 45,354.0

 2015-09-21 Mon 909 206704 95.0 219 321,319.839 BCR 0.0000 ± 100% 46,326.0

 2015-09-20 Sun 891 205795 97.0 36 1,982,492.665 BCR 0.0000 ± 100% 46,002.0

 2015-09-19 Sat 513 204904 168.4 832 1,009,716.957 BCR 0.0000 ± 99% 9,216.0

 2015-09-18 Fri 739 204391 116.9 47 89,172.35 BCR 0.0000 ± 100% 43,266.0

 a working higher node 62.194.60.156



around 500k were dumped in the past week but not several million. Those tx in your list must be just moving inputs.

  
full member
Activity: 431
Merit: 105
so guys what's the status of BCR right now?

nice to know someone transacted a lot of millions of bcr past days, just before the bad things happened.?
Date / Time  Blocks  Height  Interval  Transactions  Value Out  Difficulty Generated+Fees

 2015-09-26 Sat 4 210004 21600.0 0 18.0 BCR 0.0000 ± 84% 54.0

 2015-09-25 Fri 653 210000 132.3 14 1,044,739.361 BCR 0.0000 ± 99% 41,718.0

 2015-09-24 Thu 900 209347 96.0 20 74,289.793 BCR 0.0000 ± 99% 46,164.0

 2015-09-23 Wed 888 208447 97.3 59 1,154,051.995 BCR 0.0000 ± 99% 45,948.0

 2015-09-22 Tue 855 207559 101.1 293 1,039,399.793 BCR 0.0000 ± 99% 45,354.0

 2015-09-21 Mon 909 206704 95.0 219 321,319.839 BCR 0.0000 ± 100% 46,326.0

 2015-09-20 Sun 891 205795 97.0 36 1,982,492.665 BCR 0.0000 ± 100% 46,002.0

 2015-09-19 Sat 513 204904 168.4 832 1,009,716.957 BCR 0.0000 ± 99% 9,216.0

 2015-09-18 Fri 739 204391 116.9 47 89,172.35 BCR 0.0000 ± 100% 43,266.0

 a working higher node 62.194.60.156

legendary
Activity: 1610
Merit: 1008
Forget-about-it
I have an older wallet synced to 210004 if you want me to turn it on to seed on wallet 17.3...
full member
Activity: 431
Merit: 105
wow huge price drop

wow probably very large db. what's causing fork right now? i have set a block 210005 with mining i saw it coming in into my wallet.
earlier before the fake link and i guess also after that.

 also have one wallet synced up to 210007 and another earlier with other older blocks, is at around 210900 something or 211000.

who's got a normal compiled one guys with the latest updates.

version" : 301703,
"protocolversion" : 70012,
"walletversion" : 60000,
"balance" : 96019.29871375,
"darksend_balance" : 0.00000000,
"blocks" : 210006,
"timeoffset" : 0,
"connections" : 1,
"proxy" : "",
"difficulty" : 0.00000003,
"testnet" : false,
"keypoololdest" : 1443397422,
"keypoolsize" : 2,
"unlocked_until" : 0,
"paytxfee" : 0.00000000,
"relayfee" : 0.00001000,
"errors" : ""
}


and another one still syncin at 180k stop probably at 210005
sr. member
Activity: 322
Merit: 250
on 91.230.123.11:

bitcredit-cli getinfo
{
    "version" : 301703,
    "protocolversion" : 70012,
    "walletversion" : 60000,
    "balance" : 50024.24807342,
    "darksend_balance" : 0.00000000,
    "blocks" : 210004,
    "timeoffset" : 66,
    "connections" : 7,
    "proxy" : "",
    "difficulty" : 0.00000007,
    "testnet" : false,
    "keypoololdest" : 1443320432,
    "keypoolsize" : 3,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : "Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade."
}
hero member
Activity: 1232
Merit: 501
Code:
file wallet.dat has LSN 1/18994, past end of log at 1/817
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
DB_ENV->log_flush: LSN of 1/18994 past current end-of-log of 1/817
Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
wallet.dat: unable to flush page: 50
txn_checkpoint: failed to flush the buffer cache: DB_RUNRECOVERY: Fatal error, run database recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery

?

That is new. What version of bdb are you using? Did you possibly do something that corrupted the DB or did you change anything in the env ?

win 7. v0.30.17.3-alpha, i didn't change anything did a full re-sync

Code:
19:55:40

getinfo


19:55:40

CDB : Error -30974, can't open database (code -1)

hero member
Activity: 602
Merit: 501
Code:
file wallet.dat has LSN 1/18994, past end of log at 1/817
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
DB_ENV->log_flush: LSN of 1/18994 past current end-of-log of 1/817
Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
wallet.dat: unable to flush page: 50
txn_checkpoint: failed to flush the buffer cache: DB_RUNRECOVERY: Fatal error, run database recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery

?

That is new. What version of bdb are you using? Did you possibly do something that corrupted the DB or did you change anything in the env ?
hero member
Activity: 1232
Merit: 501
Code:
file wallet.dat has LSN 1/18994, past end of log at 1/817
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
DB_ENV->log_flush: LSN of 1/18994 past current end-of-log of 1/817
Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
wallet.dat: unable to flush page: 50
txn_checkpoint: failed to flush the buffer cache: DB_RUNRECOVERY: Fatal error, run database recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery

?
full member
Activity: 431
Merit: 105
im synced at one wallet with 210005 and another with 210006
 no fully synced yet although i guess because of 210007
so how to give away myself as node..
sr. member
Activity: 322
Merit: 250
91.230.123.11:8877 ?
hero member
Activity: 602
Merit: 501
I also need a node @ 210004
hero member
Activity: 501
Merit: 503
Also synced my nodes, but can't find a node @ 210004 , every node i find is @ 210000
hero member
Activity: 602
Merit: 501
With -reindex everyrhing worked fine
fresh sync is hard work. Had to restart daemon various times to finish
All synced until block 210004
Will there be another update or can I update my other nodes as well?
lg t.

Forgot some infos  Tongue
on fresh install / sync are the following files missing (Or are they not created anymore?)
balances.dat
ratings-folder
bnlist.dat (maybe for the lack of active BNs)

And
can´t start banknode for "out of sync" reason:

bitcredit-cli banknode start
sync in process. Must wait until client is synced to start.

Ok, when you are @ block 210004 there has not yet been a message requiring build of grantsDb, if you "setgenerate true" it will build the grantDb and try to mine block 210005. balances.dat should be created, are you sure you are on the last commit "try now" or after? Banknodes will start if you mine 210005 while connected to another synced peer.
newbie
Activity: 49
Merit: 0
With -reindex everyrhing worked fine
fresh sync is hard work. Had to restart daemon various times to finish
All synced until block 210004
Will there be another update or can I update my other nodes as well?
lg t.

Forgot some infos  Tongue
on fresh install / sync are the following files missing (Or are they not created anymore?)
balances.dat
ratings-folder
bnlist.dat (maybe for the lack of active BNs)

And
can´t start banknode for "out of sync" reason:

bitcredit-cli banknode start
sync in process. Must wait until client is synced to start.
hero member
Activity: 602
Merit: 501
sr. member
Activity: 322
Merit: 250
bitcredit-cli getinfo
{
    "version" : 301703,
    "protocolversion" : 70012,
    "walletversion" : 60000,
    "balance" : 50024.24807342,
    "darksend_balance" : 0.00000000,
    "blocks" : 210004,
    "timeoffset" : 0,
    "connections" : 3,
    "proxy" : "",
    "difficulty" : 0.00000007,
    "testnet" : false,
    "keypoololdest" : 1443320432,
    "keypoolsize" : 3,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""
}

debug.log

Code:
2015-10-01 12:46:05 CreateNewBlock(): total size 1000
2015-10-01 12:46:05  Serialize Grant Info Database: Current Grant Database Block Height: 210002
2015-10-01 12:46:05   nActualTimespan = 1882  before bounds
2015-10-01 12:46:05 Retrieved Grant Rewards, Add to Block 210005
2015-10-01 12:46:05 Retrieved Grant Rewards, Add to Block 210005
2015-10-01 12:46:05 GetNextWorkRequired RETARGET
2015-10-01 12:46:05 Params().TargetTimespan2() = 60    nActualTimespan = 480
2015-10-01 12:46:05 Before: 2000d453  00d4530000000000000000000000000000000000000000000000000000000000
2015-10-01 12:46:05 Retrieved Grant Rewards, Add to Block 210005
2015-10-01 12:46:05 After:  20025e53  025e53bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2015-10-01 12:46:05   nActualTimespan = 1882  before bounds
2015-10-01 12:46:05 GetNextWorkRequired RETARGET
2015-10-01 12:46:05 Params().TargetTimespan2() = 60    nActualTimespan = 480
2015-10-01 12:46:05 Before: 2000d453  00d4530000000000000000000000000000000000000000000000000000000000
2015-10-01 12:46:05 After:  20025e53  025e53bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2015-10-01 12:46:05 CheckBlock() : Is initial download, skipping banknode payment check 210005
2015-10-01 12:46:05 CheckBlock() : Is initial download, skipping banknode payment check 210005
2015-10-01 12:46:05       - Connect 1 transactions: 0.01ms (0.012ms/tx, 0.000ms/txin) [0.00s]
2015-10-01 12:46:05   Is (210005) a grant block? : Yes
2015-10-01 12:46:05   Is (210005) a grant block? : Yes
2015-10-01 12:46:05  === Grant Database Block Height 210002 ===
2015-10-01 12:46:05 Checking Grant Database is updated. ===
=== Required Height : 210000, requested from: 210005 ===
2015-10-01 12:46:05 Check Grant Awards rewarded for Block 210005
2015-10-01 12:46:05 ERROR: ConnectBlock() : grant awards error( grantAward=0)
2015-10-01 12:46:05 BitcreditMiner runtime error: CreateNewBlock() : TestBlockValidity failed
2015-10-01 12:46:05 CreateNewBlock(): total size 1000
2015-10-01 12:46:05   nActualTimespan = 1882  before bounds
2015-10-01 12:46:05 GetNextWorkRequired RETARGET
2015-10-01 12:46:05 Params().TargetTimespan2() = 60    nActualTimespan = 480
2015-10-01 12:46:05 Before: 2000d453  00d4530000000000000000000000000000000000000000000000000000000000
2015-10-01 12:46:05 After:  20025e53  025e53bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2015-10-01 12:46:05   nActualTimespan = 1882  before bounds
2015-10-01 12:46:05 GetNextWorkRequired RETARGET
2015-10-01 12:46:05 Params().TargetTimespan2() = 60    nActualTimespan = 480
2015-10-01 12:46:05 Before: 2000d453  00d4530000000000000000000000000000000000000000000000000000000000
2015-10-01 12:46:05 After:  20025e53  025e53bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2015-10-01 12:46:05 CheckBlock() : Is initial download, skipping banknode payment check 210005
2015-10-01 12:46:05 CheckBlock() : Is initial download, skipping banknode payment check 210005
2015-10-01 12:46:05       - Connect 1 transactions: 0.01ms (0.010ms/tx, 0.000ms/txin) [0.00s]
2015-10-01 12:46:05   Is (210005) a grant block? : Yes
2015-10-01 12:46:05   Is (210005) a grant block? : Yes
2015-10-01 12:46:05  === Grant Database Block Height 210002 ===
2015-10-01 12:46:05 Checking Grant Database is updated. ===
=== Required Height : 210000, requested from: 210005 ===
2015-10-01 12:46:05 Check Grant Awards rewarded for Block 210005
2015-10-01 12:46:05 ERROR: ConnectBlock() : grant awards error( grantAward=0)
2015-10-01 12:46:05 BitcreditMiner runtime error: CreateNewBlock() : TestBlockValidity failed
2015-10-01 12:46:05 CreateNewBlock(): total size 1000
2015-10-01 12:46:05   nActualTimespan = 1882  before bounds
2015-10-01 12:46:05 GetNextWorkRequired RETARGET
2015-10-01 12:46:05 Params().TargetTimespan2() = 60    nActualTimespan = 480
2015-10-01 12:46:05 Before: 2000d453  00d4530000000000000000000000000000000000000000000000000000000000
2015-10-01 12:46:05 After:  20025e53  025e53bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2015-10-01 12:46:05   nActualTimespan = 1882  before bounds
2015-10-01 12:46:05 GetNextWorkRequired RETARGET
2015-10-01 12:46:05 Params().TargetTimespan2() = 60    nActualTimespan = 480
2015-10-01 12:46:05 Before: 2000d453  00d4530000000000000000000000000000000000000000000000000000000000
2015-10-01 12:46:05 After:  20025e53  025e53bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2015-10-01 12:46:05 CheckBlock() : Is initial download, skipping banknode payment check 210005
2015-10-01 12:46:05 CheckBlock() : Is initial download, skipping banknode payment check 210005
2015-10-01 12:46:05       - Connect 1 transactions: 0.01ms (0.009ms/tx, 0.000ms/txin) [0.00s]
2015-10-01 12:46:05   Is (210005) a grant block? : Yes
2015-10-01 12:46:05   Is (210005) a grant block? : Yes
2015-10-01 12:46:05  === Grant Database Block Height 210002 ===
2015-10-01 12:46:05 Checking Grant Database is updated. ===
=== Required Height : 210000, requested from: 210005 ===
2015-10-01 12:46:05 Check Grant Awards rewarded for Block 210005
2015-10-01 12:46:05 ERROR: ConnectBlock() : grant awards error( grantAward=0)
2015-10-01 12:46:05 BitcreditMiner runtime error: CreateNewBlock() : TestBlockValidity failed
2015-10-01 12:46:05 CreateNewBlock(): total size 1000
2015-10-01 12:46:05   nActualTimespan = 1882  before bounds
2015-10-01 12:46:05 GetNextWorkRequired RETARGET
2015-10-01 12:46:05 Params().TargetTimespan2() = 60    nActualTimespan = 480
2015-10-01 12:46:05 Before: 2000d453  00d4530000000000000000000000000000000000000000000000000000000000
2015-10-01 12:46:05 After:  20025e53  025e53bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2015-10-01 12:46:05   nActualTimespan = 1882  before bounds
2015-10-01 12:46:05 GetNextWorkRequired RETARGET
2015-10-01 12:46:05 Params().TargetTimespan2() = 60    nActualTimespan = 480
2015-10-01 12:46:05 Before: 2000d453  00d4530000000000000000000000000000000000000000000000000000000000
2015-10-01 12:46:05 After:  20025e53  025e53bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2015-10-01 12:46:05 CheckBlock() : Is initial download, skipping banknode payment check 210005
2015-10-01 12:46:05 CheckBlock() : Is initial download, skipping banknode payment check 210005
2015-10-01 12:46:05       - Connect 1 transactions: 0.01ms (0.009ms/tx, 0.000ms/txin) [0.00s]
2015-10-01 12:46:05   Is (210005) a grant block? : Yes
2015-10-01 12:46:05   Is (210005) a grant block? : Yes
2015-10-01 12:46:05  === Grant Database Block Height 210002 ===
2015-10-01 12:46:05 Checking Grant Database is updated. ===
=== Required Height : 210000, requested from: 210005 ===
2015-10-01 12:46:05 Check Grant Awards rewarded for Block 210005
2015-10-01 12:46:05 ERROR: ConnectBlock() : grant awards error( grantAward=0)
2015-10-01 12:46:05 BitcreditMiner runtime error: CreateNewBlock() : TestBlockValidity failed

grantdb.dat

Code:
210002
5
5qoFUCqPUE4pyjus6U6jD6ba4oHR6NZ7c7
37803240000000
5rNk8orWGkJbhmA7Vgb9312FSYtiNffUmS
176421000000000
5z5ECKDqbZqAUuhFeRTVGqLstq1RgxoWv8
20000000000
6133GZGV2XRnS53DkLSWrK661TsQMqnewL
37799460000000
6E9FhwnJ5QjYgqCrok6hxizFpamnEZxQi2
125995200000000
0
0
0
0
0
sr. member
Activity: 322
Merit: 250
there is no grantawards folder started with "-reindex -debug -debugvote"


seems like we running in the loop, we can't mine a valid block because we not have a BN online. we can't have a BN online, because there are more block on different nodes and/or have passwd 5 days from the last found block ...

I already relaxed that rule, right now the problem is the grantDB. I'm almost done writing code to make every DB persistent. But either way, that should not have happened , please post the grantdb file (also check if grantawards folder exists and if it'd file count matches # of blocks. (if you were running with -debug and -debugvote flags)

ratings/grantdb.dat:

Code:
210000
5
5qoFUCqPUE4pyjus6U6jD6ba4oHR6NZ7c7
37800000000000
5rNk8orWGkJbhmA7Vgb9312FSYtiNffUmS
176400000000000
5z5ECKDqbZqAUuhFeRTVGqLstq1RgxoWv8
20000000000
6133GZGV2XRnS53DkLSWrK661TsQMqnewL
37800000000000
6E9FhwnJ5QjYgqCrok6hxizFpamnEZxQi2
126000000000000
0
0
0
0
0


I don't have any grantawards folder.
Last start was without -debug.

trying now again

It's ok, already i can see that the reason it is rejecting the block you are trying to mine: your grantdb is incorrect. Somewhere along the line , you may have restarted and it was corrupted. If there is no votes, it should send to a default address that starts with "6BCR", so since it's not in the file, it rejects the block you are trying to make.

I am re-doing the grantsDb build procedure to join it to the addrDB and minerDB builds, since those are working properly and are updated at every new block without need to call additional functions.

Meanwhile, do a git pull, then delete ratings/grantdb.dat. Restart the daemon, no need to sync or reindex, just start it , make sure it's at block 210004 then "setgenerate true". If you look in the debug it should tell you it's rebuilding the grantsDB, after a minute or two it should finish.
 

rebuilding grantsDB now ...
Pages:
Jump to: