Pages:
Author

Topic: Electrum - Bitcoin client for the common users (friendly and instant) - page 32. (Read 110104 times)

hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
Bkk, would it be possible for you to create pull requests for specific functionality. So we can asses on a per feature basis if and how to merge it back into master?

At the moment it's quite hard to assess this because you have been so active ^^
My plan was to test multi-select spends more. Then try to merge the current master to my fork so I'm current. I could then merge each of my feature branches in and resolve any conflicts due to other changes. Then for each feature send a pull request that should be right up to date. I treat my merged-2 branch as a local work copy for me as I use it to create a python build and install for real into my system.

@bkk: also, you're welcome to come and discuss on IRC. it is much more efficient Smiley
I'm not much of an IRC user. Every time I go on there I stumble around trying to figure out what to type and whether I'm treading on people's toes. I'm tied up for the next couple hours but I'll try it out after and see if I can get some better communication going.

I also think I need a better IRC client as I'm using Empathy and it doesn't seem very good overall. If I had something with IRC and OTR messaging that I could use I might actually be tempted to leave it running as I no longer trust Skype.
legendary
Activity: 1896
Merit: 1353
Bkk, would it be possible for you to create pull requests for specific functionality. So we can asses on a per feature basis if and how to merge it back into master?

At the moment it's quite hard to assess this because you have been so active ^^

@bkk: also, you're welcome to come and discuss on IRC. it is much more efficient Smiley
hero member
Activity: 938
Merit: 1000
Bkk, would it be possible for you to create pull requests for specific functionality. So we can asses on a per feature basis if and how to merge it back into master?

At the moment it's quite hard to assess this because you have been so active ^^
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
I've now got a fix for exchanges using proxy when selected. The new code is in my fork bkkcoins/electrum branch exchanges-proxy but it also depends on branch multi-exchange so that would need to be pulled in first.
legendary
Activity: 1386
Merit: 1097
I agree that fixing just a proxy sounds easier for now. Although using stratum servers for price quotes makes more sense, currently it has quite low priority.

I know that intersango quote was quick hack done by genjix, but I'd appreciate if future features will be implemented correctly (over the Stratum servers) than adding more and more separate channels into the client.
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
Quote
So at this time it seems the best option is to wrap exchanger modules for proxy use, if one is selected, so that at least leakage won't occur. Then later we could add an exchange api to the server and a Electrum exchanger module for clients. At that point users would have ultimate flexibility in this area. They could choose native Electrum quotes or optional external quotes.

Feedback?

Sounds sensible.
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
Hehe that's exactly the reason why only Stratum connection should be used for communication with the rest of the world. Electrum server should expose RPC call providing current exchange rate and client should just call it instead of using separate http connection.

Any chance to do this instead of hacking httplib to go thru proxy?
I tend to agree that security wise the best option is a single connection to the server. But it also lacks flexibility. I already did a re-org of the exchange code in my fork, creating "lib/exchanges" subdir, that allowed a choice of exchange using a module for each exchange site. I created a MtGox exchange  module in addition to the Intersango one already there by default. The nice thing is foreign users who want some particular exchange rate (eg. Yen, Ruble etc) could select the exchanger in the Settings dialog.

Having only support thru the Electrum server would limit what was available for users to whatever the server decided to offer for quotes. But I could easily create a module that directed quote requests to thru current Electrum server so that users have the option of using Electrum quotes or any other exchanger module available. Right now the server doesn't have an exchange quote api but that could be created.

So at this time it seems the best option is to wrap exchanger modules for proxy use, if one is selected, so that at least leakage won't occur. Then later we could add an exchange api to the server and a Electrum exchanger module for clients. At that point users would have ultimate flexibility in this area. They could choose native Electrum quotes or optional external quotes.

Feedback?
legendary
Activity: 1078
Merit: 1003
Definitely the second, it should go through proxy by default if one is set.
legendary
Activity: 1386
Merit: 1097
Hehe that's exactly the reason why only Stratum connection should be used for communication with the rest of the world. Electrum server should expose RPC call providing current exchange rate and client should just call it instead of using separate http connection.

Any chance to do this instead of hacking httplib to go thru proxy?

I was thinking of adding an option to force currency exchange price requests thru the proxy if one is set. This is so that you don't get local data leakage when using Electrum thru a proxy / Tor.

I'm wondering if it needs to be an option or if it should just always use the proxy if one chosen?

Any input on this?
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
I was thinking of adding an option to force currency exchange price requests thru the proxy if one is set. This is so that you don't get local data leakage when using Electrum thru a proxy / Tor.

I'm wondering if it needs to be an option or if it should just always use the proxy if one chosen?

Any input on this?
full member
Activity: 182
Merit: 100
Based on my experience, the client uses about 28-30MB RAM.

SO sorry went to sleep,
Ah 30 mb ram? thats great! thanks so much flatfly!
legendary
Activity: 1120
Merit: 1016
090930
Actually the command line already supports this (try "electrum -o history" or "electrum -o balance")  since, as bkkcoins said, the wallet file already contains all the required info. So I imagine it shouldn't be too hard to adapt the gui_qt code accordingly.
legendary
Activity: 1078
Merit: 1003
Is there a way to add states to the wallet file so that the client could load the gui even if online and show all addresses and the last known balance? Don't get me wrong I'm perfectly happy how offline tx singing works right now and how that can be used for a secure wallet.. it's just that maybe this feature a bit more user friendlier might turn a neat feature into a very strong reason for using this client.
Do you mean ...even if offline...?

Yeah.
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
Is there a way to add states to the wallet file so that the client could load the gui even if online and show all addresses and the last known balance? Don't get me wrong I'm perfectly happy how offline tx singing works right now and how that can be used for a secure wallet.. it's just that maybe this feature a bit more user friendlier might turn a neat feature into a very strong reason for using this client.
Do you mean ...even if offline...?

I think the client ought to be able to do this now but for some reason doesn't. It has a transaction history list stored in the wallet for all addresses accurate as far as the last time it connected. I haven't explored the code to see why it doesn't show this info when it cannot connect. There may be a reason or may be it just wasn't thought of as useful. I can see it being useful but it should perhaps have a "last sync'd at
legendary
Activity: 1120
Merit: 1016
090930
Based on my experience, the client uses about 28-30MB RAM.
full member
Activity: 182
Merit: 100
So sorry i did not read every post here but i have a question.
I have a lowlow end vps, with 192 mb ram, anyone know how much ram this bitcoin client uses? wish i could use the official but eh yea 192 mb ram is BAD!
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
I just started Tor hidden service running Electrum server:
https://bitcointalksearch.org/topic/m.1223779

Unfortunately I don't see any easy solution how to propagate this into the list of running servers.
Perhaps onion names could be stored with the server list but only shown when the user has chosen SOCKS5 proxy mode?
legendary
Activity: 1386
Merit: 1097
I just started Tor hidden service running Electrum server:
https://bitcointalksearch.org/topic/m.1223779

Unfortunately I don't see any easy solution how to propagate this into the list of running servers.
legendary
Activity: 1078
Merit: 1003
Is there a way to add states to the wallet file so that the client could load the gui even if online and show all addresses and the last known balance? Don't get me wrong I'm perfectly happy how offline tx singing works right now and how that can be used for a secure wallet.. it's just that maybe this feature a bit more user friendlier might turn a neat feature into a very strong reason for using this client.
hero member
Activity: 938
Merit: 1000
Glad to hear it's solved.
Pages:
Jump to: