1
0
Commit Graph

8942 Commits

Author SHA1 Message Date
SomberNight
b3110b3b46 bitcoin.py: implement add_number_to_script. 2018-04-27 16:15:44 +02:00
SomberNight
4b89b1e270 implement script_num_to_hex 2018-04-27 16:15:43 +02:00
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.
2018-04-25 09:42:07 +02:00
SomberNight
e90a31ef23 qt seed dialog, (minor) class attr -> instance attr 2018-04-25 00:20:06 +02:00
SomberNight
eb64571341 qt seed dialog fixes
for xpub, reenable show qr code option (fixes #4307)
set to read-only when editing capability is not intentional
allow tab to auto-complete
2018-04-24 23:55:42 +02:00
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
2018-04-24 18:54:14 +02:00
SomberNight
a161b6e655 RBF: make sure we know the fee for the old txn
related #4306
2018-04-24 15:30:13 +02:00
SomberNight
0be73ed546 wallet.py: small optimisation for get_wallet_delta 2018-04-24 15:26:56 +02:00
mhitcher
5284aef820 added therocktrading exchange rate (#4272) 2018-04-24 09:28:38 +02:00
SomberNight
9fb927a068 minor py3 fix: language setting in qt/preferences 2018-04-23 20:06:54 +02:00
Ben Woosley
d7750c73e6 Use keyword arguments for format_amount call clarity (#4290) 2018-04-23 18:17:29 +02:00
SomberNight
d0352379d7 fix #4071 2018-04-22 04:00:57 +02:00
SomberNight
e00499f040 ledger: nice error msg if pin locked for sign_tx/sign_msg/show_addr 2018-04-22 02:15:08 +02:00
tiagotrs
23c29715af Add "Revealer" seed backup plugin (#4228)
* revealer commit

* fix seed font, added license

* fixed strings for translation

* better calibration instructions, fixed position

* removed html from translatable strings, fixed typo

* Added monospace font for codes, cleaned up redundant font formatting

* Monospace font for codes and respective license

* fix redundancies, typos

* inner function to only move forward if no exception

* paint QR qith QT to not depend on PIL
catch exeptions when creating a digital Revealer

* clarity

* Added SourceSans font License

* fix fonts paths, typo

* broke long lines, changed some words for clarity,
removed redundant font license
2018-04-19 15:47:41 +02:00
ThomasV
7cee37dfb8 show bitcoin price info in history summary 2018-04-19 14:05:19 +02:00
SomberNight
f6cb26be1f cosigner pool: show exception text if failing to send to server 2018-04-19 01:38:49 +02:00
SomberNight
1ed3e0cad6 fix #4276
-aos: Skip over existing files without overwriting
-aoa: This switch overwrites all destination files
2018-04-18 20:50:56 +02:00
SomberNight
95a93a3f86 cosigner pool: add warning when used with hardware wallet
related: #4271
2018-04-17 16:20:08 +02:00
ThomasV
624fa4769d prepare release 3.1.3 3.1.3 2018-04-16 18:43:02 +02:00
Dimitris Apostolou
989c9c2b55 Fix typos 2018-04-15 20:34:40 +02:00
SomberNight
5b2b59420f fix #4266 2018-04-15 18:57:06 +02:00
Filip Gospodinov
dcf25f9121 qt: allow copying receiving address using ctrl-c (#4258)
"You must enable keyboard focus for a widget if it
processes keyboard events."

https://doc.qt.io/qt-5/qwidget.html#focusPolicy-prop

On macOS it works without this patch already for some reason.
2018-04-15 16:19:37 +02:00
SomberNight
44bb1e9993 bitcoin.py: fix op_push
8cbc5c4be4/src/script/script.h (L464)
fdc2bc867b/txscript/scriptbuilder.go (L151)
2018-04-14 16:13:51 +02:00
Filip Gospodinov
6cf334244a contrib: detect builds with uncommitted changes
The `--dirty` flag causes `git describe` to append
`-dirty` to the version string it outputs. This is
useful to detect if a build was - intentionally or
not - created with uncommitted changes.

https://git-scm.com/docs/git-describe#git-describe---dirtyltmarkgt
2018-04-13 16:59:26 +02:00
SomberNight
ab2d38a803 release notes for 3.1.3 2018-04-12 17:54:35 +02:00
SomberNight
8bdf863fca fix: android HistoryScreen was not displaying fiat value of unconfirmed txns 2018-04-12 16:49:25 +02:00
ThomasV
986985c398 fix #4255 2018-04-12 16:44:59 +02:00
SomberNight
3bf5afa61a fix #4253 2018-04-12 12:17:24 +02:00
SomberNight
426ab85ed6 qt: for dark color scheme, fix yellow 2018-04-12 02:41:33 +02:00
SomberNight
1935d7d165 wallet.py: remove local transactions that we don't have
fixes #4232
closes #4234
2018-04-11 19:53:33 +02:00
SomberNight
7dcefd999f wallet.py: remove_transaction - make sure we pop from both txi and txo 2018-04-11 19:51:35 +02:00
SomberNight
4fed27610a wallet.py: load unverified_tx in __init__ 2018-04-11 19:45:13 +02:00
SomberNight
86b1273ec0 wallet.py: minor reordering in __init__ 2018-04-11 19:45:12 +02:00
SomberNight
ebcc983566 wallet.py: build local history from txi and txo, not transactions 2018-04-11 19:45:12 +02:00
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
2018-04-11 19:10:14 +02:00
SomberNight
b68f5645cb fix #4254 2018-04-11 18:31:35 +02:00
SomberNight
75f0221617 minor grammar fix in qt/preferences 2018-04-11 15:47:23 +02:00
benma
f7d1d5a7c7 digitalbitbox: enable native segwit 2018-04-11 11:57:36 +02:00
benma
cf98c8f2c1 digitalbitbox: some Python backwards compat fixes 2018-04-11 11:57:28 +02:00
SomberNight
1f937aa6cd fix: 'oneserver' could only be set in the CLI 2018-04-11 11:16:29 +02:00
ThomasV
55189c8623 Merge pull request #4249 from SomberNight/kivy_launchmode
kivy: change activity launchMode to singleTask
2018-04-10 17:56:31 +02:00
SomberNight
a852f97e97 kivy: change activity launchMode to singleTask 2018-04-10 14:12:13 +02:00
SomberNight
35b3294a5d fix #4238 2018-04-09 12:00:37 +02:00
Johann Bauer
ee2a1f52a1 Bump cryptodome version 2018-04-08 23:27:06 +02:00
SomberNight
985fe24f18 fix #4240 2018-04-08 15:13:12 +02:00
ThomasV
a03449c1be kivy: cleanup addresses dialog 2018-04-07 18:16:33 +02:00
SomberNight
7b50790584 do not raise BaseException 2018-04-07 17:10:30 +02:00
SomberNight
76e67daadd changed some asserts to raise-exceptions in lib 2018-04-07 17:01:38 +02:00
ghost43
cf88e239d7 fix parsing values in setconfig (#4225) 2018-04-06 18:53:13 +02:00
SomberNight
bfb0141b20 fix #4230 2018-04-06 18:47:16 +02:00