Page MenuHomePhabricator
Feed Advanced Search

Oct 11 2023

emack updated the summary of D14624: [Cashtab][Ailas] Remove aliasToRegister and aliasLength state vars.
Oct 11 2023, 01:33
emack requested review of D14624: [Cashtab][Ailas] Remove aliasToRegister and aliasLength state vars.
Oct 11 2023, 00:02

Oct 10 2023

emack planned changes to D14612: [Apps][Examples] Sending a one to many XEC tx.
Oct 10 2023, 23:12

Oct 8 2023

emack updated the diff for D14612: [Apps][Examples] Sending a one to many XEC tx.

Updated README, comments and removed redundant typecast.

Oct 8 2023, 13:01
emack requested review of D14612: [Apps][Examples] Sending a one to many XEC tx.
Oct 8 2023, 12:50

Oct 7 2023

emack updated the summary of D14611: [Cashtab][Alias] Pending Aliases.
Oct 7 2023, 12:26
emack planned changes to D14611: [Cashtab][Alias] Pending Aliases.
Oct 7 2023, 12:22
emack requested review of D14611: [Cashtab][Alias] Pending Aliases.
Oct 7 2023, 12:22
emack requested review of D14610: [Cashtab[Alias] Clear registration input after broadcast.
Oct 7 2023, 03:29
emack closed D14571: [Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect v2.0.1.
Oct 7 2023, 00:02
emack committed rABCd23611c7e634: [Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect… (authored by emack).
[Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect…
Oct 7 2023, 00:02

Oct 6 2023

emack updated the diff for D14571: [Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect v2.0.1.

Added two standard one to one send XEC tests, one with change and one without.

Oct 6 2023, 03:13
emack abandoned D14588: [Chronik-client] Upgrade for in-node chronik (WIP).

Superseded by D14607

Oct 6 2023, 01:28

Oct 5 2023

emack abandoned D14555: [Cashtab][Alias] Pending Aliases.
Oct 5 2023, 09:50
emack updated the diff for D14571: [Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect v2.0.1.

Responding to feedback

Oct 5 2023, 05:34
emack updated the summary of D14555: [Cashtab][Alias] Pending Aliases.
Oct 5 2023, 04:43
emack added inline comments to D14555: [Cashtab][Alias] Pending Aliases.
Oct 5 2023, 04:42
emack updated the diff for D14555: [Cashtab][Alias] Pending Aliases.

Responding to feedback

Oct 5 2023, 04:42

Oct 4 2023

emack closed D14587: [Cashtab][Alias] Patch silent bugs introduced by spec change.
Oct 4 2023, 23:45
emack committed rABC28e0ad7683c8: [Cashtab][Alias] Patch silent bugs introduced by spec change (authored by emack).
[Cashtab][Alias] Patch silent bugs introduced by spec change
Oct 4 2023, 23:45
emack updated the summary of D14587: [Cashtab][Alias] Patch silent bugs introduced by spec change.
Oct 4 2023, 22:07
emack added inline comments to D14571: [Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect v2.0.1.
Oct 4 2023, 11:18
emack updated the diff for D14571: [Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect v2.0.1.

Responding to feedback

Oct 4 2023, 11:18
emack updated the diff for D14587: [Cashtab][Alias] Patch silent bugs introduced by spec change.

Remove newline

Oct 4 2023, 10:32
emack updated the diff for D14587: [Cashtab][Alias] Patch silent bugs introduced by spec change.

Removed the xecAmount override as it was only needed for the original mock data that was not aligned with the latest alias spec, hence previously returning change. This is no longer the case with the latest mocks. This also removes the previous comment around updating the spec.

Oct 4 2023, 10:30
emack updated the summary of D14587: [Cashtab][Alias] Patch silent bugs introduced by spec change.
Oct 4 2023, 10:28
emack updated the diff for D14555: [Cashtab][Alias] Pending Aliases.

Following further testing, moving the alias server error logic to the first useEffect that uses balances.totalBalance as a dependency is the right approach. Have verified this useEffect block is triggered upon app load, Alias.js component load and post-registration broadcast. Additional verification can be done by malforming the alias-server endpoint used in useWallet's refreshAliases and in Alias.js' preparePreviewModal.

Oct 4 2023, 10:20
emack planned changes to D14555: [Cashtab][Alias] Pending Aliases.

Upon further testing, both useEffects are being triggered upon Alias.js load. Going to have a think about the most efficient approach to this.

Oct 4 2023, 00:40
emack added inline comments to D14555: [Cashtab][Alias] Pending Aliases.
Oct 4 2023, 00:34
emack updated the diff for D14555: [Cashtab][Alias] Pending Aliases.

Responding to feedback

Oct 4 2023, 00:33

Oct 3 2023

emack planned changes to D14588: [Chronik-client] Upgrade for in-node chronik (WIP).

For discussion in tg

Oct 3 2023, 14:28
emack requested review of D14588: [Chronik-client] Upgrade for in-node chronik (WIP).
Oct 3 2023, 14:27
emack updated the summary of D14587: [Cashtab][Alias] Patch silent bugs introduced by spec change.
Oct 3 2023, 13:37
emack requested review of D14587: [Cashtab][Alias] Patch silent bugs introduced by spec change.
Oct 3 2023, 13:36
emack added a comment to D14578: [Cashtab] Deprecate airdrops.

Chronik does not yet support its full feature set

What features are missing ?

Oct 3 2023, 07:52
emack added inline comments to D14555: [Cashtab][Alias] Pending Aliases.
Oct 3 2023, 07:45
emack updated the diff for D14555: [Cashtab][Alias] Pending Aliases.

Responding to feedback

Oct 3 2023, 07:45
emack updated the diff for D14571: [Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect v2.0.1.

Updated comments

Oct 3 2023, 04:50

Oct 2 2023

emack requested review of D14571: [Apps][Examples] Refactor sendXec demo to use updated API in ecash-coinselect v2.0.1.
Oct 2 2023, 12:59

Sep 30 2023

emack updated the diff for D14555: [Cashtab][Alias] Pending Aliases.

Updated the post-registration syntax that appends the new alias to the pending array. This can be validated by adding a console log to the top of useWallet's useEffect() function so it displays the aliases state variable value upon startup but not yet triggering the API refresh calls.

Sep 30 2023, 13:36

Sep 28 2023

emack planned changes to D14555: [Cashtab][Alias] Pending Aliases.

Awaiting alias-server to come back up before final integration tests on this diff

Sep 28 2023, 13:09
emack requested review of D14555: [Cashtab][Alias] Pending Aliases.
Sep 28 2023, 13:08

Sep 27 2023

emack abandoned D14376: [Cashtab][Alias] Pending Aliases.
Sep 27 2023, 00:24

Sep 26 2023

emack added inline comments to D14376: [Cashtab][Alias] Pending Aliases.
Sep 26 2023, 14:35
emack updated the diff for D14376: [Cashtab][Alias] Pending Aliases.

Responding to feedback

Sep 26 2023, 14:35

Sep 25 2023

emack accepted D14529: [Cashtab] Load settings page with saved wallets collapse open.

image.png (264×504 px, 18 KB)

Default open works fine. Since this highlighted area is common to all main screens we can potentially turn this into a dropdown populated with the saved wallets.

Sep 25 2023, 00:53

Sep 24 2023

emack accepted D14528: [Cashtab] Support UAE Dirham currency.

Accepted with minor nit

Sep 24 2023, 15:04
emack added inline comments to D14527: [Cashtab] Commence refactor of transaction building.
Sep 24 2023, 14:49
emack added inline comments to D14526: [ecash-coinselect] Simplify to match functionality of coinselect library.
Sep 24 2023, 13:21
emack updated the diff for D14376: [Cashtab][Alias] Pending Aliases.

Minor commenting nit

Sep 24 2023, 02:14
emack added inline comments to D14376: [Cashtab][Alias] Pending Aliases.
Sep 24 2023, 02:06
emack updated the diff for D14376: [Cashtab][Alias] Pending Aliases.
  • Added warning about not tracking pending aliases for other wallets as part of the registration confirmation modal if the user is specifying a separate address for the alias
  • Cleared inputs upon registration broadcast
  • Fixed a silent bug where refreshAliases() was being constantly triggered in a loop - have moved it into its own useEffect() now with just hasPendingAliases as a dependency
  • Responding to other feedback as below:
Sep 24 2023, 02:06

Sep 22 2023

emack updated the summary of D14376: [Cashtab][Alias] Pending Aliases.
Sep 22 2023, 13:46
emack updated the diff for D14376: [Cashtab][Alias] Pending Aliases.
  • New refreshAliases() function added to useWallet that calls the /address endpoint to retrieve both registered and pending aliases for the active wallet
  • Latest aliases are stored in useWallet's state variable latestAliases, which are then used by Alias.js to populate the registered and pending alias dropdowns
  • Interval created in useWallet that calls refreshAliases() to refresh registered and pending aliases
  • useEffect() dependencies adjusted in Alias.js so that a refresh is triggered upon alias registration (balance change) and new aliases detected
  • No longer using localStorage to keep track of pending aliases
  • Per earlier feedback, no longer using websocket listener on 'BlockConnected' events as that may not be a one to one correlation to a successful registration
Sep 22 2023, 13:45

Sep 19 2023

emack accepted D14488: [alias-server] Add API endpoint to get pending aliases by address.
Sep 19 2023, 14:19

Sep 16 2023

emack abandoned D13917: [Cashtab] Pt1 - Fee calc update for token genesis txs.
Sep 16 2023, 01:48
emack abandoned D14362: [Apps][Examples] Create a websocket to listen for a new block.
Sep 16 2023, 01:43
emack abandoned D14352: [ecash-coinselect] [SLP] Part 2/2 - Add support for token genesis and burn transactions.
Sep 16 2023, 01:28
emack abandoned D14351: [ecash-coinselect] [SLP] Part 1/2 - Add SLP utxo selection algo for token send transactions.
Sep 16 2023, 01:28
emack abandoned D14417: [ecash-coinselect] Update getInputUtxos to support custom outputs and OP_RETURN bytecounts.
Sep 16 2023, 01:26

Sep 15 2023

emack abandoned D14489: [ecash-coinselect] Update getInputUtxos to support OP_RETURN scripts in outputArray.
Sep 15 2023, 22:09
emack added inline comments to D14489: [ecash-coinselect] Update getInputUtxos to support OP_RETURN scripts in outputArray.
Sep 15 2023, 14:01
emack added a comment to D14489: [ecash-coinselect] Update getInputUtxos to support OP_RETURN scripts in outputArray.

How did you build your tests, and especially how did you compute the expected txFee?

Sep 15 2023, 13:24
emack updated the diff for D14489: [ecash-coinselect] Update getInputUtxos to support OP_RETURN scripts in outputArray.

Responding to feedback

Sep 15 2023, 13:24
emack requested changes to D14488: [alias-server] Add API endpoint to get pending aliases by address.

I've been looking at this from a customer (wallet dev) POV. To show the latest alias list attached to the wallet I would have to call /address to get the list of confirmed aliases and then quickly followed by /pending to get the pending list.

Sep 15 2023, 07:17
emack updated the summary of D14489: [ecash-coinselect] Update getInputUtxos to support OP_RETURN scripts in outputArray.
Sep 15 2023, 04:32
emack updated the summary of D14489: [ecash-coinselect] Update getInputUtxos to support OP_RETURN scripts in outputArray.
Sep 15 2023, 04:23
emack requested review of D14489: [ecash-coinselect] Update getInputUtxos to support OP_RETURN scripts in outputArray.
Sep 15 2023, 04:21

Sep 14 2023

emack accepted D14487: [Cashtab] Run suggested react update to bring browserslist up to date.

👍

image.png (127×477 px, 15 KB)

Sep 14 2023, 22:57
emack accepted D14481: [Cashtab] Deprecate parseXecSendValue.
Sep 14 2023, 22:50
emack accepted D14480: [Cashtab] Show total send amount in modal for one-to-many send txs.
Sep 14 2023, 22:44
emack closed D14475: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs.
Sep 14 2023, 22:33
emack committed rABC29e90aae613a: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs (authored by emack).
[ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs
Sep 14 2023, 22:33
emack updated the diff for D14475: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs.

Updated error message

Sep 14 2023, 22:31
emack accepted D14478: [Cashtab] Check if user has browser extension installed.
Sep 14 2023, 22:17
emack updated the diff for D14475: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs.

Added ecashaddrjs as a dependency

Sep 14 2023, 14:13
emack updated the diff for D14475: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs.
  • Added p2pkh script type validation on outputArray
  • Reversed the change output logic
Sep 14 2023, 14:08
emack added a comment to D14482: [e.cash] Add stub developers page.

Not sure if this is the diff for it but here are some dev resource suggestions:

Sep 14 2023, 03:13
emack requested changes to D14478: [Cashtab] Check if user has browser extension installed.

image.png (310×1 px, 30 KB)

I think this needs to distinguish between not installed vs installed but turned off in browser extensions. At the moment both are showing as 'Not installed' in the console log but you may want to have a different message advising the user their extension is installed and just needs to be turned on.

Sep 14 2023, 02:48
emack requested changes to D14480: [Cashtab] Show total send amount in modal for one-to-many send txs.

image.png (296×558 px, 36 KB)

  1. 17.7 XEC total is being rounded down to 17, should be displayed as is up to the 2 decimal points.
  2. Minor nit, can use a newline before displaying the addresses.
Sep 14 2023, 02:30
emack requested changes to D14481: [Cashtab] Deprecate parseXecSendValue.
Sep 14 2023, 02:21
emack updated the summary of D14475: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs.
Sep 14 2023, 01:59
emack added inline comments to D14475: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs.
Sep 14 2023, 01:58
emack updated the diff for D14475: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs.

Responding to feedback

Sep 14 2023, 01:58

Sep 13 2023

emack requested review of D14475: [ecash-coinselect] Update getInputUtxos to support N x p2pkh outputs.
Sep 13 2023, 10:41
emack accepted D14473: [Cashtab] Fix NaN render bug in paybutton links without specified amount.
Sep 13 2023, 00:27
emack created T3284: Metamask integration - explore new Snap feature that supports utxo chains.
Sep 13 2023, 00:15 · Restricted Project

Sep 9 2023

emack requested review of D14417: [ecash-coinselect] Update getInputUtxos to support custom outputs and OP_RETURN bytecounts.

think the API first before you start coding this

Sep 9 2023, 12:26

Sep 8 2023

emack added a comment to D14269: [Chronik-client] - Cycle through backup instances on outage.

@tobias_ruck

image.png (484×489 px, 569 KB)

Sep 8 2023, 03:50

Sep 6 2023

emack updated the diff for D14269: [Chronik-client] - Cycle through backup instances on outage.

Updated unit test descriptions

Sep 6 2023, 23:55
emack updated the diff for D14269: [Chronik-client] - Cycle through backup instances on outage.

Removed duplicate unit test grouping

Sep 6 2023, 23:54
emack updated the diff for D14269: [Chronik-client] - Cycle through backup instances on outage.
  • Corrected setting of `this._workingIndex
  • Moved this modulo index derivation logic into a separate deriveEndpointIndex function to enable unit tests, including a new setWorkingIndex function to override the index for unit tests.
  • Added unit tests for a four element array, validating index derivation order for cases with a default and custom working index.
Sep 6 2023, 23:51
emack requested review of D14417: [ecash-coinselect] Update getInputUtxos to support custom outputs and OP_RETURN bytecounts.
Sep 6 2023, 14:06
emack added a comment to D14417: [ecash-coinselect] Update getInputUtxos to support custom outputs and OP_RETURN bytecounts.

Responding to feedback

Sep 6 2023, 14:03
emack added inline comments to D14269: [Chronik-client] - Cycle through backup instances on outage.
Sep 6 2023, 13:34
emack updated the diff for D14269: [Chronik-client] - Cycle through backup instances on outage.

Responding to feedback

Sep 6 2023, 13:34
emack closed D14449: [mock-chronik-client] minor README formatting updates.
Sep 6 2023, 10:32
emack committed rABC71354da40087: [mock-chronik-client] minor README formatting updates (authored by emack).
[mock-chronik-client] minor README formatting updates
Sep 6 2023, 10:32

Sep 5 2023

emack requested review of D14449: [mock-chronik-client] minor README formatting updates.
Sep 5 2023, 14:45
emack updated the diff for D14417: [ecash-coinselect] Update getInputUtxos to support custom outputs and OP_RETURN bytecounts.

Rebased to D14423 and used the mock chronik from there to add new unit tests which mock the script().utxos() API calls from within getInputUtxos.

Sep 5 2023, 14:30