mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-25 15:09:53 +01:00
* Electrum: don't ask for merkle proofs for unconfirmed txs * Electrum: clear status when we get disconnected and still have pending history transactions When we get disconnected and have script hashes for which we still have pending connections, clear the script hash status. When we reconnect we will ask for its history again, this way we won't miss anything. Since we rotate keys it should not result in heavy traffic (script hashes have few history items). * Electrum: represent and persist block heights as 32 bits signed ints Int.MaxValue is about 40,000 years of block which should be enough, and it will fix the encoding problem users on testnet when there's a reorg and one of their txs has a height of -1. Side-note: changing the wallet codec can be done easily: if we cannot read and decode persisted data we just start with an empty wallet and retrieve all wallet data from electrum servers, and once it's ready it will be encoded with the new codec and saved. * Electrum persistence: include a version number It provides a clean way, when upgrading the app, of choosing whether to keep the same version and start from the last persisted wallet (if the persistence format has not been changed or is compatible with the old one), or to change the version and force starting from an empty wallet and downloading all wallet items from Electrum servers. * ElectrumClient: remove useless buffer |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |