Neil Booth
a47881d72b
Move the verified and unverified txs to the wallet.
10 years ago
ThomasV
656560be72
show many address labels in tx default label. fixes #1200
10 years ago
Neil Booth
79de458101
Preparation for moving the set of verified and unverified txs to the wallet.
The verifier will retain responsibility for verification, but will no longer
hold the transaction sets itself.
Change requires_fee to take a wallet.
Add new function add_unverified_tx()
Move get_confirmations() to the wallet from the verifier.
10 years ago
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
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
687cc7783f
show unmatured coins in status bar. fixes #1163
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
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
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
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
Neil Booth
9cf2eff16b
Make is_connected into a member function. No change in logic.
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
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
25c6a78ae0
fix missing immport
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
bbaacef960
fix format_satoshis for None values
10 years ago
ThomasV
75ddc066bb
fix #1181
10 years ago
ThomasV
8ba70c941b
add function to create CSR
10 years ago
ThomasV
c35cdf1fd8
rename ssl config variables
10 years ago
Neil Booth
db2517b901
Shrink size of changes; functionality unchanged.
10 years ago
ThomasV
953674aac7
resize columns to content by default
10 years ago
Neil Booth
4f45e0a083
Prior lost minus sign for fractional negative numbers
10 years ago
Neil Booth
0d35dd66d2
The lite GUI passes a decimal type
10 years ago
Neil Booth
83e05b1183
Modify format_satoshis to display amounts according to locale.
In particular, thousands and decimal point separators are taken from locale.
10 years ago
Neil Booth
f56413d602
Put title() member func, with localization, in main_window.py
10 years ago
Neil Booth
889174ae19
Show wallet basename in tray tooltip for those of us using multiple wallets
Move basename (and title) logic to the wallet and use those member functions.
10 years ago
ThomasV
7316f613d6
fix history command
10 years ago
Neil Booth
deec78a9d4
Clean up block explorer handling. Add menu item to go to block explorer for an address.
Block explorer code is data-driven now.
Put block explorer defaulting in one place.
Fix URLs for insight.is and blockr.io.
Add tradeblock.com explorer.
Add menu item to view address on block explorer provided only one is selected.
10 years ago
ThomasV
f2749a744e
version 2.1.1
10 years ago
ThomasV
cb09d88322
fix bug introduced in 21673c95f4
10 years ago
Maran
21673c95f4
Fix wallet write to support windows
10 years ago
ThomasV
4a28c88946
atomic write wallet file
10 years ago
ThomasV
e8189490e9
store contacts in a separate file, shared between wallets
10 years ago
ThomasV
065145e557
get_history: return empty history if balance check fails
10 years ago
ThomasV
6cff7a284a
store invoices as dict. rename domain -> requestor
10 years ago
ThomasV
74b0ed5f48
move get_status to InvoiceStore
10 years ago
ThomasV
409c34d1bf
verify: create a PaymentRequest instance, to avoid blanking the signature as side effect
10 years ago
ThomasV
30bed4c5a9
sign and save to file bip70 payment request; redo receive tab layout
10 years ago
ThomasV
50bc50d78d
daemon: filter notificaions sent to client
10 years ago
ThomasV
524db55b90
don't display hashes or addresses as default labels
10 years ago
ThomasV
21b2fcbe85
always_hook. fix trezor handler. fixes #1146
10 years ago
ThomasV
f82de35bd2
x509: use SKI and AKI to find parent certificate if it is missing
10 years ago
ThomasV
7796243fdd
get_common_name: return string if missing
10 years ago
ThomasV
ed5258e406
parse certificates without pyasn1
10 years ago
ThomasV
f6a00fdb34
add file: scheme to get_payment_request
10 years ago