Author

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

legendary
Activity: 1246
Merit: 1005

I'm trying to update but the crashes are still there 99% of the time it crashes on "Done Loading"

sr. member
Activity: 322
Merit: 250
sr. member
Activity: 322
Merit: 250
when will be the working client out?

Came from the movie  Cheesy ... compiling win version now ...

@bitcreditscc welcome back !  Wink
hero member
Activity: 819
Merit: 502
when will be the working client out?
hero member
Activity: 602
Merit: 501
we are going to phase out pools soon, push tx processing to BNs.
legendary
Activity: 966
Merit: 1000
Ok few steps ahead, it was my typo in "bicreditsnew" but now after "./configure --enable-upnp-default --enable-tests=no --with-miniupnpc --with-gui=qt5"  I get  

 "configure: error: libcurl not found"

Any wise head there willing to help ?

Try
Code:
sudo apt-get install libcurl4-gnutls-dev

Failing that, I've uploaded some linux binaries here: www.thebuckstop.net/BCR

Still syncing here or would have uploaded the blocks folder too.

edit: to answer previous question, blocks folder should be OS agnostic, just copy it over.
hero member
Activity: 602
Merit: 501
lol, botnet on the pool http://p2pool.website:8776/static/p2pool-node-status/

someone will be mighty disappointed when we move to BN only mining.
hero member
Activity: 602
Merit: 501
Ok few steps ahead, it was my typo in "bicreditsnew" but now after "./configure --enable-upnp-default --enable-tests=no --with-miniupnpc --with-gui=qt5"  I get 

 "configure: error: libcurl not found"

Any wise head there willing to help ?

sudo apt-get install libcurl (or whatever variant works with your flavor)
sr. member
Activity: 260
Merit: 250
Ok few steps ahead, it was my typo in "bicreditsnew" but now after "./configure --enable-upnp-default --enable-tests=no --with-miniupnpc --with-gui=qt5"  I get 

 "configure: error: libcurl not found"

Any wise head there willing to help ?
hero member
Activity: 602
Merit: 501
...
I see that there are problems with blockchain. Probably he reports that the number of blocks more than it actually is.
Solo miner:
Quote
2015-09-05 00:13:28 | clpts failed (Bitcredit is downloading blocks...)
P2pool:
Quote
2015-09-05 00:14:28.346264 > p2pool.util.jsonrpc.NarrowError: -10 Bitcredit is downloading blocks...


Make sure your p2pool is updated and has downloaded shares, it should kick off from there.
P2pool updated. But he can not start work because not all blocks are loaded:
Quote
2015-09-05 01:06:30.864102 p2pool (version 13.4-139-g08b4998)
2015-09-05 01:06:30.864340
2015-09-05 01:06:30.864489 Testing bitcoind RPC connection to 'http://127.0.0.1:8878/' with username 'bitcreditrpc'...
2015-09-05 01:06:55.045926 > Error getting work from bitcoind:
...
2015-09-05 01:06:55.054777 > p2pool.util.jsonrpc.NarrowError: -10 Bitcredit is downloading blocks...

This is not a p2pool of problem.

The same message from the RPC miner (not pool miner):
sleep 10s...
GPU0: 0 c/m | ART: inf ms (-nan/-nan/-nan)
GPU1: 0 c/m | ART: inf ms (-nan/-nan/-nan)
2015-09-05 01:20:55 | 0 c/m | blocks found: 0 | rejected blocks: 0
2015-09-05 01:21:05 | clpts failed (Bitcredit is downloading blocks...)
sleep 10s...

