Author

Topic: ◈◈Bitcredit ◈◈ Migrating to UniQredit◈◈ - page 131. (Read 284526 times)

legendary
Activity: 966
Merit: 1000
How would the code distinguish and tell other nodes?

Not my department.  Grin

But I would think via privkey maybe. Privkey begins/ends with an X.. node type A, with a Y... node type B  -  or something like that? The flags could be embedded in there somehow.
legendary
Activity: 966
Merit: 1000
For linux binaries ... http://bitcredits.pw/downloads/

Are you able to package the linux qt binary with the stylesheet.qss and vanilla.qss files? Without them the client is missing the bottom toolbar if they haven't compiled it themselves...  Cheesy   Maybe we can make a little self-extracting zip/tar script to create a basic bitcredit.conf  etc.?

Does the Win version have a desktop icon?
hero member
Activity: 501
Merit: 503
A bit of a thought was passed to me... wondering what your opinion of it is.

Instead of creating tons of classes of nodes and bloating the code unnecessarily, why not make it such that a BN can only do certain functions when it is above a certain threshold? Meaning that if you have a BN , you can do basic stuff, a BN with 20K can do escrow, a BN with 20K fund and another 50K can do escrow and be a Notary*(just an idea floating around) , a BN with 20K+50K + 130K can be a Bank eg etc and the list goes on.

This is compared to my system where you can only be one of the nodes.... the above system is easier for those with funds..but risks lowering the BN pool we are hoping to increase since that will make up the transaction processors.

Thoughts?

Same thought had occurred to me. People just love rank and status...  Grin

I was thinking of having a sliding scale of BN bid reward based on collateral amount too, with a bias towards 'smaller' smartnodes to encourage more instances of them.

eg 250k BN gets 16 BCR, 50k BN gets 4 BCR? Enough of a delta there to make it worth the extra effort. Maybe something to consider, I'm happy either way though.

Could make the collateral amount function like binary in terms of your available options:
|     |     |     |     |     |     |     |     |
256 128 64  32   16  8     4    2     1K

ie. if you have 128k collateral you could be 1 128k node, or 2 64k nodes, or a 64k and 2 32k nodes, or 4 32k nodes... etc.

How would the code distinguish and tell other nodes?
hero member
Activity: 501
Merit: 503
legendary
Activity: 966
Merit: 1000
The statistics button still gets stuck - it highlights then when you click on a tab above it it stays highlighted (minor issue)

Easy fix which I never quite get around to. Will do it tomorrow.  Cheesy

edit: I have unchunkified the sync progress bar, ! never normally see it but was testing everything worked on a clean *buntu 14.10 box. (It did.)

The wiki needs updating I think though as I got an error on execution:
"/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./bitcredit-qt)"

- fixed with:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++6-4.7-dev
sudo apt-get install libstdc++6
legendary
Activity: 966
Merit: 1000
A bit of a thought was passed to me... wondering what your opinion of it is.

Instead of creating tons of classes of nodes and bloating the code unnecessarily, why not make it such that a BN can only do certain functions when it is above a certain threshold? Meaning that if you have a BN , you can do basic stuff, a BN with 20K can do escrow, a BN with 20K fund and another 50K can do escrow and be a Notary*(just an idea floating around) , a BN with 20K+50K + 130K can be a Bank eg etc and the list goes on.

This is compared to my system where you can only be one of the nodes.... the above system is easier for those with funds..but risks lowering the BN pool we are hoping to increase since that will make up the transaction processors.

Thoughts?

Same thought had occurred to me. People just love rank and status...  Grin

I was thinking of having a sliding scale of BN bid reward based on collateral amount too, with a bias towards 'smaller' smartnodes to encourage more instances of them.

eg 250k BN gets 16 BCR, 50k BN gets 4 BCR? Enough of a delta there to make it worth the extra effort. Maybe something to consider, I'm happy either way though.

Could make the collateral amount function like binary in terms of your available options:
|     |     |     |     |     |     |     |     |
256 128 64  32   16  8     4    2     1K

ie. if you have 128k collateral you could be 1 128k node, or 2 64k nodes, or a 64k and 2 32k nodes, or 4 32k nodes... etc.
hero member
Activity: 501
Merit: 503
Pools going down for update, 10 minutes max.
hero member
Activity: 602
Merit: 501
Update crashed twice on start but on the third open it worked

The statistics button still gets stuck - it highlights then when you click on a tab above it it stays highlighted (minor issue)

Likely a bool left unchecked. In case we may overlook, just open an issue on github so we always see it.

Third try huh? Tried removing the mncache.dat?

There is still some mild quirkiness in the code and it will take a while to work out all the bugs, which in itself is an issue because we are always constantly evolving. I am sure by the time we get to the 0.30.20.0 versions we will be more focused on fixing everything, but for now we are on a non stop march to quickly get as much of the basics in and working.

It's actually quite great the way things are right now, tlc works on the user experience while i tinker around in the back.

Speaking of tlc, he gets a pay out sometime tomorrow for his constant work.
legendary
Activity: 1050
Merit: 1000
nvidia windows pool miner ?
hero member
Activity: 1344
Merit: 502
Update crashed twice on start but on the third open it worked

The statistics button still gets stuck - it highlights then when you click on a tab above it it stays highlighted (minor issue)
hero member
Activity: 602
Merit: 501
A bit of a thought was passed to me... wondering what your opinion of it is.

Instead of creating tons of classes of nodes and bloating the code unnecessarily, why not make it such that a BN can only do certain functions when it is above a certain threshold? Meaning that if you have a BN , you can do basic stuff, a BN with 20K can do escrow, a BN with 20K fund and another 50K can do escrow and be a Notary*(just an idea floating around) , a BN with 20K+50K + 130K can be a Bank eg etc and the list goes on.

This is compared to my system where you can only be one of the nodes.... the above system is easier for those with funds..but risks lowering the BN pool we are hoping to increase since that will make up the transaction processors.

Thoughts?
hero member
Activity: 602
Merit: 501

Thanx

Updated to new files, it worked for the first time, but after closing and opening again, same problem as before - crashed after "Done loading" message, deleting mncache.dat didn't helped.

try removing everything except wallet.dat
hero member
Activity: 602
Merit: 501
Thanks!

But it still crashes for me on Windows 8.1 x64.

Code:
2015-06-22 20:56:47 CheckBlock() : Skipping banknode payment check - nHeight 142853 Hash 000013d38b9b8113d09df32322704331a0a35fbb7e711873b6347fe5e6651912
2015-06-22 20:56:47 No coin database inconsistencies in last 289 blocks (290 transactions)
2015-06-22 20:56:47  block index             777ms
2015-06-22 20:56:47 init message: Portemonnee aan het laden...
2015-06-22 20:56:47 nFileVersion = 301608
2015-06-22 20:56:47 Keys: 2 plaintext, 0 encrypted, 2 w/ metadata, 2 total
2015-06-22 20:56:47  wallet                    2ms
2015-06-22 20:56:47 init message: Loading banknode cache...
2015-06-22 20:56:47 ERROR: Read : Failed to open file X:\Encrypted-container\BCRCoinData\mncache.dat
2015-06-22 20:56:47 Missing banknode cache file - mncache.dat, will try to recreate
2015-06-22 20:56:47 Locking Banknodes:
2015-06-22 20:56:47 fLiteMode 0
2015-06-22 20:56:47 nInstantXDepth 5
2015-06-22 20:56:47 Darksend rounds 2
2015-06-22 20:56:47 Anonymize Bitcredit Amount 10000
2015-06-22 20:56:48 RandAddSeedPerfmon: 298608 bytes
2015-06-22 20:56:48 mapBlockIndex.size() = 142853
2015-06-22 20:56:48 nBestHeight = 142852
2015-06-22 20:56:48 setKeyPool.size() = 1
2015-06-22 20:56:48 mapWallet.size() = 0
2015-06-22 20:56:48 mapAddressBook.size() = 1
2015-06-22 20:56:48 init message: Adressen aan het laden...
2015-06-22 20:56:48 Loaded 5 addresses from peers.dat  0ms
2015-06-22 20:56:48 Added connection peer=0
2015-06-22 20:56:48 dnsseed thread start
2015-06-22 20:56:48 net thread start
2015-06-22 20:56:48 addcon thread start
2015-06-22 20:56:48 opencon thread start
2015-06-22 20:56:48 msghand thread start
2015-06-22 20:56:48 init message: Klaar met laden
2015-06-22 20:56:48 dumpaddr thread start
2015-06-22 20:56:48 GUI: initializeResult : Initialization result:  1
2015-06-22 20:56:48 GUI: PaymentServer::LoadRootCAs : Loaded  0  root certificates
2015-06-22 20:56:48 GUI: TransactionTablePriv::refreshWallet
2015-06-22 20:56:50 trying connection 198.52.160.64:8877 lastseen=32.4hrs

delete mncache.dat
hero member
Activity: 602
Merit: 501
For linux binaries ... http://bitcredits.pw/downloads/

Thanx for a thousend times.

@thelonecrouton

Maybe running a buggy webserver on vps is failed mission at start, pure BN works so far somehow, ufw works, chinese trying to hack it but but nothing to steal there, ocasionally got some problems like right now but don't care if I got to remade it with new coins amount in a day or two.

Yeah I am one of those windows guys, learning linux over 10 years only then if really must, but still hate it and don't understand and don't remember simple commands, I would never ask for help if it would be easy for me. Wink

@bitcreditscc

1. So what's the plan when block 145000 will be past, I can setup linux vps BN but how to start it with remote windows wallet when new version don't work so far, have you any estimated time for win wallet correction or some plan B for us ? Starting remote BN with linux wallet ?

2. I guess then Escrow nodes will be only made for escrow functions, will not calculating any transaction and will not get any fees ?


you can run both the vps and local client, when it crosses the block, it will autostart.

Escrow Nodes will get fees , for doing their job and a % as a BN type.
hero member
Activity: 525
Merit: 510
Thanks!

But it still crashes for me on Windows 8.1 x64.

Code:
2015-06-22 20:56:47 CheckBlock() : Skipping banknode payment check - nHeight 142853 Hash 000013d38b9b8113d09df32322704331a0a35fbb7e711873b6347fe5e6651912
2015-06-22 20:56:47 No coin database inconsistencies in last 289 blocks (290 transactions)
2015-06-22 20:56:47  block index             777ms
2015-06-22 20:56:47 init message: Portemonnee aan het laden...
2015-06-22 20:56:47 nFileVersion = 301608
2015-06-22 20:56:47 Keys: 2 plaintext, 0 encrypted, 2 w/ metadata, 2 total
2015-06-22 20:56:47  wallet                    2ms
2015-06-22 20:56:47 init message: Loading banknode cache...
2015-06-22 20:56:47 ERROR: Read : Failed to open file X:\Encrypted-container\BCRCoinData\mncache.dat
2015-06-22 20:56:47 Missing banknode cache file - mncache.dat, will try to recreate
2015-06-22 20:56:47 Locking Banknodes:
2015-06-22 20:56:47 fLiteMode 0
2015-06-22 20:56:47 nInstantXDepth 5
2015-06-22 20:56:47 Darksend rounds 2
2015-06-22 20:56:47 Anonymize Bitcredit Amount 10000
2015-06-22 20:56:48 RandAddSeedPerfmon: 298608 bytes
2015-06-22 20:56:48 mapBlockIndex.size() = 142853
2015-06-22 20:56:48 nBestHeight = 142852
2015-06-22 20:56:48 setKeyPool.size() = 1
2015-06-22 20:56:48 mapWallet.size() = 0
2015-06-22 20:56:48 mapAddressBook.size() = 1
2015-06-22 20:56:48 init message: Adressen aan het laden...
2015-06-22 20:56:48 Loaded 5 addresses from peers.dat  0ms
2015-06-22 20:56:48 Added connection peer=0
2015-06-22 20:56:48 dnsseed thread start
2015-06-22 20:56:48 net thread start
2015-06-22 20:56:48 addcon thread start
2015-06-22 20:56:48 opencon thread start
2015-06-22 20:56:48 msghand thread start
2015-06-22 20:56:48 init message: Klaar met laden
2015-06-22 20:56:48 dumpaddr thread start
2015-06-22 20:56:48 GUI: initializeResult : Initialization result:  1
2015-06-22 20:56:48 GUI: PaymentServer::LoadRootCAs : Loaded  0  root certificates
2015-06-22 20:56:48 GUI: TransactionTablePriv::refreshWallet
2015-06-22 20:56:50 trying connection 198.52.160.64:8877 lastseen=32.4hrs
sr. member
Activity: 260
Merit: 250

Thanx

Updated to new files, it worked for the first time, but after closing and opening again, same problem as before - crashed after "Done loading" message, deleting mncache.dat didn't helped.
sr. member
Activity: 260
Merit: 250
For linux binaries ... http://bitcredits.pw/downloads/

Thanx for a thousend times.

@thelonecrouton

Maybe running a buggy webserver on vps is failed mission at start, pure BN works so far somehow, ufw works, chinese trying to hack it but but nothing to steal there, ocasionally got some problems like right now but don't care if I got to remade it with new coins amount in a day or two.

Yeah I am one of those windows guys, learning linux over 10 years only then if really must, but still hate it and don't understand and don't remember simple commands, I would never ask for help if it would be easy for me. Wink

@bitcreditscc

1. So what's the plan when block 145000 will be past, I can setup linux vps BN but how to start it with remote windows wallet when new version don't work so far, have you any estimated time for win wallet correction or some plan B for us ? Starting remote BN with linux wallet ?

2. I guess then Escrow nodes will be only made for escrow functions, will not calculating any transaction and will not get any fees ?
hero member
Activity: 602
Merit: 501
No those are not all mine, just a random selection for demonstration purposes.

I'd be concerned that the possessive “mine” is a little too confusable with the verb.

Cheers

Graham


Well banknodemanager.cpp is about as close as you can get to a mine field without actual explosives. I thought it was going to be a 30 minute walk in the park... still unsure why the current configuration works while the previous thirty seven perfectly good iterations were segfault superattractors...

Wait till you try differentiating between Escrow nodes and Bank Nodes  Cheesy   
Jump to: