Page MenuHomePhabricator
Feed Advanced Search

Aug 10 2023

emack abandoned D14360: [Apps][Examples] Smart contract where only the designated signature can withdraw XEC.
Aug 10 2023, 23:39
emack updated the summary of D14356: [Cashtab][Alias] Track pending aliases.
Aug 10 2023, 16:17
emack added inline comments to D14356: [Cashtab][Alias] Track pending aliases.
Aug 10 2023, 16:09
emack updated the diff for D14356: [Cashtab][Alias] Track pending aliases.

If a pending alias was registered by another user it will remain pending forever.

Aug 10 2023, 16:09
emack planned changes to D14362: [Apps][Examples] Create a websocket to listen for a new block.
Aug 10 2023, 09:21
emack added inline comments to D14362: [Apps][Examples] Create a websocket to listen for a new block.
Aug 10 2023, 09:02
emack closed D14365: [Apps][Examples] Update examples list.
Aug 10 2023, 08:51
emack committed rABCbcb9c6c60f1e: [Apps][Examples] Update examples list (authored by emack).
[Apps][Examples] Update examples list
Aug 10 2023, 08:51
emack updated the diff for D14351: [ecash-coinselect] [SLP] Part 1/2 - Add SLP utxo selection algo for token send transactions.

Updated README

Aug 10 2023, 08:39
emack updated the diff for D14353: [ecash-coinselect] [SLP] Part 3/3 - Add support for token burn transactions.

Rebase to changes in part 1

Aug 10 2023, 08:37
emack updated the diff for D14352: [ecash-coinselect] [SLP] Part 2/2 - Add support for token genesis and burn transactions.

Rebase to changes in part 1

Aug 10 2023, 08:37
emack updated the diff for D14351: [ecash-coinselect] [SLP] Part 1/2 - Add SLP utxo selection algo for token send transactions.

Rebase

Aug 10 2023, 08:37
emack planned changes to D14269: [Chronik-client] - Cycle through backup instances on outage.
Aug 10 2023, 08:08
emack added inline comments to D14351: [ecash-coinselect] [SLP] Part 1/2 - Add SLP utxo selection algo for token send transactions.
Aug 10 2023, 08:08
emack updated the diff for D14351: [ecash-coinselect] [SLP] Part 1/2 - Add SLP utxo selection algo for token send transactions.

Responding to feedback

Aug 10 2023, 08:08
emack requested review of D14365: [Apps][Examples] Update examples list.
Aug 10 2023, 07:21
emack closed D14363: [Apps][Examples] Add pubkeyhash and privkey to the createWallet example.
Aug 10 2023, 07:11
emack committed rABC77e97a8085d0: [Apps][Examples] Add pubkeyhash and privkey to the createWallet example (authored by emack).
[Apps][Examples] Add pubkeyhash and privkey to the createWallet example
Aug 10 2023, 07:11
emack added inline comments to D14362: [Apps][Examples] Create a websocket to listen for a new block.
Aug 10 2023, 07:08
emack abandoned D14325: [Cashtab][Alias] Add websocket listener for 1 conf on alias registration txs.

Superseded by updates to pending logic in D14356

Aug 10 2023, 06:37
emack planned changes to D14360: [Apps][Examples] Smart contract where only the designated signature can withdraw XEC.

On hold until we're in a position to fork our own version

Aug 10 2023, 06:36
emack updated the diff for D14356: [Cashtab][Alias] Track pending aliases.

Alias.js:

  • Retained the existing check for alias confirmation upon startup and expanded it to include use of pendingAliasCheck which compares the pending aliases list to the latest registered alias list from API
  • Added periodic 30 second calls to pendingAliasCheck to refresh pending list
Aug 10 2023, 06:30

Aug 9 2023

emack updated the diff for D14363: [Apps][Examples] Add pubkeyhash and privkey to the createWallet example.

Updated WIF retrieval

Aug 9 2023, 02:55
emack planned changes to D14363: [Apps][Examples] Add pubkeyhash and privkey to the createWallet example.
Aug 9 2023, 02:43
emack updated the diff for D14360: [Apps][Examples] Smart contract where only the designated signature can withdraw XEC.

rebase

Aug 9 2023, 02:41
emack requested review of D14363: [Apps][Examples] Add pubkeyhash and privkey to the createWallet example.
Aug 9 2023, 02:40
emack updated the summary of D14360: [Apps][Examples] Smart contract where only the designated signature can withdraw XEC.
Aug 9 2023, 01:49
emack requested review of D14362: [Apps][Examples] Create a websocket to listen for a new block.
Aug 9 2023, 01:40
emack updated the diff for D14356: [Cashtab][Alias] Track pending aliases.

