HomePhabricator

[Cashtab] Move the opreturn config out of Ticker.js

Description

[Cashtab] Move the opreturn config out of Ticker.js

Summary: Similar to D14102, this diff moves the opreturn specific config out of Ticker.js and into its own config file.

Test Plan:

  • ensure no results from the following greps: (copy and paste in one single batch)

grep -wr currency.opReturn.opReturnPrefixHex src/
grep -wr currency.opReturn.opReturnPrefixDec src/
grep -wr currency.opReturn.opReturnAppPrefixLengthHex src/
grep -wr currency.opReturn.opPushDataOne src/
grep -wr currency.opReturn.appPrefixesHex.eToken src/
grep -wr currency.opReturn.appPrefixesHex.cashtab src/
grep -wr currency.opReturn.appPrefixesHex.cashtabEncrypted src/
grep -wr currency.opReturn.appPrefixesHex.airdrop src/
grep -wr currency.opReturn.appPrefixesHex.aliasRegistration src/
grep -wr currency.opReturn.encryptedMsgByteLimit src/
grep -wr currency.opReturn.unencryptedMsgByteLimit src/

  • npm test
  • npm start
  • send and receive XEC tx with an unencrypted message
  • send and receive one to many XEC tx with an unencrypted message
  • send and receive XEC with an encrypted message
  • send and receive an airdrop generated XEC transaction and ensure it's recognized in tx history as an airdrop tx
  • send and receive eToken

Reviewers: bytesofman, #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14115

Details

Provenance
emackAuthored on Jun 24 2023, 12:33
emackPushed on Jun 24 2023, 23:46
Reviewer
Restricted Project
Differential Revision
D14115: [Cashtab] Move the opreturn config out of Ticker.js
Parents
rABCa3b2ea986c0b: [ecash-herald] Reduce test blocks
Branches
Unknown
Tags
Unknown