Author

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

legendary
Activity: 966
Merit: 1000
Building the electrum server leveldb is a lengthy process, this is on an i3 with 4GB or RAM that I cobbled together:
Code:
[11/07/2015-02:10:18] Starting Electrum server on localhost
[11/07/2015-02:10:19] Database version 3
[11/07/2015-02:10:19] Blockchain height 3
[11/07/2015-02:10:19] UTXO tree root hash: f11401e1a303169c4349bb0f4eccd6ea2fd034ac06565452692360ad81798436
[11/07/2015-02:10:19] Coins in database: 15
[11/07/2015-02:10:19] catching up missing headers: 0 3
[11/07/2015-02:10:19] TCP server started on 127.0.0.1:70001
[11/07/2015-02:59:26] catch_up: block 1000 (2940.946s 6.335s) 348c560f7b3a4dbd21ff90a5b570ef050f8008648975a6e886c2b2f335fb8cc2
[11/07/2015-03:48:38] catch_up: block 2000 (2943.469s 7.809s) d3293f9c3861015b01a0ca33373b7ee9b0d176531c4d665e1f3e3e62d463d11d
[11/07/2015-04:37:51] catch_up: block 3000 (2945.868s 7.636s) 059ac79c363a8aa0d6a4849cb45cff847f18eb1de7bf707ba44190d1bf31f821
[11/07/2015-05:27:01] catch_up: block 4000 (2942.345s 7.988s) 3f43e17074d35ea21b00f2259d00154e5cef3139144e49f8ada67e5ab3c3c6c9
[11/07/2015-06:16:18] catch_up: block 5000 (2949.256s 7.846s) 56e9d97acb68dce8b2af60e93d53003445a07e91718ba81cba1f1d082557d740
[11/07/2015-07:05:36] catch_up: block 6000 (2949.104s 8.576s) 8d7e3dd770ddc58daac001c28a715f49c206e490bc63c3ff98a13434cfd094d1
[11/07/2015-07:54:56] catch_up: block 7000 (2951.129s 8.448s) a5a8e2d00c09d3f08a96bfbb09b1b35fea9ef6953e42a36bd84a57017ed9f376
[11/07/2015-08:44:00] catch_up: block 8000 (2936.311s 8.387s) 33f28d572c8a36e2bd14450fc8c7bc1cde527da9baf39d2cc2df81ad520b6779
[11/07/2015-09:33:00] catch_up: block 9000 (2930.610s 8.719s) 8d30fd5791db10dc5a7add64b2af4b61bd25c1c48dc6ff5b6c1a335acfe643f6
[11/07/2015-10:22:09] catch_up: block 10000 (2940.210s 8.864s) f67033f57eba70575be81eb0b420f1d485f7aa4130cddb3b746f1def6c58bc2d
[11/07/2015-11:11:24] catch_up: block 11000 (2946.424s 8.542s) 01207240d218655f61b37f1bc39de201a33543e16632b42dedd316850cdcdca4
[11/07/2015-12:00:29] catch_up: block 12000 (2936.070s 8.834s) 9bd04a741392f206747dd74ceb7ba670af3a68ac9211b30641fb07acd59ae700
[11/07/2015-12:49:46] catch_up: block 13000 (2947.440s 9.321s) de0ad94bd77112e471d56b1a39a8ab8664eb6b7be10be03fe3816c8cdfe26705
[11/07/2015-13:38:58] catch_up: block 14000 (2942.504s 9.586s) d16f3d330cd8958c61f487c9be7645833f794ae4caa96f8110b7fea3fccbc053
[11/07/2015-14:28:01] catch_up: block 15000 (2933.444s 9.862s) f3ebdc58da9911f335068adfa83bfb6d2924cc1f2ed70780af530c249233972d
[11/07/2015-15:17:10] catch_up: block 16000 (2938.533s 10.079s) 99d8d2b7a7896ec3cc441f16ff500245ff403e1dcd9957069af130ff224a4fdf
[11/07/2015-16:06:04] catch_up: block 17000 (2924.925s 9.874s) 2c38e71a9dba5e2ff3ec3817b4659a19df3b31ae076e6625bfe8e81e506cc5bf
[11/07/2015-16:55:15] catch_up: block 18000 (2940.246s 10.067s) 7ccc663d3f49ddddf7df48a550abce0898e2045d896e018e0d2956d4b71bb826
[11/07/2015-17:44:24] catch_up: block 19000 (2938.559s 10.352s) 533a71d72bcf66179247e1d4d1d3949249013207313d3c3ad72bc9a226473c44
[11/07/2015-18:33:24] catch_up: block 20000 (2930.486s 10.335s) 98d143a097281cb4d5f2c9795d0a6479958a88a3069ddbe365298a1e9e3e637f
[11/07/2015-19:22:32] catch_up: block 21000 (2937.127s 10.840s) 55a4bd6b43aebf7dfe5ada1b96db22863fecf9100bae6349d7869a8cba4066fd
[11/07/2015-20:11:27] catch_up: block 22000 (2923.283s 11.045s) a293b8adb5d3dd962ac8dbfbb27e364ca320e63292f5050dac377f6cae6d51d6
[11/07/2015-21:00:36] catch_up: block 23000 (2930.148s 19.511s) 42804cc4f1f40b0446f31f27cadb5cf910b862a8c5650f0e487bcad455b6d8a8

...don't try it on your crappy 512MB VPS...  Cheesy   Fortunately once it's been done once it can be bootsrapped elsewhere from an existing leveldb file.

It might be that the client is offlining itself simply because there are no servers publicly available yet. Or it might be I'm an idiot who has no idea what he's doing.  Tongue
legendary
Activity: 966
Merit: 1000
I seem to have got electrum-server running, these were the steps after installing and running configure / python setup.py install:

change /etc/electrum.conf line 'path = /var/electrum-server' (or whatever it was) to 'path = /home/tlc/.bitcredit' or wherever your datadir is (none of the documentation makes this step clear, maybe it's supposed to be obvious?) and make sure you've got your ports/username/rpcpassword etc correct

put txindex=1 in your bitcredit.conf

restart daemon with ./bitcredit-cli -reindex

check sync with getinfo

when synced, electrum-server start

/var/log/electrum.log should show something like:
[11/07/2015-02:10:18] Starting Electrum server on localhost
[11/07/2015-02:10:19] Database version 3
[11/07/2015-02:10:19] Blockchain height 3
[11/07/2015-02:10:19] UTXO tree root hash: f11401e1a303169c4349bb0f4eccd6ea2fd034ac06565452692360ad81798436
[11/07/2015-02:10:19] Coins in database: 15
[11/07/2015-02:10:19] catching up missing headers: 0 3
[11/07/2015-02:10:19] TCP server started on 127.0.0.1:70001

Now to try the client again and see if I can talk to it...

edit: got client running, it generates a bunch of BCR addresses and looks good,  but it stays offline with
  File "/home/tlc/Downloads/electrum-Bit-Electrum/gui/qt/network_dialog.py", line 47, in __init__
    self.servers = network.get_servers()
AttributeError: 'NoneType' object has no attribute 'get_servers'

 Sad

Off to bed. If I sleep long enough, someone else will have fixed it when I wake up.  Grin
legendary
Activity: 966
Merit: 1000
Lo, another technicolour crouton post!

I have made a few simple ads for Bitcredit:





I shall be putting them in an android app that after another bit of testing should be on Google Play shortly:



You feed it a list of crypto addresses and it gives you balance etc. Works with BTC and any other currency that's indexed by chainz and traded on bittrex (for the BTC values). US$ prices courtesy of Bitfinex. Some currencies (DASH for one) need me to either get an API key from chainz (fairglu is an excellent chap btw!) or use an alternate public explorer for that currency, I'll get around to these things as and when I have time.

No, all those addresses are not mine, sadly.

It'll be a free app, I might alternate BCR ads and Google ads. Anyway, if 50 people download it, that'll probably double the number of folk who know about Bitcredit...  Smiley

If anyone can make some BCR-advertising gifs of about 350x56 to 400x75 (ish) then please do, I can use them.
hero member
Activity: 602
Merit: 501
Its would be nice if BCR get added to more exchanger like Cryptsy for example,sometimes get delisted warning from trex its not a good sign for traders

Very true, but we would need traders like yourself to support the bid to get added.
hero member
Activity: 659
Merit: 502
Its would be nice if BCR get added to more exchanger like Cryptsy for example,sometimes get delisted warning from trex its not a good sign for traders
hero member
Activity: 501
Merit: 503
Todays' issues with slow blocks  Angry Angry Angry Angry Angry Angry Angry Angry

Difficulty seems very very low however, so finding new blocks should be easy?
I tried to start a wallet with gen=1 but then I get the following error

Code:
terminate called after throwing an instance of 'std::runtime_error'
  what():  CreateNewBlock() : TestBlockValidity failed

Looks like there is some bug which prevents new blocks from being created...

ok, are you connected to any banknodes?

Code:
"hash" : "5c0f5fb2e7f830c5770594b908312b7108b85fa7c4a1f32b6c18ba158803e9da",
"depends" : [
1
],
"fee" : 1259,
"sigops" : 2
}
],
"coinbaseaux" : {
"flags" : "062f503253482f"
},
"coinbasevalue" : 5000048395,
"longpollid" : "0000ba2401e1a471e8b083eeb8e07b3d467b52224c32768fcdf037bb3ba3dcd3182",
"target" : "00009f8d00000000000000000000000000000000000000000000000000000000",
"mintime" : 1436467881,
"mutable" : [
"time",
"transactions",
"prevblock"
],
"noncerange" : "00000000ffffffff",
"sigoplimit" : 400000,
"sizelimit" : 400000,
"curtime" : 1436509731,
"bits" : "1f009f8d",
"height" : 157692,
"votes" : [
],
"payee" : "686Mc16utd7vGPmRJDyjfvj6NsTp8EYabx",
"payee_amount" : 1875018147,
"banknode_payments" : true,
"enforce_banknode_payments" : true
}