Rebase

Aug 9 2023, 00:06
emack updated the diff for D14334: [Cashtab][Alias] Upgrade Alias UI.

Rebase

Aug 9 2023, 00:05
emack updated the diff for D14334: [Cashtab][Alias] Upgrade Alias UI.
  • Updated to expand the Registered Aliases dropdown by default
  • Updated unit test UI snapshots
Aug 9 2023, 00:03

Aug 8 2023

emack added inline comments to D14356: [Cashtab][Alias] Track pending aliases.
Aug 8 2023, 23:36
emack updated the summary of D14360: [Apps][Examples] Smart contract where only the designated signature can withdraw XEC.
Aug 8 2023, 15:44
emack committed rABCea192d8bbbee: [Apps][Examples] Create a websocket to listen for confirmation on a transaction (authored by emack).
[Apps][Examples] Create a websocket to listen for confirmation on a transaction
Aug 8 2023, 15:43
emack closed D14359: [Apps][Examples] Create a websocket to listen for confirmation on a transaction.
Aug 8 2023, 15:43
emack requested review of D14360: [Apps][Examples] Smart contract where only the designated signature can withdraw XEC.
Aug 8 2023, 15:40
emack added inline comments to D14198: [Apps][Examples] Sending XECs.
Aug 8 2023, 13:00
emack updated the diff for D14198: [Apps][Examples] Sending XECs.

Responding to feedback

Aug 8 2023, 13:00
emack requested review of D14359: [Apps][Examples] Create a websocket to listen for confirmation on a transaction.
Aug 8 2023, 12:49
emack added inline comments to D14198: [Apps][Examples] Sending XECs.
Aug 8 2023, 09:12
emack updated the diff for D14198: [Apps][Examples] Sending XECs.

Responding to feedback

Aug 8 2023, 09:12
emack updated the diff for D14356: [Cashtab][Alias] Track pending aliases.

Improved unit tests, ready for review.

Aug 8 2023, 08:19

Aug 7 2023

emack closed D14354: [Apps] [Examples] Improve README layout.
Aug 7 2023, 15:34
emack committed rABC584ee7b38821: [Apps] [Examples] Improve README layout (authored by emack).
[Apps] [Examples] Improve README layout
Aug 7 2023, 15:34
emack planned changes to D14356: [Cashtab][Alias] Track pending aliases.

Further integration testing planned before opening for review

Aug 7 2023, 15:32
emack requested review of D14356: [Cashtab][Alias] Track pending aliases.
Aug 7 2023, 15:31

Aug 6 2023

emack updated the diff for D14354: [Apps] [Examples] Improve README layout.

Updated formatting

Aug 6 2023, 02:07
emack requested review of D14354: [Apps] [Examples] Improve README layout.
Aug 6 2023, 02:02

Aug 5 2023

emack added a comment to D14339: [Cashtab] Deprecate Ticker.js.

npm test

I think the test plan would go beyond just the unit test suite, as there could be unintended effects only felt via manual testing. Given the size of this diff the frontend regression test plan would be huge, so I would feel more comfortable doing this in batches.

Aug 5 2023, 23:05
emack requested review of D14353: [ecash-coinselect] [SLP] Part 3/3 - Add support for token burn transactions.
Aug 5 2023, 14:34
emack requested review of D14352: [ecash-coinselect] [SLP] Part 2/2 - Add support for token genesis and burn transactions.
Aug 5 2023, 14:15
emack retitled D14351: [ecash-coinselect] [SLP] Part 1/2 - Add SLP utxo selection algo for token send transactions from [ecash-coinselect] Add SLP utxo selection algo for token send transactions to [ecash-coinselect] [SLP] Part 1/3 - Add SLP utxo selection algo for token send transactions.
Aug 5 2023, 12:24
emack requested review of D14351: [ecash-coinselect] [SLP] Part 1/2 - Add SLP utxo selection algo for token send transactions.
Aug 5 2023, 12:16
emack updated the diff for D14198: [Apps][Examples] Sending XECs.

Updated comments

Aug 5 2023, 07:15
emack added inline comments to D14198: [Apps][Examples] Sending XECs.
Aug 5 2023, 07:12
emack updated the diff for D14198: [Apps][Examples] Sending XECs.
  • Installed the new ecash-coinselect module to encapsulate the coin selection logic and significantly simplify this example
  • Added mocha-suppress-logs to reduce output noise
  • Updated comments capitalization throughout example
Aug 5 2023, 07:12

Aug 4 2023

emack updated the diff for D14334: [Cashtab][Alias] Upgrade Alias UI.
  • Created <AliasLabel> styled component to change cursor to pointer upon hover over the alias tag
  • Updated corresponding unit test snapshots
Aug 4 2023, 02:14
emack updated the diff for D14325: [Cashtab][Alias] Add websocket listener for 1 conf on alias registration txs.

Updated generalNotification to take in a duration param set to notificationDurationShort by default, but can be overriden to 0 to indicate permanent notification until closed by the user.

Aug 4 2023, 01:57
emack added a comment to D14227: [eCash library][ecash-coinselect] Initial npm module for basic utxo selection.

Published as https://www.npmjs.com/package/ecash-coinselect

Aug 4 2023, 00:02

Aug 3 2023

emack closed D14227: [eCash library][ecash-coinselect] Initial npm module for basic utxo selection.
Aug 3 2023, 23:58
emack committed rABC4a6264c30509: [eCash library][ecash-coinselect] Initial npm module for basic utxo selection (authored by emack).
[eCash library][ecash-coinselect] Initial npm module for basic utxo selection
Aug 3 2023, 23:58
emack updated the diff for D14227: [eCash library][ecash-coinselect] Initial npm module for basic utxo selection.

Update contextual comments

Aug 3 2023, 14:02
emack closed D14324: [Cashtab][Alias] Add alias status check to wallet contacts.
Aug 3 2023, 13:56
emack committed rABC0130850f2a1d: [Cashtab][Alias] Add alias status check to wallet contacts (authored by emack).
[Cashtab][Alias] Add alias status check to wallet contacts
Aug 3 2023, 13:56
emack added inline comments to D14334: [Cashtab][Alias] Upgrade Alias UI.
Aug 3 2023, 13:53
emack updated the diff for D14334: [Cashtab][Alias] Upgrade Alias UI.

Responding to inline feedback

Aug 3 2023, 13:53
emack added inline comments to D14325: [Cashtab][Alias] Add websocket listener for 1 conf on alias registration txs.
Aug 3 2023, 13:42
emack updated the diff for D14325: [Cashtab][Alias] Add websocket listener for 1 conf on alias registration txs.

Responding to feedback

Aug 3 2023, 13:42
emack updated the test plan for D14334: [Cashtab][Alias] Upgrade Alias UI.
Aug 3 2023, 11:59
emack updated the diff for D14324: [Cashtab][Alias] Add alias status check to wallet contacts.

Applying !! boolean operator to enforce boolean evaluation

Aug 3 2023, 11:57
emack updated the diff for D14334: [Cashtab][Alias] Upgrade Alias UI.
  • Aliases now sorted in ascending order, tested by registering a new alias and it slotted in correctly in alphabetical order.
  • I thought about adding a toggle to switch between ascending and descending but there's not enough whitespace without it feeling super cramped.
  • Also re-linted Alias.js to revert that weird newline.
Aug 3 2023, 11:42
emack updated the diff for D14269: [Chronik-client] - Cycle through backup instances on outage.

@tobias_ruck here's where I'm at in terms of the WsEndpoint redesign to handle url arrays.

Aug 3 2023, 09:36

Aug 2 2023

emack updated the summary of D14334: [Cashtab][Alias] Upgrade Alias UI.
Aug 2 2023, 03:57
emack added inline comments to D14334: [Cashtab][Alias] Upgrade Alias UI.
Aug 2 2023, 03:54
emack added inline comments to D14334: [Cashtab][Alias] Upgrade Alias UI.
Aug 2 2023, 03:50
emack added inline comments to D14334: [Cashtab][Alias] Upgrade Alias UI.
Aug 2 2023, 03:36
emack requested review of D14334: [Cashtab][Alias] Upgrade Alias UI.
Aug 2 2023, 03:32
emack updated the diff for D14227: [eCash library][ecash-coinselect] Initial npm module for basic utxo selection.

Updated to return changeAmount as 0 if it's below dust

Aug 2 2023, 01:08
emack updated the diff for D14325: [Cashtab][Alias] Add websocket listener for 1 conf on alias registration txs.

Updated mockResponses

Aug 2 2023, 01:00
emack updated the diff for D14325: [Cashtab][Alias] Add websocket listener for 1 conf on alias registration txs.
  • rebased to D14330 chronik mock
  • updated to use the latest ecashaddrjs in txConfListener
  • added ws/script mock in chronikMock.js
  • updated unit tests to align with the address input
  • local storage-based pending alias tracking will be implemented in a separate diff
Aug 2 2023, 00:52

Aug 1 2023

emack added inline comments to D14324: [Cashtab][Alias] Add alias status check to wallet contacts.
Aug 1 2023, 23:50
emack updated the diff for D14324: [Cashtab][Alias] Add alias status check to wallet contacts.

Updated for all feedback except the boolean return statement

Aug 1 2023, 23:50
emack closed D14330: [Cashtab][Alias] Add chronik mock.
Aug 1 2023, 23:14
emack committed rABC144e5d653d92: [Cashtab][Alias] Add chronik mock (authored by emack).
[Cashtab][Alias] Add chronik mock
Aug 1 2023, 23:14
emack updated the diff for D14227: [eCash library][ecash-coinselect] Initial npm module for basic utxo selection.
  • Installed mocha-suppress-logs and added .mocharc.js
  • Replaced outputValues with changeAmount in the return object
  • Added additional calcByteCount unit tests
  • Updated README
Aug 1 2023, 15:11
emack updated the diff for D14324: [Cashtab][Alias] Add alias status check to wallet contacts.

Created new isValidRecipient which encapsulates the ecash/alias parsing logic

Aug 1 2023, 14:34
emack added a comment to D14324: [Cashtab][Alias] Add alias status check to wallet contacts.

then maybe contacts.js ?

makes sense, will move it (T3254) in a separate diff as a new component accessed via the hamburger

Aug 1 2023, 12:50
emack added a comment to D14324: [Cashtab][Alias] Add alias status check to wallet contacts.
  • How is that in Configure.js ?

Configure should probably be renamed to Settings to align with the frontend. (I can throw a diff up for this)
The contact list resides there because:

  • Logical grouping of saved wallets alongside saved contacts
  • Contacts will eventually be applicable to both Send XEC and Send eToken screens, so it wouldn't work putting it exclusively in either of those send components
  • Doesn't belong in the Home (Tx History) nor Receive (QR Code) screens
Aug 1 2023, 10:08
emack planned changes to D14269: [Chronik-client] - Cycle through backup instances on outage.

Still WIP, need to redesign how websocket endpoints cycle through urls and exception handling

Aug 1 2023, 05:48
emack added inline comments to D14269: [Chronik-client] - Cycle through backup instances on outage.
Aug 1 2023, 05:47
emack updated the diff for D14269: [Chronik-client] - Cycle through backup instances on outage.

Updated per all feedback except the websocket cycling of urls. That will require further thinking and a chunky refactor.

Aug 1 2023, 05:47

Jul 31 2023

emack updated the diff for D14330: [Cashtab][Alias] Add chronik mock.

Removed broadcastTx methods from mock chronik as the jest approach is more realistic

Jul 31 2023, 23:55
emack updated the diff for D14330: [Cashtab][Alias] Add chronik mock.

Limiting chronik mock to broadcastTx and websocket logic

Jul 31 2023, 23:24
emack added a comment to D14325: [Cashtab][Alias] Add websocket listener for 1 conf on alias registration txs.

I'm talking about the MockChronikClient class

Without the MockChronikClient class you won't be able to trigger a mock Confirmed ws event, which leads to the infinite async loop of txConfListener() reconnecting yearning for a confirmation after npm test has concluded.

Sure, so just do it prior to this diff

Jul 31 2023, 23:13
emack requested review of D14330: [Cashtab][Alias] Add chronik mock.
Jul 31 2023, 23:07
emack closed D14323: [Cashtab][Alias] Deprecate alias caching mechanism.
Jul 31 2023, 22:55
emack committed rABCd4d29cbf64ad: [Cashtab][Alias] Deprecate alias caching mechanism (authored by emack).
[Cashtab][Alias] Deprecate alias caching mechanism
Jul 31 2023, 22:55
emack closed D14322: [Cashtab][Alias] Deprecate getAddressFromAlias.
Jul 31 2023, 22:55
emack committed rABC969bca33c25a: [Cashtab][Alias] Deprecate getAddressFromAlias (authored by emack).
[Cashtab][Alias] Deprecate getAddressFromAlias
Jul 31 2023, 22:55
emack added inline comments to D14324: [Cashtab][Alias] Add alias status check to wallet contacts.
Jul 31 2023, 22:49