ThomasV
626d09b358
add 'recḱless' option to allow using lightning on mainnet
2019-08-20 09:03:10 +02:00
ThomasV
9a88b5605a
add more fields to list_channels
2019-08-20 09:03:10 +02:00
ThomasV
6f3c2b30ed
lnbase: propagate error messages received in on_error to their relevant coroutines
2019-08-20 09:03:10 +02:00
SomberNight
17457327ef
make key derivation reasonable
...
no more hardcoded secrets, no more key-reuse
2019-08-20 09:03:10 +02:00
Janus
0405f0d9ad
accept channel opening requests initiated by remote
2019-08-20 09:03:10 +02:00
Janus
646881f437
lnworker.pay(): lightning-integration support
2019-08-20 09:03:10 +02:00
Janus
efc8d50570
move connection string decoding to lnworker, fix test_lnutil
2019-08-20 09:03:10 +02:00
Janus
1988b552e1
commands: add dumpgraph command to see which nodes electrum knows about
2019-08-20 09:03:10 +02:00
Janus
cf4f0c5d3a
add command to clear ln blacklist, prevent error in pay() from killing Peer
2019-08-20 09:03:10 +02:00
Janus
eca5545004
lnhtlc: don't throw away fee updates or htlcs
...
also add inject_fees debug command
2019-08-20 09:03:10 +02:00
Janus
77e9abc655
ln: store HTLCStateMachine in lnworker.channels
2019-08-20 09:03:10 +02:00
ThomasV
6e71340e52
do not block GUI with open_channel
2019-08-20 09:03:10 +02:00
ThomasV
34d5f1b2e3
lightning: connect send button
2019-08-20 09:03:10 +02:00
Janus
7d2a6d83d5
ln: don't make invoice if peer can't possibly pay, append _sat to sat
...
parameters to avoid confusion
2019-08-20 09:03:10 +02:00
ThomasV
af4f0b6daf
lnworker: separate invoice creation from payment flow
2019-08-20 09:03:10 +02:00
Janus
6a8e5d5954
ln: restore functionality
2019-08-20 09:03:09 +02:00
ThomasV
762dea6593
fix amount in open_channel, add listchannels command
2019-08-20 09:03:09 +02:00
ThomasV
b71f020fc9
move on_funding_locked to lnworker
2019-08-20 09:03:09 +02:00
Janus
18963405ee
lightning: remove hub based approach, port qt gui to lnbase
2019-08-20 09:03:09 +02:00
ThomasV
60d6080fe5
lightning: separate testing from main code
2019-08-20 09:03:09 +02:00
Janus
9617447a0f
lnbase: add lnbase_test
2019-08-20 09:03:09 +02:00
Janus
d84eab0418
lightning: complete moving of lightning objects, acquire net/wallet lock while answering lightning requests
2019-08-20 09:03:09 +02:00
ThomasV
b42009acb7
signtransaction: pass pubkey to tx.sign ( fix #5522 )
2019-08-14 12:49:35 +02:00
ThomasV
1d637ef988
fix #5558
2019-08-14 12:00:36 +02:00
SomberNight
1c75d939d9
commands: change API of "make_seed" and "create" commands
...
instead of "segwit" boolean, take a "seed_type" optional arg
default seed_type to "segwit"
previously these commands created legacy seeds by defalt
2019-08-09 22:02:01 +02:00
SomberNight
9547fb7b06
qt console: accept kwargs for commands.py methods
...
e.g. make_seed(nbits=264, segwit=True)
also allow setting "password" as a kwarg
2019-08-06 05:20:53 +02:00
SomberNight
f60f690ca9
change many str(e) to repr(e) as some exceptions were cryptic
...
it's often valuable to see the type of the exception
(especially as for some exceptions str(e) == '')
2019-07-17 20:12:52 +02:00
SomberNight
f6a7e6ec7d
logging: don't log to file by default
...
Leaking addresses/pubkeys/txids is a privacy leak...
but with lightning, logging should be enabled by default, as otherwise
issues would be sometimes impossible to debug...
Well, disable it for now.
2019-05-08 16:52:04 +02:00
SomberNight
104b8804f7
logging: '-V' cli option can blacklist/whitelist classes with short names
...
for example, '-V ni' will whitelist the 'Network' and 'Interface' classes
'-V ^ni' will blacklist those instead
2019-05-07 21:07:18 +02:00
SomberNight
c80c3596a7
logging: expose 'disablefilelogging' option in Qt preferences
2019-05-04 18:30:26 +02:00
SomberNight
fd5b1acdc8
commands: fix encrypt/decrypt
...
based on Electron-Cash/Electron-Cash@62aa08a0ff
2019-05-03 03:10:31 +02:00
SomberNight
6940c424d1
logging: cli options to filter for modules using -v
...
old style "-v" still works
filtering examples:
-v=debug,network=error,interface=error // effectively blacklists network and interface
-v=warning,network=debug,interface=debug // effectively whitelists network and interface
2019-05-02 15:19:10 +02:00
SomberNight
3385a94753
logging: basics
2019-05-02 15:19:03 +02:00
SomberNight
752c518bdc
add option to freeze individual UTXOs
...
based on cculianu's work in Electron-Cash/Electron-Cash@fd910cffc8
2019-03-11 18:46:29 +01:00
SomberNight
6aa81a8f56
commands: explicitly mention "?"/":" magic chars for "create" cmd
...
related: #5185
2019-03-09 16:47:19 +01:00
SomberNight
8f5ca40d10
new cli command: get_tx_status
2019-03-05 17:01:54 +01:00
SomberNight
8b2c586d30
post-storage_db-merge fixups
2019-03-01 14:14:30 +01:00
SomberNight
b34e1634b6
commands: fix gettransaction
2019-02-28 20:26:30 +01:00
SomberNight
ae80f143e7
commands/wallet: separate out 'create' and 'restore' core parts
...
so that they are easier to use from python scripts
2019-02-28 20:26:29 +01:00
SomberNight
85a7aa291e
bip32: refactor whole module. clean-up.
2019-02-22 18:50:24 +01:00
SomberNight
40bf049c82
commands: introduce 'removelocaltx'
...
see #5137
2019-02-20 18:01:43 +01:00
SomberNight
2174fc0676
cli history: add option to filter by block height
2019-02-12 18:38:35 +01:00
ThomasV
138c98d7d8
add 'get' command to CLI
2019-01-26 16:50:51 +01:00
SomberNight
5fc715cdee
commands: add convert_xkey for converting between {x,y,z}|{pub,prv}
2019-01-20 15:49:42 +01:00
SomberNight
5403ae7687
network: sanitize tx broadcast response
2019-01-18 20:25:21 +01:00
chris-belcher
d5c8a0e0d0
Add flag --skipmerklecheck ( #4957 )
...
The --skipmerklecheck optional flag makes Electrum tolerate invalid
merkle proofs from the server. This is useful for building Electrum
servers that need a minimum amount of storage, though of course users
should only enable it if they completely trust the connected server.
2019-01-16 18:48:10 +01:00
SomberNight
664b0c234e
wizard: fix imported address wallets
...
assertion added in 9350709f13
was failing
2018-12-14 22:50:25 +01:00
ThomasV
4681ac8c23
CLI deserialize: always force full parse
2018-12-11 13:58:05 +01:00
SomberNight
960855d0aa
wallet history fees: only calculate fees when exporting history
...
it's expensive, and it slows down startup of large wallets a lot
2018-12-04 16:17:22 +01:00
SomberNight
9350709f13
wallet creation: take care not to write plaintext keys to disk
...
when creating imported privkey wallets the privkeys
were written to disk unencrypted first, then overwritten with ciphertext
2018-12-03 13:02:14 +01:00