Commit graph

12629 commits

Author SHA1 Message Date
SomberNight
f5f3394552
git sanity: enforce "git checkout commithash" actually pulls commit
If there is a collision between a branch name and a commit hash, git
will choose the branch, even if the full 40-hex-long commit hash is
given. GitHub disallows branches/tags with such a name but git itself
does not. By adding the `^{commit}` syntax sugar after a ref name,
we can tell git that we want the commit hash to be preferred,
and hence we don't need to trust GitHub (only git).

see https://security.stackexchange.com/questions/225411/
2020-06-16 19:55:17 +02:00
ThomasV
661ecb2cf5 add help text to channel backup QR code 2020-06-16 18:48:04 +02:00
SomberNight
83cabccdb5
bump libsecp256k1 version 2020-06-15 16:56:36 +02:00
SomberNight
996799d79e
lnchannel: update_fee: improve "can afford" check 2020-06-15 16:10:12 +02:00
SomberNight
e59eb147c0
lnchannel.available_to_spend: LOCAL now respects "fee spike buffer" 2020-06-15 15:43:41 +02:00
SomberNight
ccf50dc980
lnchannel.available_to_spend: minor refactor 2020-06-15 14:39:57 +02:00
SomberNight
7fccd4fc5e
lnchannel.available_to_spend: consider both receiver's and sender's ctx 2020-06-15 14:39:54 +02:00
SomberNight
817411b889
ChannelConfig: add some clarifications 2020-06-15 14:39:42 +02:00
SomberNight
240c823e8b
crash reporter: propagate HTTP error as exception
which will then get displayed as an error, and not as if we succeeded sending...
2020-06-14 03:41:45 +02:00
SomberNight
43892dd61a
invoices: fix #6233 2020-06-14 03:39:35 +02:00
SomberNight
eb39aa143b
try fixing email plugin 2020-06-13 19:12:22 +02:00
SomberNight
0b224ba685
invoices: minor clean-up (type hints, mark broken things)
also rm some dead code
2020-06-13 18:54:22 +02:00
SomberNight
23ea64808d
fix tests: follow-up prev 2020-06-13 18:53:50 +02:00
SomberNight
906a2c15dc
sweeping via CLI: allow customising RBF
fixes #6231
2020-06-13 18:44:20 +02:00
SomberNight
b6b8aadd55
README: update path to android build instructions
follow-up #6227
2020-06-13 03:59:55 +02:00
ghost43
9cfb954a72
Merge pull request #6228 from SomberNight/202006_reproducible_targz
make targz sdist reproducible, rm zip
2020-06-13 01:53:08 +00:00
SomberNight
dacc61a41d
sdist build: update message about reproducibility 2020-06-13 03:12:33 +02:00
SomberNight
612259f70f
travis sdist: git clone repo a second time, to properly set umask
see https://stackoverflow.com/questions/32580821/
2020-06-13 03:12:29 +02:00
ThomasV
16b14d6f06
Merge pull request #6227 from spesmilo/mv_android
move android stuff to contrib/android
2020-06-12 21:22:50 +02:00
ThomasV
485422b072 move android stuff to contrib/android 2020-06-12 20:57:22 +02:00
SomberNight
c5c8ea15bb
sdist build: stop making .zip distributables as they are not deterministic
see https://bugs.python.org/issue40963
2020-06-12 19:48:33 +02:00
SomberNight
901a900ec5
sdist build: when building docker image, no interactive prompts!
see https://askubuntu.com/questions/909277/
2020-06-12 19:48:29 +02:00
SomberNight
a06f5da7c2
sdist build: bump base image to ubuntu 20.04 2020-06-12 19:48:26 +02:00
SomberNight
891390f9a1
sdist build: umask should be specified for git clone
(not nice to change umask of host :/)
2020-06-12 19:48:23 +02:00
SomberNight
24a007840f
sdist build: use modern pip
the one in apt refused to install certain package versions (that were pinned by hash!!)
and installed different versions instead... e.g.:

Collecting wheel==0.34.2 (from -r /opt/electrum/contrib/build-linux/sdist/../../../contrib/deterministic-build/requirements.txt (line 112))
  Downloading 521c6dc7fe/wheel-0.34.2.tar.gz (58kB)
    100% |████████████████████████████████| 61kB 3.8MB/s
  Requested wheel==0.34.2 from 521c6dc7fe/wheel-0.34.2.tar.gz (sha256)=8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96 (from -r /opt/electrum/contrib/build-linux/sdist/../../../contrib/deterministic-build/requirements.txt (line 112)), but installing version 0.30.0
2020-06-12 19:48:19 +02:00
SomberNight
e12bc4817a
attempt at reproducible tarballs (sdist) 2020-06-12 19:48:15 +02:00
ThomasV
ba5ccf464c
Merge pull request #6223 from wakiyamap/patch-1
Fix typos
2020-06-12 00:03:54 +02:00
Jin Eguchi
4a18100e6b
Fix typos 2020-06-12 05:48:19 +09:00
SomberNight
b0230f6a4b
build: fix win/appimage binaries following jsonrpc dep-removal
follow-up #6220
2020-06-11 05:37:52 +02:00
SomberNight
0b6ce657b1
setup.py: fix 'full' extra
got broken in adc97af58c
2020-06-11 04:52:56 +02:00
SomberNight
2dfef9dde6
appimage: update package in dockerfile
Ubuntu no longer serves old version
2020-06-11 02:52:09 +02:00
SomberNight
efe5cd9aff
rerun freeze_packages
neat reduction due to #6220
2020-06-11 02:03:16 +02:00
SomberNight
5b4d46299a
ChannelConfig.validate_params: fix sat/msat unit mismatch
follow-up fc39295d20
2020-06-09 20:23:52 +02:00
ThomasV
d9c5258014
Merge pull request #6220 from spesmilo/jsonrpc_nodeps
Remove dependencies: jsonrpcserver, jsonrpcclient
2020-06-09 19:37:31 +02:00
SomberNight
3509343447
ln: make 'to_self_delay' CSV configurable
needed for tests
2020-06-09 18:36:34 +02:00
SomberNight
aa1fb9d5df
win/mac binaries: rm jsonrpc* dependencies 2020-06-09 17:55:16 +02:00
SomberNight
a32cb7784f
myAiohttpClient: add id counter, and rename to JsonRPCClient 2020-06-09 17:50:06 +02:00
SomberNight
50f705ee46
fix json-rpc interface (when not using CLI) 2020-06-09 17:45:04 +02:00
ThomasV
30f5be26ac Remove dependencies: jsonrpcserver, jsonrpcclient 2020-06-09 11:26:39 +02:00
SomberNight
fc39295d20
lnpeer: review safety check re channel open flow, and tweak params 2020-06-08 21:17:23 +02:00
ghost43
947af92126
tx dialog: show various warnings if input amounts cannot be verified (#6217)
see #5749
2020-06-08 14:24:41 +00:00
SomberNight
61ccc1ccd3
config: allow changing "skipmerklecheck" at runtime
requested by shesek for "bwt"
2020-06-08 16:10:47 +02:00
SomberNight
d0ab003978
qt qrcode: fix DeprecationWarning (float->int conversion)
...\electrum\electrum\gui\qt\qrcodewidget.py:88: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  qp.drawRect(left+c*boxsize, top+r*boxsize, boxsize - 1, boxsize - 1)
2020-06-07 03:10:27 +02:00
ThomasV
211118ae81 fix #6210: show_onchain/lightning_invoice dialogs 2020-06-06 18:17:13 +02:00
ThomasV
4004b8085f kivy on_resume: check self.has_pin_code() 2020-06-06 13:34:40 +02:00
ThomasV
1429c5b2bf (minor) fix missing parameter to PincodeDialog 2020-06-06 13:19:00 +02:00
ThomasV
0c17954d37 do not create backups for channels that do not have static_remotekey 2020-06-06 12:28:08 +02:00
ThomasV
2464b3ab81 follow-up 88bb5309c4 2020-06-06 12:08:36 +02:00
SomberNight
7bcb59ffb5
wallet: when sweeping, do network reqs in parallel, and don't block GUI 2020-06-05 20:30:25 +02:00
ThomasV
40a51cc090 channels_list: minor fix (lnworker might be None) 2020-06-05 15:17:16 +02:00