SomberNight
756cc323e7
tests: dnssec
7 years ago
Johann Bauer
2e899bc38f
Add missing languages to settings dialog
7 years ago
SomberNight
51d047a35e
fix #4375
7 years ago
SomberNight
c113232e8b
tests: TestWalletHistory
check if wallet logic calculates correct balance regardless of the order in which we receive transactions from the server
7 years ago
SomberNight
5cfeb6b081
follow-up ab2f59590c
7 years ago
Harm Aarts
ab2f59590c
Push network calls into network module
Eventually all network calls should go through the network module
without resorting to using raw protocol strings. This, then, makes
adding an other backend easier.
Please note that the behaviour slightly changed. Initially the caller
received an unmodified response from the ElectrumX server. In it the
scripthash is present. This change replaces that scripthash with the
original address.
7 years ago
Harm Aarts
812d570ee2
Rename method to reflect its goal
Answer the question *what* problem the method solves. Not *how* it is
solving it.
7 years ago
Harm Aarts
d0d39e534e
Make side effect explicit
The removed method didn't allude to the fact it was adding the generated
hash to a dictionary. This was problematic since the code base now
seemingly had two methods for converting an address to a scripthash. One
in the network module and one in the (logical) bitcoin module.
7 years ago
SomberNight
b88f0434c5
wallet.py: check_history depends on load_local_history and build_spent_outpoints
if it tries to call add_transaction
7 years ago
SomberNight
e375bf48c4
transaction.py: reserialize scriptSig for incomplete txin
On offline imported privkey + online imported address config, the offline wallet was displaying incorrect tx size.
7 years ago
SomberNight
7c7aa5828b
tests: added p2wpkh-p2sh wallet to TestWalletSending
7 years ago
SomberNight
f12798e91c
follow-up #4324
7 years ago
SomberNight
a94e1d92a3
bitcoin.py: nicer exception in deserialize_privkey if prefix byte is invalid
related: #4364
7 years ago
SomberNight
b175c6b609
fix #4360
7 years ago
ghost43
dae187bada
allow fractional feerates ( #4324 )
7 years ago
ghost43
3337af0734
transaction.py: (txin guess) fix some false positive matches of p2sh-segwit ( #4336 )
7 years ago
SomberNight
ceae43afe5
trustedcoin: sign first, then prompt for OTP
7 years ago
SomberNight
c03d68d758
add 'sat' as base unit option
7 years ago
Andreas Schildbach
7dc5d64cba
Remove server from default list: cryptohead.de ( #4320 )
7 years ago
SomberNight
ae24af9bc2
wizard: move GoBack from Qt wizard to base_wizard
7 years ago
SomberNight
c8bed8791a
assert datadir available
7 years ago
SomberNight
cbf1b5d9d5
py3.4 compat: follow-up e13183ea7a
7 years ago
SomberNight
fad25af204
fix tests for travis. follow-up 68d8919416
7 years ago
SomberNight
ea55d886b7
follow-up 1d6f000868
I broke multisig..
7 years ago
SomberNight
68d8919416
tests: sends between wallets
7 years ago
SomberNight
e13183ea7a
bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness
7 years ago
SomberNight
97296432a2
transaction.py: sign_txin. allow override for get_preimage_script.
7 years ago
SomberNight
1d6f000868
transaction.py: shortcut witness/scriptSig serialisation
7 years ago
SomberNight
b3110b3b46
bitcoin.py: implement add_number_to_script.
7 years ago
SomberNight
4b89b1e270
implement script_num_to_hex
7 years ago
Filip Gospodinov
376a815458
exchange_rate: prefer relative imports ( #4308 )
As this project is currently structured, absolute
imports have the drawback that they'll load modules
from installed paths rather then from the local repo
when running unit tests. This somehow breaks the main
idea of unit tests which is being able to quickly test
newest development changes. Therefore, use a relative
import here.
7 years ago
Ben Woosley
53320470f5
Format the transaction window fee rate with 1 decimal place ( #4286 )
* Fix format_satoshi to properly handle non-integer values
Handling the integer and fraction parts together via string formatting
simplifies the initial composition because the default behavior manages
the - sign, and the incorporation of the fractional part.
* Limit fee rate output to one decimal place
Via a new precision arg
* Introduce format_fee_satoshis and use it for all fee display
7 years ago
SomberNight
0be73ed546
wallet.py: small optimisation for get_wallet_delta
7 years ago
mhitcher
5284aef820
added therocktrading exchange rate ( #4272 )
7 years ago
ThomasV
7cee37dfb8
show bitcoin price info in history summary
7 years ago
ThomasV
624fa4769d
prepare release 3.1.3
7 years ago
Dimitris Apostolou
989c9c2b55
Fix typos
7 years ago
SomberNight
44bb1e9993
bitcoin.py: fix op_push
8cbc5c4be4/src/script/script.h (L464)
fdc2bc867b/txscript/scriptbuilder.go (L151)
7 years ago
SomberNight
8bdf863fca
fix: android HistoryScreen was not displaying fiat value of unconfirmed txns
7 years ago
SomberNight
3bf5afa61a
fix #4253
7 years ago
SomberNight
1935d7d165
wallet.py: remove local transactions that we don't have
fixes #4232
closes #4234
7 years ago
SomberNight
7dcefd999f
wallet.py: remove_transaction - make sure we pop from both txi and txo
7 years ago
SomberNight
4fed27610a
wallet.py: load unverified_tx in __init__
7 years ago
SomberNight
86b1273ec0
wallet.py: minor reordering in __init__
7 years ago
SomberNight
ebcc983566
wallet.py: build local history from txi and txo, not transactions
7 years ago
fivepiece
b4d71e651b
add regtest support ( #4242 )
* add regtest support
* set default regtest ssl and tcp ports to 51002 and 51002
* regtest inherits parameters from testnet
7 years ago
SomberNight
b68f5645cb
fix #4254
7 years ago
SomberNight
1f937aa6cd
fix: 'oneserver' could only be set in the CLI
7 years ago
SomberNight
7b50790584
do not raise BaseException
7 years ago
SomberNight
76e67daadd
changed some asserts to raise-exceptions in lib
7 years ago