This from debug.log (wallet mining with gen=1):
Quote
2015-09-04 19:21:46 Running BitcreditMiner with 1 transactions in block (265 bytes)
2015-09-04 19:21:52 testHash 6905236125aab65a9f68304c74b25dcea9c2cc3fc994cdc86f70389f7b238d0e
2015-09-04 19:21:52 Hash Target 0000ad6900000000000000000000000000000000000000000000000000000000
2015-09-04 19:21:52 CreateNewBlock: Failed to detect banknode to pay
2015-09-04 19:21:52 CreateNewBlock(): total size 1000
2015-09-04 19:21:52   nActualTimespan = 22  before bounds
2015-09-04 19:21:52 GetNextWorkRequired RETARGET
2015-09-04 19:21:52 Params().TargetTimespan2() = 60    nActualTimespan = 22
2015-09-04 19:21:52 Before: 1f01d8f2  0001d8f200000000000000000000000000000000000000000000000000000000
2015-09-04 19:21:52 After:  1f00ad69  0000ad69cccccccccccccccccccccccccccccccccccccccccccccccccccccccc
2015-09-04 19:21:52   nActualTimespan = 22  before bounds
2015-09-04 19:21:52 GetNextWorkRequired RETARGET
2015-09-04 19:21:52 Params().TargetTimespan2() = 60    nActualTimespan = 22
2015-09-04 19:21:52 Before: 1f01d8f2  0001d8f200000000000000000000000000000000000000000000000000000000
2015-09-04 19:21:52 After:  1f00ad69  0000ad69cccccccccccccccccccccccccccccccccccccccccccccccccccccccc
2015-09-04 19:21:52 GetSpork::Unknown Spork 1427803200
2015-09-04 19:21:52 CheckBlock() : skipping transaction locking checks
2015-09-04 19:21:52 CheckBlock() : Is initial download, skipping banknode payment check 200107
2015-09-04 19:21:52 GetSpork::Unknown Spork 1427803200
2015-09-04 19:21:52 CheckBlock() : skipping transaction locking checks
2015-09-04 19:21:52 CheckBlock() : Is initial download, skipping banknode payment check 200107
2015-09-04 19:21:52 Running BitcreditMiner with 1 transactions in block (265 bytes)

Please do a fresh system. As you can see fro the reference pools and wallets, everything is in order. I'd encourage you to first delete the existing folders and related settings then re-clone and build. When the wallet reports that it is properly synced, that is when you should start p2pool.
legendary
Activity: 1308
Merit: 1011
...
I see that there are problems with blockchain. Probably he reports that the number of blocks more than it actually is.
Solo miner:
Quote
2015-09-05 00:13:28 | clpts failed (Bitcredit is downloading blocks...)
P2pool:
Quote
2015-09-05 00:14:28.346264 > p2pool.util.jsonrpc.NarrowError: -10 Bitcredit is downloading blocks...


Make sure your p2pool is updated and has downloaded shares, it should kick off from there.
P2pool updated. But he can not start work because not all blocks are loaded:
Quote
2015-09-05 01:06:30.864102 p2pool (version 13.4-139-g08b4998)
2015-09-05 01:06:30.864340
2015-09-05 01:06:30.864489 Testing bitcoind RPC connection to 'http://127.0.0.1:8878/' with username 'bitcreditrpc'...
2015-09-05 01:06:55.045926 > Error getting work from bitcoind:
...
2015-09-05 01:06:55.054777 > p2pool.util.jsonrpc.NarrowError: -10 Bitcredit is downloading blocks...

This is not a p2pool of problem.

The same message from the RPC miner (not pool miner):
sleep 10s...
GPU0: 0 c/m | ART: inf ms (-nan/-nan/-nan)
GPU1: 0 c/m | ART: inf ms (-nan/-nan/-nan)
2015-09-05 01:20:55 | 0 c/m | blocks found: 0 | rejected blocks: 0
2015-09-05 01:21:05 | clpts failed (Bitcredit is downloading blocks...)
sleep 10s...

This from debug.log (wallet mining with gen=1):
Quote
2015-09-04 19:21:46 Running BitcreditMiner with 1 transactions in block (265 bytes)
2015-09-04 19:21:52 testHash 6905236125aab65a9f68304c74b25dcea9c2cc3fc994cdc86f70389f7b238d0e
2015-09-04 19:21:52 Hash Target 0000ad6900000000000000000000000000000000000000000000000000000000
2015-09-04 19:21:52 CreateNewBlock: Failed to detect banknode to pay
2015-09-04 19:21:52 CreateNewBlock(): total size 1000
2015-09-04 19:21:52   nActualTimespan = 22  before bounds
2015-09-04 19:21:52 GetNextWorkRequired RETARGET
2015-09-04 19:21:52 Params().TargetTimespan2() = 60    nActualTimespan = 22
2015-09-04 19:21:52 Before: 1f01d8f2  0001d8f200000000000000000000000000000000000000000000000000000000
2015-09-04 19:21:52 After:  1f00ad69  0000ad69cccccccccccccccccccccccccccccccccccccccccccccccccccccccc
2015-09-04 19:21:52   nActualTimespan = 22  before bounds
2015-09-04 19:21:52 GetNextWorkRequired RETARGET
2015-09-04 19:21:52 Params().TargetTimespan2() = 60    nActualTimespan = 22
2015-09-04 19:21:52 Before: 1f01d8f2  0001d8f200000000000000000000000000000000000000000000000000000000
2015-09-04 19:21:52 After:  1f00ad69  0000ad69cccccccccccccccccccccccccccccccccccccccccccccccccccccccc
2015-09-04 19:21:52 GetSpork::Unknown Spork 1427803200
2015-09-04 19:21:52 CheckBlock() : skipping transaction locking checks
2015-09-04 19:21:52 CheckBlock() : Is initial download, skipping banknode payment check 200107
2015-09-04 19:21:52 GetSpork::Unknown Spork 1427803200
2015-09-04 19:21:52 CheckBlock() : skipping transaction locking checks
2015-09-04 19:21:52 CheckBlock() : Is initial download, skipping banknode payment check 200107
2015-09-04 19:21:52 Running BitcreditMiner with 1 transactions in block (265 bytes)
sr. member
Activity: 260
Merit: 250
Any care to share the compiled 70009 version wallet?


@bitcreditscc

Glad that You are back.

I was thinking before about suggesting to use some testnet for some bigger changes but I'm asking a lot lately Wink  , happy that I don't have Dash masternode with so many version changes ...

So my BNs wasted 8 days, still I can live with it.



I would like linux Ubuntu 14.04 x64 version too.

Tried to start to compile, first command "git clone https://github.com/bitcreditscc/bicreditsnew.git"  and I get "username for 'https://github.com' : bitcreditscc" then "password..."   , lol what Huh


BTW

Anyone tried to use boostrap from linux in windows wallet or vice -versa is it compatible ?
member
Activity: 89
Merit: 10
Any care to share the compiled 70009 version wallet?
hero member
Activity: 602
Merit: 501
legendary
Activity: 966
Merit: 1000
Bn mining is disabled for now
OK, as soon as I've got my local wallet sorted I'll bootstrap all my BNs from that.


Bidding is active though... likely i will write a guide sometime today once i slow down.

I can't wait to give this a go.  Smiley
legendary
Activity: 1308
Merit: 1011
I am now compiled the new wallet:
bitcredit-cli getinfo
{
    "version" : 301609,
    "protocolversion" : 70009,
    "walletversion" : 60000,
    "balance" :
    "darksend_balance" : 0.00000000,
    "blocks" : 200060,
    "timeoffset" : 0,
    "moneysupply" : 19595414.99810301,
    "connections" : 3,
    "proxy" : "",
    "difficulty" : 0.00000140,
    "testnet" : false,
    "keypoololdest" : 1441386823,
    "keypoolsize" : 4,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""
}

bitcredit-cli getpeerinfo
[
    {
        "id" : 1,
        "addr" : "198.52.160.59:8877",
        "addrlocal" : "82.200.205.30:60670",
        "services" : "0000000000000001",
        "lastsend" : 1441390563,
        "lastrecv" : 1441390563,
        "bytessent" : 43993,
        "bytesrecv" : 5119906,
        "conntime" : 1441388394,
        "pingtime" : 0.16722000,
        "version" : 70009,
        "subver" : "/Section 32:0.30.16.9/",
        "inbound" : false,
        "startingheight" : 200046,
        "banscore" : 0,
        "servicesdesc" : "MSG RELAY ASSETS ESCROW IBTP BANK BRIDGE",
        "synced_headers" : 200064,
        "synced_blocks" : 200064,
        "inflight" : [
        ],
        "whitelisted" : false
    },
    {
        "id" : 2,
        "addr" : "198.52.160.64:8877",
        "addrlocal" : "82.200.205.30:57035",
        "services" : "0000000000000001",
        "lastsend" : 1441390556,
        "lastrecv" : 1441390562,
        "bytessent" : 1601,
        "bytesrecv" : 3667,
        "conntime" : 1441388394,
        "pingtime" : 0.15530600,
        "version" : 70009,
        "subver" : "/Section 32:0.30.16.9/",
        "inbound" : false,
        "startingheight" : 200046,
        "banscore" : 0,
        "servicesdesc" : "MSG RELAY ASSETS ESCROW IBTP BANK BRIDGE",
        "synced_headers" : 200064,
        "synced_blocks" : 200064,
        "inflight" : [
        ],
        "whitelisted" : false
    },
    {
        "id" : 3,
        "addr" : "198.52.160.60:8877",
        "addrlocal" : "82.200.205.30:43330",
        "services" : "0000000000000001",
        "lastsend" : 1441390556,
        "lastrecv" : 1441390562,
        "bytessent" : 16741,
        "bytesrecv" : 1831151,
        "conntime" : 1441388395,
        "pingtime" : 0.23267000,
        "version" : 70009,
        "subver" : "/Section 32:0.30.16.9/",
        "inbound" : false,
        "startingheight" : 200046,
        "banscore" : 0,
        "servicesdesc" : "MSG RELAY ASSETS ESCROW IBTP BANK BRIDGE",
        "synced_headers" : 200064,
        "synced_blocks" : 200064,
        "inflight" : [
        ],
        "whitelisted" : false
    }
]


I see that there are problems with blockchain. Probably he reports that the number of blocks more than it actually is.
Solo miner:
Quote
2015-09-05 00:13:28 | clpts failed (Bitcredit is downloading blocks...)
P2pool:
Quote
2015-09-05 00:14:28.346264 > p2pool.util.jsonrpc.NarrowError: -10 Bitcredit is downloading blocks...
hero member
Activity: 602
Merit: 501
Welcome back dev! Smiley

Just built from the latest master, ran the qt client with --reindex and got as far as block 200000, then stuck. Will try again having deleted everything but my wallet.dats and bitcredit.conf file.

I'll take all my BNs down and await the go-ahead to restart them.

Am I right in thinking that BN mining isn't active yet? If it is I'll only be able to restart some of my BNs if there's still just the 50k collateral option. Looking forward to larger collateral options...  with just 5 of my own boxes on different ISPs I'd have most PoW coins effectively beat for decentralisation singlehanded.  Cheesy

I'm back in the mix, feels good to be working again. while syncing, check getpeerinfo and see who you are syncing from, i'll be spinning up some of my own larger nodes sood, like the exchange, so there'll be more clients running the correct version.

if your wallet says 301609, 70009 then you are on the correct version, it will try to connect to the pools and me and sync from there,

current block height is 200053

Bn mining is disabled for now as i had to roll back a few changes and find out who or what was messing with us. There is someone out there who reportedly just update the wallet and tried to broadcast bad nodes.... i'm sure he/she realizes the error of their ways by now.

Bidding is active though... likely i will write a guide sometime today once i slow down.

The next update likely will feature a major re-design of the nodes to make room for multiple types of nodes. I have the concept down and some code but this is now high level stuff, i'd like to take a week or two before posting anything. Likely we'll run a parallel network, where we can run in depth testing.

Meanwhile until i get a new phone, i'm relegated to checking my email once in a while for replies on this thread and PMs (damn that bastard(s))  as i don't get instant notifications.

I've alerted the exchange and chainz to update as well.
legendary
Activity: 966
Merit: 1000
Welcome back dev! Smiley

Just built from the latest master, ran the qt client with --reindex and got as far as block 200000, then stuck. Will try again having deleted everything but my wallet.dats and bitcredit.conf file.

I'll take all my BNs down and await the go-ahead to restart them.

Am I right in thinking that BN mining isn't active yet? If it is I'll only be able to restart some of my BNs if there's still just the 50k collateral option. Looking forward to larger collateral options...  with just 5 of my own boxes on different ISPs I'd have most PoW coins effectively beat for decentralisation singlehanded.  Cheesy
legendary
Activity: 1246
Merit: 1005
@hack_ : IPs of the pool nodes?

198.52.160.59
198.52.160.64
198.52.160.60


dev has another node, he'll be online today, finally got out hospital.  Cheesy

That is truly great news.

Thanks, time to get to work!!


So here is the gist of what i could glean,

1) There were multiple forks, i count 6
2) There was a group of solo miners who did not heed my decision to stick to the update and they now have 5K useless blocks.
3) Getblocktemplate was failing for some users because it assumes that the client is still downloading blocks if a certain amount of time has passed since th last block solved.
4) Some of the more stringent rules i placed in order to ensure network wide consensus on BNs were now preventing miners fro solving block 200000
5) Getwork was the quickest way around it using solo.

So since hack_ has the pools, i gave him the git password and some tips, seems he got most of it right, i'm just here to finish the job.

While i did have limited net access....i did have a laptop.... so expect some new code to go up for review, very very soon. (frustrated my friends to no end)

for direct contact please use [email protected], during the course of my detour , someone helped themselves to some of my belongings left in the flat including my phones. 

I bet the dumb thieves didn't know about your private keys, that's where the riches are  Grin
hero member
Activity: 819
Merit: 502
So the last client is 0.30.16.9-rc3 ?
If it is it cant be connected to any node. Number of the connection is 0
Jump to: