Commit graph

981 commits

Author SHA1 Message Date
SomberNight
f2ba49bd56
bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness 2018-11-05 19:58:28 +01:00
SomberNight
3f945f2467
constants.py: Simnet inherits from Testnet 2018-11-05 19:58:15 +01:00
Janus
4516a27e37
use same servers for simnet as for regtest 2018-11-05 19:58:14 +01:00
Janus
cc4b9edf11
avoid duplicating bech32 module 2018-11-05 19:58:12 +01:00
ThomasV
b726d77bdc
fix hash in make_offered_htlc 2018-11-05 19:58:07 +01:00
Janus
07a9ab8fae
lnbase: offered htlc script construction 2018-11-05 19:58:05 +01:00
ThomasV
dccec08aa3
lightning: separate testing from main code 2018-11-05 19:58:04 +01:00
SomberNight
181bc6448a
implement script_num_to_hex. fix encoding of argument for CSV in make_commitment 2018-11-05 19:58:00 +01:00
ThomasV
d276687faa
lnbase: create unit test for commitment tx 2018-11-05 19:57:57 +01:00
ThomasV
4b1aac7876
lnbase: initial commitment transaction 2018-11-05 19:57:56 +01:00
Janus
752f0379d3
lnbase: add lnbase_test 2018-11-05 19:57:51 +01:00
ThomasV
6e6cec3097
integrate lnbase with network 2018-11-05 19:57:45 +01:00
Janus
dbcf96d917
lightning: qt channel dialog, fix for shutdown when lightning disabled 2018-11-05 19:57:41 +01:00
Janus
f708db95ed
lightning: add --simnet and --lightning switches 2018-11-05 19:57:39 +01:00
Janus
c3aa6e30cd
lightning: less junk on console, quicker shutdown 2018-11-05 19:57:32 +01:00
Janus
df910ec1de
lightning: complete moving of lightning objects, acquire net/wallet lock while answering lightning requests 2018-11-05 19:56:56 +01:00
Janus
cf2ec480cc
lightning: misc patches, launch asyncio loop on separate thread 2018-11-05 19:55:08 +01:00
Janus
3e5218b89f
lightning: march 2018 rebase, without integration 2018-11-05 19:55:02 +01:00
SomberNight
1686a97ece
bip70 PRs: use aiohttp instead of requests. use proxy. small fixes. 2018-11-05 19:31:17 +01:00
SomberNight
1b46866e34
qt: re sweeping, minor clean-up 2018-11-05 01:53:35 +01:00
SomberNight
a89e67eeed
network: trivial clean-up 2018-11-04 19:25:23 +01:00
SomberNight
7a46bd1089
network: minor clean-up 2018-11-03 17:11:08 +01:00
SomberNight
908c979338
network: update hardcoded mainnet servers 2018-11-02 20:38:26 +01:00
SomberNight
1a5c77aa82
follow-up prev 2018-11-02 20:37:37 +01:00
SomberNight
e37da62a1c
fix most "scripts"
related: #4754
2018-11-02 20:14:59 +01:00
SomberNight
5c4a6c0f2b
rm network.add_job
current implementation is prone to race, and is not used anyway
2018-11-02 16:06:47 +01:00
SomberNight
c2ecfaf239
move event loop construction to daemon 2018-11-01 16:30:03 +01:00
SomberNight
ca8eae919f
daemon: clarify error print 2018-10-31 19:59:07 +01:00
SomberNight
0862fdb9a9
plugins: somewhat clearer exception is loading plugin fails
see #4817 (issuecomment-434778055)
2018-10-31 18:33:28 +01:00
SomberNight
386e0d560e
wizard,hw: tell user about errors during plugin init
see #4817 (issuecomment-434765570)
2018-10-31 17:58:47 +01:00
SomberNight
4f7283a3b0
expose electrum version as __version__ 2018-10-31 16:21:04 +01:00
SomberNight
1c63bca2c7
follow-up prev 2018-10-30 19:19:46 +01:00
SomberNight
5b4fada2a0
fix some network.get_transaction calls
see #4814 (issuecomment-434392195)
2018-10-30 19:07:37 +01:00
SomberNight
f53b480f1c
wallet: more powerful add_input_info
tangentially related: #4814

also recognise that input is_mine if tx was not fully parsed
but we have the prevout UTXO
2018-10-29 21:34:44 +01:00
SomberNight
f819e9b6f4
openalias: minor clean-up 2018-10-29 17:09:23 +01:00
SomberNight
5e0179dac4
qt console: expose more refs, and fix auto-complete for >2 depth 2018-10-29 00:20:45 +01:00
SomberNight
9037f25da1
kill old-style namedtuples 2018-10-28 00:28:29 +02:00
SomberNight
34569d172f
wallet: make importing thousands of addr/privkeys fast
fixes #3101
closes #3106
closes #3113
2018-10-27 17:36:10 +02:00
SomberNight
917b7fa898
network shutdown safety belts 2018-10-26 22:43:33 +02:00
SomberNight
416b687054
storage: add a sanity check
see #4803
2018-10-26 19:31:20 +02:00
SomberNight
78258a3a95
fix #4802 2018-10-26 18:45:36 +02:00
SomberNight
bcdb0c46fc
update to aiorpcx 0.9 and require it 2018-10-26 17:06:42 +02:00
SomberNight
791e0e1a67
move relayfee and dust_threshold to bitcoin.py 2018-10-25 23:08:59 +02:00
SomberNight
99d18a48f2
types: make some import conditional 2018-10-25 23:01:53 +02:00
SomberNight
082a83dd85
rename crypto.Hash to sha256d 2018-10-25 22:28:24 +02:00
SomberNight
a88a2dea82
split bip32 from bitcoin.py 2018-10-25 22:20:33 +02:00
SomberNight
c61e13c1e9
add more block explorers, and change defaults 2018-10-25 18:27:41 +02:00
Andrew Zhuk
07a06b5d15 Update util.py (#4797)
Adding Bitupper Explorer to the list
2018-10-25 17:09:52 +02:00
SomberNight
361ffc0620
correctly handle bitcoin URIs if GUI is already running
see #4796
2018-10-25 00:18:14 +02:00
SomberNight
0e6160bf2d
follow-up prev: bad idea to eval translated string 2018-10-23 03:01:23 +02:00