ThomasV
3dce65dc73
Rename lnchan, lnchannel_verifier, lnbase
...
Auto-completions are a pain if files share a long prefix
6 years ago
ThomasV
d383573bc3
CLI: use funding_point in channel_open and channel_close. add host:port to nodeid
6 years ago
ThomasV
f04e10f61a
save channel timestamps, and show lightning payments in history tab
6 years ago
ThomasV
b7d93e2e11
gui: display lightning balance in status bar
6 years ago
ThomasV
2af178a586
Store boolean is_received in lightning invoices. Sort lightning history with timestamp. Minor fixes
6 years ago
ThomasV
281d51c002
follow-up prev commit
6 years ago
ThomasV
0e8dba897e
lightning:
...
* store invoices for both directions
* do not store lightning_payments_inflight, lightning_payments_completed in lnworker
* payment history is returned by get_payments method of LNChannel
* command line: lightning history, lightning_invoices
* re-enable push_msat
6 years ago
ThomasV
b0d6000771
turn lightning_payments_completed into dict. Show status of lightning payments in GUI. Make 'listchannels' available offline
6 years ago
Janus
6b6097a453
ln: add closechannel cli command
6 years ago
Janus
1425628604
add command for listing invoices and their progress, fix list_channels
6 years ago
ThomasV
626d09b358
add 'recḱless' option to allow using lightning on mainnet
6 years ago
ThomasV
9a88b5605a
add more fields to list_channels
6 years ago
ThomasV
6f3c2b30ed
lnbase: propagate error messages received in on_error to their relevant coroutines
6 years ago
SomberNight
17457327ef
make key derivation reasonable
...
no more hardcoded secrets, no more key-reuse
6 years ago
Janus
0405f0d9ad
accept channel opening requests initiated by remote
6 years ago
Janus
646881f437
lnworker.pay(): lightning-integration support
6 years ago
Janus
efc8d50570
move connection string decoding to lnworker, fix test_lnutil
6 years ago
Janus
1988b552e1
commands: add dumpgraph command to see which nodes electrum knows about
6 years ago
Janus
cf4f0c5d3a
add command to clear ln blacklist, prevent error in pay() from killing Peer
6 years ago
Janus
eca5545004
lnhtlc: don't throw away fee updates or htlcs
...
also add inject_fees debug command
6 years ago
Janus
77e9abc655
ln: store HTLCStateMachine in lnworker.channels
6 years ago
ThomasV
6e71340e52
do not block GUI with open_channel
6 years ago
ThomasV
34d5f1b2e3
lightning: connect send button
6 years ago
Janus
7d2a6d83d5
ln: don't make invoice if peer can't possibly pay, append _sat to sat
...
parameters to avoid confusion
6 years ago
ThomasV
af4f0b6daf
lnworker: separate invoice creation from payment flow
6 years ago
Janus
6a8e5d5954
ln: restore functionality
6 years ago
ThomasV
762dea6593
fix amount in open_channel, add listchannels command
6 years ago
ThomasV
b71f020fc9
move on_funding_locked to lnworker
6 years ago
Janus
18963405ee
lightning: remove hub based approach, port qt gui to lnbase
6 years ago
ThomasV
60d6080fe5
lightning: separate testing from main code
6 years ago
Janus
9617447a0f
lnbase: add lnbase_test
6 years ago
Janus
d84eab0418
lightning: complete moving of lightning objects, acquire net/wallet lock while answering lightning requests
6 years ago
ThomasV
b42009acb7
signtransaction: pass pubkey to tx.sign ( fix #5522 )
6 years ago
ThomasV
1d637ef988
fix #5558
6 years ago
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
6 years ago
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
6 years ago
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) == '')
7 years ago
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.
7 years ago
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
7 years ago
SomberNight
c80c3596a7
logging: expose 'disablefilelogging' option in Qt preferences
7 years ago
SomberNight
fd5b1acdc8
commands: fix encrypt/decrypt
...
based on Electron-Cash/Electron-Cash@62aa08a0ffde227ababe58a14285b588eab4fd15
7 years ago
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
7 years ago
SomberNight
3385a94753
logging: basics
7 years ago
SomberNight
752c518bdc
add option to freeze individual UTXOs
...
based on cculianu's work in Electron-Cash/Electron-Cash@fd910cffc88570f82613fefeb932966cde0246ad
7 years ago
SomberNight
6aa81a8f56
commands: explicitly mention "?"/":" magic chars for "create" cmd
...
related: #5185
7 years ago
SomberNight
8f5ca40d10
new cli command: get_tx_status
7 years ago
SomberNight
8b2c586d30
post-storage_db-merge fixups
7 years ago
SomberNight
b34e1634b6
commands: fix gettransaction
7 years ago
SomberNight
ae80f143e7
commands/wallet: separate out 'create' and 'restore' core parts
...
so that they are easier to use from python scripts
7 years ago
SomberNight
85a7aa291e
bip32: refactor whole module. clean-up.
7 years ago