Weekly Edition for Thursday, Nov 19

bulletin

Releases

project release date
ledger-live-common v17.0.0

Complete countervalues rework

This is a breaking changes.

We have completely reworked the way countervalues logic works as well as moved to a new Countervalues API. It have better performance, better accuracy and coverage of countervalues. We fixes through this many known issues like some fiat support missing (AUD for instance), many erc20 countervalues price missing, hole or peaks in the data,… We also add some features like hourly granularity.

Technically, everything has changed: we no longer are expecting the user land to have redux and this logic can in fact be used (and is used) by the CLI. In term of React integration, we have defined some React hooks to solve classical usecases (like calculating countervalues).

This will be documented soon in https://github.com/LedgerHQ/ledger-live-common/blob/master/docs/countervalues.md

You can see these PRs as reference: - live-common https://github.com/LedgerHQ/ledger-live-common/pull/892 - live-desktop https://github.com/LedgerHQ/ledger-live-desktop/pull/3194 - live-mobile https://github.com/LedgerHQ/ledger-live-mobile/pull/1410

quit app logic

The quit app mechanism is now active by default for everyone. During device flows, the device will automatically quit the app when another app is needed (e.g. receive,send,add accounts) or when we need the dashboard (e.g. manager). It makes the whole experience really smooth in worse case scenario: if my device is in the Litecoin app and i need to add Bitcoin accounts, the only thing i need to do on my device is to accept the opening of Bitcoin. If the device is locked, we also will correctly handle the fact that it would get correctly restored and potentially would automatically close Bitcoin and intent-open again in case of 0x6f04 which can happen when device is locked (it's a tradeoff until firmapps address it).

Algorand fixes

To fix LL-3497, we made sure that optimistic operations were working for ASA transactions. This also shall make the parent transaction a "FEE" operation.

ripple-lib upgrade

We have upgraded ripple-lib. No changes expected, things should work as normally.

Others

  • Add ANALYTICS_CONSOLE env
  • update eth-sig-util
  • bot fixes
2020-11-18
ledger-live-common v16.0.0

Business logic for Sell feature.

Breaking changes

Change the import of

@ledgerhq/live-common/lib/swap

to

@ledgerhq/live-common/lib/exchange/swap
2020-11-13
ledger-live-common v17.0.3
  • XRP fixes
2020-11-19
ledger-live-common v17.0.2
  • XRP fixes
  • naming: SatsStack -> SatStack
2020-11-19
ledger-live-common v17.0.1
2020-11-19
ledger-live-desktop v2.17.0 2020-11-18
ledgerjs v5.30.0

ETH 2 deposit contract API (@ledgerhq/hw-app-eth)

see https://github.com/LedgerHQ/ledgerjs/blob/master/packages/hw-app-eth/README.md

  • eth2GetPublicKey(path: string, boolDisplay?: boolean): Promise<{ publicKey: string }>
  • eth2SetWithdrawalIndex(withdrawalIndex: number): Promise<boolean>

maintenance

  • update flow, rollup, uglify-js, typescript
2020-11-18

RFC

type rfc # title date status
bip bip-0034 BIP34 encoding clarification 2020-11-18 New PR
bip X added test vector #4 for invalid extended keys 2020-11-17 Update
bip X fixed typos 2020-11-16 Update
bip X Reject 116 (expired) 2020-11-16 Update
bip X Reject 98 (expired) 2020-11-16 Update
bip X Reject 199 (expired) 2020-11-16 Update
bip bip-0078 update Joinmarket BIP78 status 2020-11-16 Update
bip X add more tests for leading zero 2020-11-15 Update
bip X New BIP: Logarithm of transaction fee limits block size 2020-11-15 Update
bip bip-0039 Add Persian wordlist to BIP39 2020-11-19 Update
bip bip-0002 BIP-0002: Update Rejection criteria to require there to be an actual … 2020-11-19 Update
bolt X DRAFT: Offers 2020-11-18 Update
bolt X make: add document generation with pandoc 2020-11-18 Update
bolt transactions BOLT 3: add test vectors for htlc-transactions in case where CLTV is used as tie-breaker for sorting 2020-11-18 Update
bolt X WIP: Tools: event tests 2020-11-18 Update
bolt X Proposal: Anonymous Invoices 2020-11-18 Closed
bolt X Require to claim revoked local output in its own penalty tx post-anchor 2020-11-17 Update
bolt X Route Blinding 2020-11-16 Update
bolt X Lightning Specification Meeting 2020/10/26 2020-11-16 Closed
slip slip-0044 slip-0044: Fix typo. 2020-11-18 New PR
slip X Add BCHA 2020-11-17 Closed
slip slip-0044 Update slip-0044.md 2020-11-16 Merged
slip X add SCAP 2020-11-15 Merged