The pools are working fine, but you should keep in mind that momentum is very different, what looks like low diff in a typical coin is pretty high in momentum.

Also i took over the pools and the drop in hashrate has been very disruptive.

3/4 dropped off in the last day. We just need to solve a couple of blocks and things will go to normal soon.
legendary
Activity: 1100
Merit: 1032
Todays' issues with slow blocks  Angry Angry Angry Angry Angry Angry Angry Angry

Difficulty seems very very low however, so finding new blocks should be easy?
I tried to start a wallet with gen=1 but then I get the following error

Code:
terminate called after throwing an instance of 'std::runtime_error'
  what():  CreateNewBlock() : TestBlockValidity failed

Looks like there is some bug which prevents new blocks from being created...
hero member
Activity: 602
Merit: 501
Todays' issues with slow blocks  Angry Angry Angry Angry Angry Angry Angry Angry
hero member
Activity: 602
Merit: 501
Working out the last kinks for the next update.

Awesome because now I can't open the wallet at all.

Assertion Failed!

Nah, lol, that has nothing to do with the wallet. You need to run a check on your system.

Start with the basics like starting afresh with only your wallet, if this is not useful check on things like your PC time etc.



What does "no block source available" mean then?

Not trying to be a pain, just I have never had these issues with any other wallets I have had.





It means that your wallet is disconnected from the network

Not to worry , questions are good, enquiry helps both you and I.

Most of the little issues will hopefully be dealt with this time.
legendary
Activity: 1400
Merit: 1000
Working out the last kinks for the next update.

Awesome because now I can't open the wallet at all.

Assertion Failed!

Nah, lol, that has nothing to do with the wallet. You need to run a check on your system.

Start with the basics like starting afresh with only your wallet, if this is not useful check on things like your PC time etc.



What does "no block source available" mean then?

Not trying to be a pain, just I have never had these issues with any other wallets I have had.



hero member
Activity: 602
Merit: 501
Hash dropping off the network causing slow blocks.

This is another reason we need SmartSig PoW. 
hero member
Activity: 602
Merit: 501
Help screen made a little more succinct, pending more content to put directly into it.



Probably still far too much technobabble in there for Granny Public, but IQ's are dropping rapidly with each generation, Granny might make more sense of it than her grandson/daughter Jo.

Great!! I a rebasing the rc branch to the latest changes on BTC main branch. This will likely be one of the last updates to the core before we start migrating to python.

The electrum client is working, but i can't seem to get the server running.

bitcreditj is also in the works, though for now it only gets attention when i am tired of c++ and python.

our colored coins wallet has already seen some action but i need to work on python-bitcoinlib a bit more before we can move forward. The colored wallet is dependent on electrum server as well so it's pretty high on the to-do list.
hero member
Activity: 602
Merit: 501
Working out the last kinks for the next update.

Awesome because now I can't open the wallet at all.

Assertion Failed!

Nah, lol, that has nothing to do with the wallet. You need to run a check on your system.

Start with the basics like starting afresh with only your wallet, if this is not useful check on things like your PC time etc.

legendary
Activity: 1400
Merit: 1000
Working out the last kinks for the next update.

Awesome because now I can't open the wallet at all.

Assertion Failed!
legendary
Activity: 966
Merit: 1000
Help screen made a little more succinct, pending more content to put directly into it.



Probably still far too much technobabble in there for Granny Public, but IQ's are dropping rapidly with each generation, Granny might make more sense of it than her grandson/daughter Jo.
hero member
Activity: 602
Merit: 501
Working out the last kinks for the next update.
sr. member
Activity: 471
Merit: 250
Some cheap bcr out there Tongue
sr. member
Activity: 313
Merit: 250
HGPUPC addicted!

How would you describe the owner of the highlighted sells?

A child first steps into trading? =)
hero member
Activity: 602
Merit: 501

How would you describe the owner of the highlighted sells?
sr. member
Activity: 260
Merit: 250
I don't have a bloody idea how it works and how it should be, the only thing I know is how it has worked for me.  Cheesy
Because of it, I was late at least 5 days and frustrated enough to consider sell all the coins off, without some help I couldn't make it.

What I'm sure is, the new wallet works differently than before and starting Banknodes with Windows wallet (remotely or locally) have a few bugs :

- if it works like in SLING, NTRN, BTX, PHARMA ... and many more then it should be unlocked first in graphical menu (in debug console didn't worked) or it will get "could not allocate vin for collateral address"

- trying to start it with paired ports excactly the same in vps and local bn wallet all it give me was "could not connet to ... "


I bet that using using BN in local Win wallet wil disconnect itself from time to time after few hours just like in another coin's wallet.
Jump to: