Main Menu

Light Wallet Beta Release

Started by modprobe, February 16, 2015, 02:55:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

modprobe

@cgafeng: OK, the last sync block was uninitialized. Good catch. I've fixed that. :)

As to the inability to connect to the server... That's weird, particularly since it works some times and not others. Could it be the GFW tampering with the connections? Can you get the CLI output when it fails to connect? I'll look into the blobs appearing in the error messages; that definitely should not happen.

cgafeng

There are some pic, the font size is small on the pc.




BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

cgafeng

#68
After debug the code, i may found what cause the trx history show issue.

https://github.com/BitShares/bitshares/blob/a076a652444ff8d0b6d871635f870a1fcbe05d06/libraries/light_wallet/light_wallet.cpp#L503

bool light_wallet::sync_transactions(bool resync_all)
{
   FC_ASSERT( is_open() );

   uint32_t sync_block = _data->last_transaction_sync_block;
   if( resync_all )
      sync_block = 0;
   vector<string> account_names;
   ......
}


the sync_block is a very large number in _data, after i set to resync_all, the trx is show.
last_transaction_sync_block init problem?

And the server looks down after i try to import account on another computer.
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

cgafeng

#67
bts_light_wallet_win1.0beta\bts_light_wallet_win\Qt\labs\settings\qmlsettingsplugind.dll

This file i get from the office Qt5.4.0\5.4\msvc2013_opengl\qml\Qt\labs\settings\, everybody can download from office web and check it.

I will check the trx history issue later, got to work now.
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

modprobe

Oh, I'm sure that TrojWare.Win32.Kryptik.BHBD is not safe at all, but cgafeng's zip does not contain that trojan. It's a false positive, which is very common in AV software. Note that of the 57 AVs which scanned the binaries, only one yielded a result. However, if you're unsure, you can replace the file which triggered the false positive, \bts_light_wallet_win1.0beta\bts_light_wallet_win\Qt\labs\settings\qmlsettingsplugind.dll, with one from an official Qt download.

fluxer555

Quote from: modprobe on February 24, 2015, 09:58:06 PM
@cgafeng! What are you trying to do to these poor windows users?! Kryptik Trojans?!! ;)

Unfortunately, that's the nature of anti-viruses. Having studied them in some depth myself, I can say that they are incredibly stupid programs with a strong tendency towards false positives. I wouldn't worry about it.

Seriously though, how sure are you? I don't know about cgafeng's reputation, and of course I don't want to assume him as being malicious, but we're dealing with serious funds here. I can't tolerate any possibility that my system is infected.

Can we get some proof that
'TrojWare.Win32.Kryptik.BHBD'
is safe? What package does it come from? What is its function?
Bitshares Wallet Recovery Service:
[url="https://bitsharestalk.org/index.php/topic,24436.0.html"]https://bitsharestalk.org/index.php/topic,24436.0.html[/url]

modprobe

@cgafeng! What are you trying to do to these poor windows users?! Kryptik Trojans?!! ;)

Unfortunately, that's the nature of anti-viruses. Having studied them in some depth myself, I can say that they are incredibly stupid programs with a strong tendency towards false positives. I wouldn't worry about it.

vlight

Quote from: cgafeng on February 24, 2015, 06:58:10 PM
The windows version send and receive bts is success, and the balance is right, but can't show the trx history.
Test on win7/64bit.
share on: https://dl.dropboxusercontent.com/u/15663627/bts_light_wallet_win1.0beta.zip


\bts_light_wallet_win1.0beta\bts_light_wallet_win\Qt\labs\settings\qmlsettingsplugind.dll
TrojWare.Win32.Kryptik.BHBD@303346353
https://www.virustotal.com/en/file/66ca29f0e8fa15a56009d39776d1c109690290f9d74043c4cbf8531a80cbcc6b/analysis/1424813378/

modprobe

Thanks, cgafeng! Can you send me the full console output of the wallet, particularly after dragging down the transaction history list to refresh it? The errors you posted are just some errors qml-material spits out, but they don't actually affect anything.

cgafeng

#61
The windows version send and receive bts is success, and the balance is right, but can't show the trx history.
Test on win7/64bit.
share on:
1.0 beta 1 https://dl.dropboxusercontent.com/u/15663627/bts_light_wallet_win1.0beta.zip
1.0 beta 2 https://dl.dropboxusercontent.com/u/15663627/bts_light_wallet_win1.0beta2.zip
1.0 beta 3 https://dl.dropboxusercontent.com/u/15663627/bts_light_wallet_win1.0beta3.zip

And there are some wrong when run the qml, the Material i get from https://github.com/nathanhourt/qml-material

file:///E:/Qt/Qt5.4.0/5.4/msvc2013_opengl/qml/Material/ActionBar.qml:172:9: QML ListView: Binding loop detected for property "height"
qml: Open trx history for testbycgafeng/BTS

file:///E:/Qt/Qt5.4.0/5.4/msvc2013_opengl/qml/Material/Toolbar.qml:43: TypeError: Cannot read property 'color' of null
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

modprobe

That would be great, @cgafeng! :) I think you're building on the develop branch. Change to the bitshares branch to build for the live network. You are correct; that line is the one that needs changing, but it should be set correctly on the bitshares branch.

cgafeng

what's the server? I can build the windows version.
I think i have to change the code:

function connectToServer() {
    if( !wallet.connected )
       wallet.connectToServer("localhost", 3333)
}
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Riverhead

Quote from: modprobe on February 23, 2015, 02:35:41 PM
@riverhead: I can't reproduce that issue... What OS are you testing with? Does your passphrase have all 9 words?

Sending you a PM. I figured it'd  be hard to reproduce since it was likely a fluke.

modprobe

@riverhead: I can't reproduce that issue... What OS are you testing with? Does your passphrase have all 9 words?

modprobe

Ubuntu folks: I think the dependency you're looking for, if trying to run the tests on the qml packages, is qtdeclarative5-test-plugin (Tested on 14.10)