Changelog History
Page 3
-
v0.3.1 Changes
July 03, 2019๐ This release includes many improvements, new API calls, as well as a few bug fixes. It is faster, memory usage is smoother, and we strongly recommend that users upgrade.
โฌ๏ธ It is is fully compatible with 0.3 (see the Upgrading section below).
Major changes
API Improvements
๐ Our payment API has been extended (see API documentation website):
- ๐ better fee control when computing routes
- more comprehensive balance information
- you can provide your own preimage when you create payment invoices
- you can provide precomputed payment routes when you send payments
๐ Performance improvements
Some internal structures and data models have been changed to make resource usage (CPU and memory) more efficient even under very heavy load.
Smarter payment relay logic
We have improved our heuristics used to select the "best" outgoing channel when relaying payments, in order to increase success rate even if several channels to the next node are unavailable (because they don't have enough balance for example).
Automatic re-connection using published node addresses
โ If an IP address it not provided, we will use the address specified in its latest published announcement to connect to a node.
Miscellaneous improvements
Handling of corner cases where funding transactions would never confirm has been improved, as well as re-connection logic when a node is connected to many different peers.
โฌ๏ธ We've also improved runtime checks to detect if your Bitcoin node is still syncing or re-indexing (you should not use eclair with a bitcoin node that is not ready, we detect it when the application start, but not always if you stop your bitcoin node while eclair is running, and upgrade/re-index it).
And we will now properly fail incoming payments when the invoice has expired.
๐ Verifying signatures
๐ You will need
gpg
and our release signing key 7A73FE77DE2C4027. Note that you can get it:- from our website: https://acinq.co/pgp/drouinf.asc
- from github user @sstone, a committer on eclair: https://api.github.com/users/sstone/gpg_keys
To import our signing key:
$ gpg --import drouinf.asc
๐ To verify the release file checksums and signatures:
$ gpg -d SHA256SUMS.asc > SHA256SUMS.stripped $ sha256sum -c SHA256SUMS.stripped
โฌ๏ธ Upgrading
๐ This release is fully compatible with
Eclair v0.3
(including supported JDK and Bitcoin Node versions). You don't need to close your channels, just stop eclair, upgrade and restart. The only significant difference with v0.3 is that support for our old v0.2 API, which was deprecated but could still be activated, has been completely dropped.๐ Changelog
- Reject payments for expired invoices (#1057)
- Connect immediately on restart, then wait (#1040)
- Close the channel if the funding tx never confirms (#1034)
- Check 'initialblockdownload' from bitcoind during startup (#1058)
- โ Add TLV and TLV stream codec support (#1045)
- โ Add more data to
usablebalances
API method (#1053) - โ Make Bitcoin Core bind on localhost in tests (#1056)
- โ Added more memory for scoverage (#1050)
- โก๏ธ Update link for recommended JDK (#1054)
- โ Add
balances
API method (#962) - โ Remove old service and related docs (#1046)
- Ack unhandled lightning messages (#1042)
- ๐ Minor fixes (#1043)
- Electrum: add data to TxIdFromPosResponse. (#1038)
- Correctly decode requests without multipliers (#1020)
- โ Removed cached codec (#1036)
- Electrum: add id_from_pos (#1035)
- ๐ Use compact encoding for signatures (64 bytes) instead of DER (#1014)
- Output txid and serialized tx in transaction json serializer (#1033)
- Clean pending htlcs db (#1027)
- โช Smarter restore logic for closing channels (#1015)
- Peer reconnection address from node announcements (#1009)
- โ Add feeThresholdSat and maxFeePct parameters to payments API (#1023)
- Close channel if funding tx times out (#1016)
- Smarter relay logic (#1011)
- โก๏ธ Electrum: update server list (#1022)
- ๐ Initialize global feerate with default from conf (#1019)
- โ Removed
PaymentRequest.MAX_AMOUNT
(#1018) - Set
handleCommandError
toWARN
(#1012) - Electrum: consistently retrieve wallet transactions (#1010)
- ๐ Make htlc-reaper a top-level actor (#1013)
- Send to route (#952)
- โ Increase Service and EclairImpl test coverage (#1004)
- API: optionally use a user supplied preimage when creating invoices (#965)
- ๐ Improved test coverage of
io
package (#996)
Thank you @btcontract !
-
v0.3.1-android
June 04, 2019 -
v0.3 Changes
May 09, 2019๐ This is a major release which includes many improvements and bug fixes, and we recommend that users upgrade.
โฌ๏ธ It is compatible with eclair v0.2-beta9 (i.e you don't have to close your channels) but upgrading may be not as seamless as for previous versions, please check the Upgrading section.
Major changes
0๏ธโฃ Eclair runs on mainnet by default
๐ง Default configuration now targets mainnet, but you can still easily run Eclair on testnet or regtest.
๐ New RPC API
๐ Our RPC API has been upgraded and improved and now include calls to retrieve payment information, see our API documentation. You can still choose to use the old API with a configuration option that will be removed in a future release.
Easy channels backup
โก๏ธ Making backups of your channels is now simpler: we create an update an
eclair.sqlite.bak
backup file that is always consistent and safe to use even when your node is running.โช Please note that an old backup can be used as a "static" backup: if you restore an old backup, channels open to peers that support
Data Loss Protect
will be recovered.๐ Simple Plugin Support
๐ You can now easily write and deploy your own plugins, written in any JVM-compatible language. See the readme for more details.
Bitcoin Core v0.17 or newer is now required
โฌ๏ธ We now require Bitcoin Core v0.17 or newer, meaning that eclair now works with Bitcoin Core v0.18. Eclair will not work anymore with older versions, you will have to upgrade.
๐ Support for Tor Services
You can now run Eclair as a Tor hidden service for increased privacy.
Note that Tor also offers out-of-the-box NAT traversal, which solve the issue of changing ips.
Target JDK is now OpenJDK 11
We switched our target JDK from Oracle JDK8 to OpenJDK 11, and we recommend that you use it to run eclair. You can still use Oracle JDK8 (but it's up to you to check your licensing options).
๐ Performance improvements
๐ง Eclair now embeds native JNI bindings for libsecp256k1 for Linux 64 bits, Windows 64 bits and Osx 64 bits, which makes eclair much faster. You can still use your own version of libsecp256k1 if you use a different OS.
Many internal structures and workflows have been optimised and eclair is now even faster (not that it was ever slow to begin with, eclair is used on some of the biggest nodes on LN).
๐ Verifying signatures
๐ You will need
gpg
and our release signing key 7A73FE77DE2C4027. Note that you can get it:- from our website: https://acinq.co/pgp/drouinf.asc
- from github user @sstone, a committer on eclair: https://api.github.com/users/sstone/gpg_keys
To import our signing key:
$ gpg --import drouinf.asc
๐ To verify the release file checksums and signatures:
$ gpg -d SHA256SUMS.asc > SHA256SUMS.stripped $ sha256sum -c SHA256SUMS.stripped
โฌ๏ธ Upgrading
๐ This release is compatible with
Eclair v0.2-beta9
. You don't need to close your channels, just stop eclair, upgrade and restart. However, there are 2 major runtime changes that you need to take into account:If you're using Bitcoin Core v0.16.3, you must upgrade to v0.17 (latest release is 0.17.1). Since we require indexing, you tx index database will be migrated the first time you start your Bitcoin Core, which may take up to a few hours. Please stop eclair, migrate your Bitcoin node, and wait until its index database has been migrated before you start eclair again !
๐ Our target JDK is now OpenJDK 11, and we suggest that you use it to run Eclair. You can still use Oracle JDK8 (but it's up to you to check your licensing options). See #846 for more details.
๐
.exe
Windows installer has been removed๐ Starting with this version, we do not release a Windows installer. Windows users must instead run the eclair
jar
file manually. If you're not sure how to do that, follow the instructions below:- Download and install Java with OpenJDK
- Download the
eclair-node-gui-0.3-a5debcd.jar
file from this page and put it somewhere on your disk Create a
run-eclair-0.3.bat
file somewhere on your disk, with the following content:start /B javaw -Declair.datadir=C:\path\to\node\datadir -jar C:\path\to\eclair-node-gui-0.3-2a89cf7.jar
0๏ธโฃ Replace the
C:\path\to\...
section with the actual values on your system. Note if you use the default datadir (which isC:\Users\name\.eclair
) you can omit the-Declair.datadir=...
section.๐ป You can now run eclair by executing this
bat
file. Alternatively, you can use command line.๐ Changelog
- ๐ Use bitcoind fee estimator first (#987)
- Ignore subprojects eclair-node/eclair-node-gui in the codecov report (#991)
- Accept
commit_sig
without changes (#988) - โ Add bot support for code coverage (codecov) (#982)
- โฑ Set tcp client timeout to 20s (#990)
- 0๏ธโฃ Set default chain to "mainnet" (#989)
- Replace
UnknownPaymentHash
andIncorrectPaymentAmount
withIncorrectOrUnknownPaymentDetails
(#984) - โก๏ธ Update bash autocompletion for eclair-cli (#983)
- ๐ API: Support query by
channelId
orshortChannelId
everywhere (#969) - ๐ Better handling of closed channels (#944)
- ๐ Electrum: make debug logs shorter (#964)
- ๐ ElectrumWallet should not send ready if syncing (#963)
- ๐จ Print stack trace when crashing during boot sequence (#949)
- Live channel database backup (#951)
- โ Added simple plugin support (#927)
- โ Add channel errors in audit db (#955)
- โ Added a timeout for channel open request (#928)
- Electrum: do not persist transaction locks (#953)
- โ Add a proper payments database (#885)
- ๐ง Set max payment attempts from configuration (#931)
- ๐ฆ Expose the websocket over HTTP GET to work properly with basic auth (#934)
- Send events when HTLCs settle on-chain (#884)
- โก๏ธ Electrum: update client name (#930)
- โ Add random delay to rebroadcast (#925)
- Rollback tx if disconnected in
WAIT_FOR_FUNDING_SIGNED
(#923) - โ Separate cases for bech32 testnet and regtest for BOLT11 fallback address
- API: use form data instead of JSON-RPC (#894)
- Deal with channels with fees=0 when computing a route (#905)
- Check
WatchSpent
in constant time (#916) - Rework database initialization (#911)
- ๐ Use bitcoin-lib 0.11 which embeds libsecp256k1 (#907)
- โก๏ธ Don't send updates if no filter has been set (#912)
- โฌ๏ธ Upgrade to bitcoin 0.17.1 (#826)
- ๐ Better logic for sending
channel_updates
(#888) - Replace
BinaryData
byscodec.bits.ByteVector
(#896) - ๐ Better error logs for socks5 proxy (#893)
- ๐ NetworkDb: remove stale channels in batch (#886)
- Clean channels with unexisting funding tx (#714)
- 0๏ธโฃ Set default
to-remote-delay-blocks
to 720 (#879) - Routing heuristics (#821)
- ๐ Use ypub prefix for Electrum xpub (#875)
- โก๏ธ Update jeromq dependency (#852)
- 0๏ธโฃ Use OpenJDK 11 as default JDK (#846)
- ๐ Electrum fixes and improvements (#873)
- ๐ Fixed computation of available balance (#868)
- Faster gui startup (#863)
- ๐ Support all-uppercase payment requests (#862)
- Reimplemented BOLT 11 with scodec (#856)
- Parametric route search (#844)
- Increased max-to-local-delay-blocks to 2016 (#853)
- Stop disconnected peer when it has no channels (#840)
- ๐ Improve Electrum start-up time (#848)
- โ Add balance and channel lifecycle events to the audit db (#827)
- ๐ Support for Tor onion services (#736)
- (Router) Always select direct channel if there is one to the target (#850)
- Proper handling of gossiped channels being spent (#838)
- Ignore reconnections requests to the same peer with the same address (#835)
- Replace initialization futures Future[Boolean] by Future[Done] (#836)
- Set timestamp filter lower bound to current time (#837)
- ChannelSelectionSpec: use akka.event.NoLogging (#834)
- Relay to channel with lowest possible balance (#784)
- ๐ Complete commit logs
Thank you @btcontract @rorp @n1bor @Kukks !
-
v0.2 Changes
April 19, 20192019-04-17
-
v0.2-android Changes
April 19, 20192019-04-17