60 Commits (8b933f3488dd85226bf80987ce505a1e6c0b1669)

Author SHA1 Message Date
ThomasV 015648c4e5 Move get_dict method from wallet_db to json_db. 3 years ago
ThomasV 14e96f4d53 Index request by ID instead of receiving address. 3 years ago
SomberNight 7b8e257ebb wallet db upgrade: rm support of "legacy" lightning channels 3 years ago
SomberNight ed65f335bd
wallet_db upgrade: fix possible corruption of invoice amounts 3 years ago
ThomasV 9fe93524b7 Index lightning requests with rhash instead of onchain address. 4 years ago
SomberNight cbc69742b9
wallet_db: clarify hww types in old upgrades 4 years ago
SomberNight cfa6b91f22
wallet_db: rm dependence on PaymentRequest class in convert_version_25 4 years ago
SomberNight adfe542fae
wallet_db upgrade: recalc keys of outgoing on-chain invoices 4 years ago
ThomasV e392197ab9 wallet_db upgrade: 4 years ago
SomberNight 03df14b27a
wallet_db: handle legacy channels in convert_version_44 4 years ago
bitromortac db86aeb83a
wallet: replace static remotekey with channel type 4 years ago
bitromortac 6915e3cb10
lnpeer+wallet: use channel type for channel open 4 years ago
SomberNight 88a1c1a618
python 3.10: fix some deprecation warnings and compat with 3.10 4 years ago
ThomasV b431d8e9b8 follow-up eadd1bebb2 4 years ago
ThomasV eadd1bebb2 Do not convert StoredDict keys to str. 4 years ago
ThomasV 7a0904c0f4 wallet update: move fields that have string keys out of channel log 4 years ago
SomberNight 1188187431
wallet_db upgrade: in OnchainInvoice['outputs'], convert vals None->0 4 years ago
SomberNight b7cdf3fe11
wallet_db upgrades: (trivial) make upgrades more standalone 4 years ago
SomberNight 34c2cb5220
wallet: fix channels backups in .backup files 5 years ago
SomberNight 7b7bba2299
wallet_db: put 'seed_type' into keystores (incl db upgrade) 5 years ago
Benoit Verret f731c38293
Minor style changes 5 years ago
ThomasV 64a931f21e Deterministic NodeID: 5 years ago
SomberNight 0aa36ab5ac
invoices: validate 'amount' not to be out-of-bounds 5 years ago
SomberNight b080df9cff
wallet.bump_fee: (fix) make sure input signatures are removed 5 years ago
ThomasV e477a43385 PaymentInfo: use msat precision 5 years ago
SomberNight 27cd078001 wallet: auto-freeze small unconfirmed UTXOs 5 years ago
ThomasV 3cb68b10b9 remove broken payment requests. fixes #6350 5 years ago
bitromortac e5458bb534 wallet_db: migrate to upfront shutdown scripts 5 years ago
Malcolm Smith 67ae678137
storage/db: use faster JSON encoder settings when wallet is encrypted 5 years ago
ThomasV 89ecc85c64 convert_version_24: loop over list instead of dict items (see #6863 and #6349) 5 years ago
SomberNight 3a7c00634e
wallet_db: impl convert_version_33: put 'height' field into invoices 5 years ago
SomberNight da6080421e
wallet_db: WalletDB.get_txo_addr now returns dict instead of list 5 years ago
SomberNight 4b6c86ecbe
wallet: make labels private, and access to need lock 5 years ago
SomberNight a7199696d3
json_db: exempt keystore from StoredDict conversion 5 years ago
SomberNight 307403a02c
invoices: rm old corrupted non-bip70 invoices 6 years ago
SomberNight 9cd79ec2e5
WalletDB: raise different exc if cannot parse given file 6 years ago
SomberNight dee5d52948
invoices: make sure that OnchainInvoice .exp and .time are not None 6 years ago
SomberNight d5f368c584
LN invoices: support msat precision 6 years ago
ThomasV 3874f7ec77 swaps: use StoredObject to store data 6 years ago
SomberNight 43892dd61a
invoices: fix #6233 6 years ago
ThomasV 6058829870 Use attr.s classes for invoices and requests: 6 years ago
ThomasV 8f41aeb783 Replace wallet backup with channel backups 6 years ago
ThomasV f3995350e8 localconfig: rename seed to channel_seed 6 years ago
ThomasV 0ea21c59d2 Save channel seed in localconfig 6 years ago
SomberNight 7ac1cace7a
wallet_db.clear_history: now clears prevouts_by_scripthash too 6 years ago
SomberNight 01207316aa
storage upgrade: move "htlc_minimum_msat" to base channel config 6 years ago
SomberNight ea0981ebeb
lnutil.UpdateAddHtlc: use attrs instead of old-style namedtuple 6 years ago
ThomasV 444610452e wallet_db: encapsulate type conversions with attr.s converter 6 years ago
SomberNight bf4b2a15a6
wallet_db: fix _convert_version_25 (bip70 expiration) 6 years ago
SomberNight 02fcc6f570
wallet_db.get_transaction: tolerate if tx_hash is None 6 years ago