ThomasV
8656785aa7
fix: use request_time for interface timeout
10 years ago
ThomasV
45fd3ef343
interface: send from same thread and simplify timeouts
10 years ago
ThomasV
78f5dbb72e
revert c64e0c0e64
10 years ago
ThomasV
241b3b073f
Merge pull request #1198 from kyuupichan/if-cleanup7b
Move response getting to its own function.
10 years ago
Neil Booth
6171779442
Move response getting to its own function.
This makes the operation of run() more clear.
No essential change in functionality.
10 years ago
ThomasV
43b8e202fd
replace instances of get_unspent_coins
10 years ago
ThomasV
a99c2bc9fa
less verbose debug message
10 years ago
ThomasV
9d747fb601
Merge branch 'master' of git://github.com/spesmilo/electrum
10 years ago
ThomasV
687cc7783f
show unmatured coins in status bar. fixes #1163
10 years ago
ThomasV
56e3c3cc68
Merge pull request #1195 from kyuupichan/if-cleanup6
Remove self.lock
10 years ago
ThomasV
4bce96526b
follow up to c07e956127
10 years ago
Neil Booth
0cfcd2c7b2
Remove self.lock
It is now unused; all necesary locking is done by the Queue objects.
10 years ago
ThomasV
8eaa156595
Merge pull request #1194 from kyuupichan/if-cleanup5
Send requests only from the interface thread.
10 years ago
Neil Booth
c64e0c0e64
Send requests only from the interface thread.
Currently requests are sent from the requestor's thread. The lock is
not properly held where necessary so this is not thread-safe. For example
it can race with the thread stopping and closing the socket the
requestor is trying to use to send with.
Resolve such races by having send_request() simply queue the requests,
which are asynchronously sent from the interface thread itself.
10 years ago
ThomasV
583d36a763
Merge pull request #1193 from kyuupichan/if-cleanup4
Move ping functionality into its own function.
10 years ago
Neil Booth
6920747a5d
Move ping functionality into its own function.
First step in cleaning up the run() function.
Calls stop() rather than setting is_connected to False on
case of timeout, which cleanly closes the socket.
10 years ago
ThomasV
3b357b6a6d
Merge pull request #1192 from kyuupichan/if-cleanup3
Pass the response_queue to the constructor, not start().
10 years ago
Neil Booth
c07e956127
Pass the response_queue to the constructor, not start().
Removes an unnecessary Thread base-class override. The python
documentation also strongly discourages overriding anything other
than run().
10 years ago
ThomasV
d6b2cdd595
Merge pull request #1191 from kyuupichan/if-cleanup2
Make is_connected into a member function. No change in logic.
10 years ago
Neil Booth
9cf2eff16b
Make is_connected into a member function. No change in logic.
10 years ago
ThomasV
5e2e82d516
Merge pull request #1189 from kyuupichan/if-cleanup
First of several incremental patches tightening up interface.py.
10 years ago
ThomasV
1fcd8de290
Merge pull request #1190 from kyuupichan/icons
Fix two icons.
10 years ago
Neil Booth
1492610429
Fix two icons.
Solves the following warning every time electrm is run:
libpng warning: iCCP: known incorrect sRGB profile
There is lots of information about this on the internet, see e.g.
https://wiki.archlinux.org/index.php/Libpng_errors
10 years ago
Neil Booth
4d55cb9528
First of several incremental patches tightening up interface.py.
Remove some unneeded imports, a constant and a line of dead code.
Document the current external API interface.py provides.
10 years ago
Maran
327c1bafd9
Use TLS for LabelSync
10 years ago
Neil Booth
175bfae9e6
Move away from requiring network and blockchain objects to be able to request local height.
We store it in the config object instead of in the blockchain object.
The blockchain object now refers to its config, and calls refresh_height() to update it.
The network objects also refer to the config rather than the blockchain.
This is the first of many small steps to untangle the verifier from stored state and so
permit the history tab to work in offline mode. The refactoring will simultaneously clean
up a lot of accumulated cruft.
10 years ago
ThomasV
0a1c8f5546
underline help label
10 years ago
ThomasV
25c6a78ae0
fix missing immport
10 years ago
ThomasV
475a48091f
Merge pull request #1183 from kyuupichan/get_history2
Make it 3-step instead of four. Avoid quadratic insertions.
10 years ago
ThomasV
e4038dcdba
move create_csr to gui
10 years ago
Neil Booth
2fc38332e7
Make it 3-step instead of four. Avoid quadratic insertions.
This is preparation to hopefully fix #1163
10 years ago
ThomasV
6527eae32b
handle adds is None in tx dialog
10 years ago
ThomasV
bbaacef960
fix format_satoshis for None values
10 years ago
ThomasV
51b62c2983
strip transaction text before parsing
10 years ago
ThomasV
9f4a914526
change mouse cursor over clickable labels
10 years ago
ThomasV
617fb36b06
minor fix: index
10 years ago
ThomasV
afa814a444
small fix exchange_rates
10 years ago
ThomasV
75ddc066bb
fix #1181
10 years ago
ThomasV
df73b8017a
Merge pull request #1180 from pooler/exchange-tx-value
Fix variable reference in Exchange Rates plugin
10 years ago
pooler
bc95b0b4db
Fix variable reference in Exchange Rates plugin
10 years ago
ThomasV
30b189f68a
fix #1179
10 years ago
ThomasV
8ba70c941b
add function to create CSR
10 years ago
ThomasV
c35cdf1fd8
rename ssl config variables
10 years ago
ThomasV
1b6abf6e02
Merge pull request #1177 from kyuupichan/reduce_redraws
Remove two redundant refreshes of history tab during startup.
10 years ago
ThomasV
b9dbabc117
Merge pull request #1178 from kyuupichan/editable_cols
Make stretch column editable again.
10 years ago
Neil Booth
b71d35f027
Make stretch column editable again.
10 years ago
Neil Booth
1bafa42fbd
Remove two redundant refreshes of history tab during startup.
The call to update_wallet() is redundant with earlier call to load_wallet().
Set the need_update boolean so the timer will refresh rather than
unconditionally refreshing. This typically results in it merging with
the first network "updated" event resulting in one less refresh.
For me in online mode this results in history being calculated and shown
only twice during startup rather than four times.
10 years ago
ThomasV
8f84a90ab5
Merge pull request #1170 from kyuupichan/tray_tip_wallet
Tray tip wallet
10 years ago
ThomasV
15826e18b8
Merge pull request #1173 from kyuupichan/is_local
Determine is_local not based on cwd but on existence of setup-release.py
10 years ago
ThomasV
102feb1dfd
Merge pull request #1175 from kyuupichan/dead_import
Remove apparenlty dead import and __builtin__ assignment.
10 years ago