Pages:
Author

Topic: [ANN][GRA] Graincoin - PoW/PoS coin | Fast, secure | Version 1.6.2 Release - page 13. (Read 59060 times)

alm
newbie
Activity: 14
Merit: 0
Thanks for a new release!
Please make the CoinControl support. It is would be very helpful thing.  Roll Eyes
hero member
Activity: 574
Merit: 523
The Graincoin wallet v1.6.2 released, the download links in the OP are updated.

Please update. There is no deadline, but for the sake of network stability please do it as soon as you have time for it. Also, I would like to remind you that the blockchain data is available for direct download (currently it has 750k blocks included).
sr. member
Activity: 348
Merit: 250
Status update:

First, a small explanation what happened. At some point a node generated the block that had quite high trust score but were not propagated fast enough through the network. Some nodes accepted it but others rejected due to diff adjustment limiting filter that is originally designed to prevent the flooding of the network with blocks having too big PoW/PoS (the smaller the value the more work is required to produce a block). Originally, when a node receives such a block then it bans the sending peer immediately for 24h by default. So the net got split in two parts (or more). Then these parts live isolated for 24 hours and grow their own forks.

In 1.6.1 I removed this banning of a peer to maintain the network connected anyway and some other small fixes that I hoped would solve the problem. Apparently it did not help as some nodes remains stick to their forks even after they got reconnected with other nodes.

Thanks to the data kindly provided by harveyweizhao I analyzed the states of two forks and found the problem that keeps it from switching to the proper fork automatically.

Atm I am testing the fix and I am planning to release the 1.6.2 tomorrow or day after tomorrow. I still warn you not to make any transfers until you update to 1.6.2. The both exchanges were notified timely so they stopped the daemons. As soon as I see that the net is recovered after 1.6.2 deployment I will ask them to restore the services.

Stay tuned.



Thanks for the update.
hero member
Activity: 574
Merit: 523
Status update:

First, a small explanation what happened. At some point a node generated the block that had quite high trust score but were not propagated fast enough through the network. Some nodes accepted it but others rejected due to diff adjustment limiting filter that is originally designed to prevent the flooding of the network with blocks having too big PoW/PoS (the smaller the value the more work is required to produce a block). Originally, when a node receives such a block then it bans the sending peer immediately for 24h by default. So the net got split in two parts (or more). Then these parts live isolated for 24 hours and grow their own forks.

In 1.6.1 I removed this banning of a peer to maintain the network connected anyway and some other small fixes that I hoped would solve the problem. Apparently it did not help as some nodes remains stick to their forks even after they got reconnected with other nodes.

Thanks to the data kindly provided by harveyweizhao I analyzed the states of two forks and found the problem that keeps it from switching to the proper fork automatically.

Atm I am testing the fix and I am planning to release the 1.6.2 tomorrow or day after tomorrow. I still warn you not to make any transfers until you update to 1.6.2. The both exchanges were notified timely so they stopped the daemons. As soon as I see that the net is recovered after 1.6.2 deployment I will ask them to restore the services.

Stay tuned.

hero member
Activity: 574
Merit: 523
Please update the wallet.

http://sourceforge.net/projects/graincoin/files/v1.6/graincoin-1.6.1.0-win32.zip/download

the links in the OP and source at github are updated.

Still hold off with transfers and PoW minting: let the network recover, please.




Hold off with update please. I need some more time to analyse the data I succeeded to get.
hero member
Activity: 574
Merit: 523
Important!

There are issues with network. Please hold off transfers and PoW minting until further notice.
hero member
Activity: 499
Merit: 500
That did the trick.  Working again.

Thanks.
hero member
Activity: 574
Merit: 523
hero member
Activity: 499
Merit: 500
Is the chain moving?

I have...
5 connections
Current number of blocks 726796
Last block time Tue Jun 17 09:49:30 2014


11:43:24

getpeerinfo


11:43:24

[
{
"addr" : "176.195.30.180:11054",
"services" : "00000001",
"lastsend" : 1403030604,
"lastrecv" : 1403030604,
"conntime" : 1403021884,
"version" : 60006,
"subver" : "/Grain:1.5.0/",
"inbound" : false,
"releasetime" : 0,
"startingheight" : 699209,
"banscore" : 0
},
{
"addr" : "94.255.70.6:55956",
"services" : "00000001",
"lastsend" : 1403030016,
"lastrecv" : 1403030016,
"conntime" : 1403022040,
"version" : 60006,
"subver" : "/Grain:1.5.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 699211,
"banscore" : 0
},
{
"addr" : "50.197.11.193:53823",
"services" : "00000001",
"lastsend" : 1403029698,
"lastrecv" : 1403029698,
"conntime" : 1403022118,
"version" : 60006,
"subver" : "/Grain:1.5.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 676543,
"banscore" : 0
},
{
"addr" : "73.179.37.179:51826",
"services" : "00000001",
"lastsend" : 1403030370,
"lastrecv" : 1403030370,
"conntime" : 1403026768,
"version" : 60006,
"subver" : "/Grain:1.5.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 676543,
"banscore" : 0
},
{
"addr" : "91.90.15.131:53233",
"services" : "00000001",
"lastsend" : 1403028993,
"lastrecv" : 1403028993,
"conntime" : 1403028992,
"version" : 60007,
"subver" : "/Grain:1.6.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 724759,
"banscore" : 0
}
]
hero member
Activity: 574
Merit: 523
hmm, looks like my wallet is on a fork... Sad

If it is really on fork, I would appreciate if you zip the debug.log, blk0001.dat and txleveldb folder of your %appdata%/Grain folder before you do resync and share the zipped data with me so I could try to see why it happened.
full member
Activity: 256
Merit: 101
hmm, looks like my wallet is on a fork... Sad
hero member
Activity: 574
Merit: 523
newbie
Activity: 24
Merit: 0
I think Grain is forked, look at this:


[
{
"addr" : "176.195.30.180:61336",
"services" : "00000001",
"lastsend" : 1402987590,
"lastrecv" : 1402987378,
"conntime" : 1402986992,
"version" : 60006,
"subver" : "/Grain:1.5.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 698099,
"banscore" : 0
},
{
"addr" : "213.233.96.3:56563",
"services" : "00000001",
"lastsend" : 1402987041,
"lastrecv" : 1402987270,
"conntime" : 1402987004,
"version" : 60007,
"subver" : "/Grain:1.6.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 253827,
"banscore" : 0
},
{
"addr" : "155.69.222.246:65440",
"services" : "00000001",
"lastsend" : 1402987007,
"lastrecv" : 1402987008,
"conntime" : 1402987006,
"version" : 60007,
"subver" : "/Grain:1.6.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 726740,
"banscore" : 0
},
{
"addr" : "46.149.90.36:52552",
"services" : "00000001",
"lastsend" : 1402987378,
"lastrecv" : 1402987038,
"conntime" : 1402987038,
"version" : 60007,
"subver" : "/Grain:1.6.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 227209,
"banscore" : 0
},
{
"addr" : "155.69.222.249:52221",
"services" : "00000001",
"lastsend" : 1402987399,
"lastrecv" : 1402987122,
"conntime" : 1402987120,
"version" : 60007,
"subver" : "/Grain:1.6.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 726746,
"banscore" : 0
},
{
"addr" : "50.197.11.193:45706",
"services" : "00000001",
"lastsend" : 1402987399,
"lastrecv" : 1402987399,
"conntime" : 1402987397,
"version" : 60006,
"subver" : "/Grain:1.5.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 676543,
"banscore" : 0
},
{
"addr" : "84.51.215.123:62551",
"services" : "00000001",
"lastsend" : 1402987651,
"lastrecv" : 1402987651,
"conntime" : 1402987651,
"version" : 60006,
"subver" : "/Grain:1.5.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 698122,
"banscore" : 0
},
{
"addr" : "155.69.222.246:50420",
"services" : "00000001",
"lastsend" : 1402987744,
"lastrecv" : 1402987745,
"conntime" : 1402987743,
"version" : 60007,
"subver" : "/Grain:1.6.0/",
"inbound" : true,
"releasetime" : 0,
"startingheight" : 726779,
"banscore" : 0
}
]
 Embarrassed
member
Activity: 106
Merit: 10
CryptoBeggar

Quote

I am sorry for this, but  most likely this block have been mined while the wallet was on fork, not on main chain.
Nevertheless, try to start the wallet with option '-repairwallet'



ouch thats kinda sucks i mined over 1.5 mil
anyway thanks for the info
full member
Activity: 196
Merit: 100
hero member
Activity: 574
Merit: 523
Important!

I see three nodes of 17 connected and upgraded to 1.6.0 who believe that the main chain ends up at height 683607 at the time of writing.

the addresses of nodes are:
        "addr" : "155.69.222.246:53160",
        "addr" : "155.69.222.247:63688",
        "addr" : "155.69.213.60:63089",


Please resync!

My wallets reach the block 688373 now.
It seems to be fine.

Good, thank you:)
member
Activity: 110
Merit: 10
Important!

I see three nodes of 17 connected and upgraded to 1.6.0 who believe that the main chain ends up at height 683607 at the time of writing.

the addresses of nodes are:
        "addr" : "155.69.222.246:53160",
        "addr" : "155.69.222.247:63688",
        "addr" : "155.69.213.60:63089",


Please resync!

My wallets reach the block 688373 now.
It seems to be fine.
hero member
Activity: 574
Merit: 523
Quote

It looks strange. Could you provide more details what options do you use to start the wallet. Thank you.
i had to clean up ~/.Grain folder

btw all my coins are gone

{
"account" : "",
"category" : "orphan",
"amount" : 761.50000000,
"confirmations" : 0,
"generated" : true,
"txid" : "79992ac9127644b1f9060e625f65fd36ab194f46e76b6f51d079278228e150c5",
"time" : 1401408127,
"timereceived" : 1401408176
},

I am sorry for this, but  most likely this block have been mined while the wallet was on fork, not on main chain.
Nevertheless, try to start the wallet with option '-repairwallet'
member
Activity: 106
Merit: 10
CryptoBeggar
Quote

It looks strange. Could you provide more details what options do you use to start the wallet. Thank you.
i had to clean up ~/.Grain folder

btw all my coins are gone

{
"account" : "",
"category" : "orphan",
"amount" : 761.50000000,
"confirmations" : 0,
"generated" : true,
"txid" : "79992ac9127644b1f9060e625f65fd36ab194f46e76b6f51d079278228e150c5",
"time" : 1401408127,
"timereceived" : 1401408176
},
hero member
Activity: 574
Merit: 523
One question, I can't find the minimum minting days in the specifications.

I will update the spec, thank you. The minimum age is 10 days, the maximum age (after that age the weight is not growing anymore, but the coins are still eligible) is 30 days.


i downloaded blockchain provided in zip and im getting this error

src/kernel.cpp:393: unsigned int GetStakeModifierChecksum(const CBlockIndex*): Assertion `pindex->pprev || pindex->GetBlockHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.


any ideas?


It looks strange. Could you provide more details what options do you use to start the wallet. Thank you.
Pages:
Jump to: