Page MenuHomePhabricator
Feed All Stories

Mon, Dec 30

Fabien accepted D17423: [CI] Use recursive deps in CI builds.
Mon, Dec 30, 15:39
teamcity awarded D17431: [cmake] Handle FindBoost.cmake deprecation a Haypence token.
Mon, Dec 30, 15:37
Fabien added a comment to D17431: [cmake] Handle FindBoost.cmake deprecation.

@bot guix-linux guix-osx guix-win

Mon, Dec 30, 15:37
teamcity awarded D17423: [CI] Use recursive deps in CI builds a Piece of Eight token.
Mon, Dec 30, 15:33
Fabien added a comment to D17423: [CI] Use recursive deps in CI builds.

@bot b58-ts ecash-lib ecash-agora chronik-client mock-chronik-client ecash-script ecash-coinselect ecashaddrjs

Mon, Dec 30, 15:33
Fabien requested review of D17431: [cmake] Handle FindBoost.cmake deprecation.
Mon, Dec 30, 15:32
bytesofman requested review of D17423: [CI] Use recursive deps in CI builds.
Mon, Dec 30, 14:55
Fabien added a comment to D17426: [Cashtab] Do not show wild-ass agora offers in OrderBook.
  • Finish this diff with some kind of agreed solution. I think rendering fewer bars, at least by default, is the way to go -- since these scam / phishing offers are actually quite common. We could even bump the value from say 20% or 50% to something like 500% to just get rid of these, tho that would prob just encourage these scammers to switch to 500% instead of 1000% scams.

I'm ok with this approach if it brings immediate value to the UX.
If scrolling up shows a link-like button that says "load more expensive offers" and we limit to say 5 or 10 listings by default, this will improve the UI a bit on its own. Also no need to fight with %, just create enough listings to fill the default display area.

Mon, Dec 30, 14:44
bytesofman added a comment to D17426: [Cashtab] Do not show wild-ass agora offers in OrderBook.

These are good points but imo a lot gets beyond the scope of this diff. Indeed we do have many opportunities to improve OrderBook.

Mon, Dec 30, 14:36
Fabien added a comment to D17426: [Cashtab] Do not show wild-ass agora offers in OrderBook.

No issues on a technical level, but philosophically, I feel this is overreaching on Cashtab's part. There are valid use cases where the seller is essentially setting this as a limit order, to be sold at their target price. I know scammers are leveraging this but implementing this diff means all etoken prices would only move in controlled increments, which goes against the DEX mantra. Also none of the mainstream DEXs do this either.

A better solution would be to use what cowswap or uniswap (I can't remember which one) did and simply pop up a warning if the user is buying more than 10x the current average spot price. If the user still gets tricked then that's on them and we've done our due diligence.

it's a good point, in general agora should be 100% laissez faire

the issue I have is with offers that are clearly fishing for someone making a mistake -- for example there are some XECX listings asking for 9 billion XEC for 95k XECX ... the "spot price" looks low / reasonable enough. The presence of these offers makes OrderBook less usable. They are also hugely asymmetric -- i.e. if only one person is tricked here, half the market cap of XECX just went to a scam.

How about this solution:

  • We default to rendering only the offers within 20% of spot (20% is arbitary, open to changing this. 50% is probably more reasonable and useful for products like memecoins)
  • We have a switch that allows the user to show all the offers
  • We show warnings for any buys above spot

I think it's important to screen some of the orders out just to make the component more usable, esp as we often need to load 100s (soon thousands?) of these at once. While the above-spot orders are "hidden" on the front end -- they are still functionally limit orders. If the spot price orders are consumed, then spot changes, and these more expensive orders would eventually be rendered by default. The orders themselves also still exist on the chain. Anyone could still accept them with their own front end or programmatically. Cashtab being open source, anyone could fork it to show whatever.

Mon, Dec 30, 14:27
bytesofman updated the test plan for D17423: [CI] Use recursive deps in CI builds.
Mon, Dec 30, 14:22
bytesofman added inline comments to D17423: [CI] Use recursive deps in CI builds.
Mon, Dec 30, 14:21
bytesofman added a comment to D17426: [Cashtab] Do not show wild-ass agora offers in OrderBook.

No issues on a technical level, but philosophically, I feel this is overreaching on Cashtab's part. There are valid use cases where the seller is essentially setting this as a limit order, to be sold at their target price. I know scammers are leveraging this but implementing this diff means all etoken prices would only move in controlled increments, which goes against the DEX mantra. Also none of the mainstream DEXs do this either.

A better solution would be to use what cowswap or uniswap (I can't remember which one) did and simply pop up a warning if the user is buying more than 10x the current average spot price. If the user still gets tricked then that's on them and we've done our due diligence.

Mon, Dec 30, 14:09
Fabien requested review of D17430: [cmake] Fix a typo in the bench CMakeLists.txt.
Mon, Dec 30, 14:08
Fabien closed D17428: Bump version to 0.30.8.
Mon, Dec 30, 13:57
Fabien committed rABC71df4c0bbd2d: Bump version to 0.30.8 (authored by Fabien).
Bump version to 0.30.8
Mon, Dec 30, 13:57
teamcity awarded D17429: Cleanup augusto activation and prepare for the next one a Haypence token.
Mon, Dec 30, 13:57
Fabien added a comment to D17429: Cleanup augusto activation and prepare for the next one.

@bot build-ibd

Mon, Dec 30, 13:56
Fabien requested review of D17429: Cleanup augusto activation and prepare for the next one.
Mon, Dec 30, 13:55
PiRK accepted D17428: Bump version to 0.30.8.
Mon, Dec 30, 13:46
Fabien requested review of D17428: Bump version to 0.30.8.
Mon, Dec 30, 12:52
Fabien requested changes to D17423: [CI] Use recursive deps in CI builds.

More a question than actually requesting change.
Also I think you test plan should include running the dependencies directly, and not only the callers.

Mon, Dec 30, 11:20
emack accepted D17423: [CI] Use recursive deps in CI builds.
Mon, Dec 30, 11:17
Fabien closed D17396: [chronik] Upgrade karyon_jsonrpc library to 0.2.0.
Mon, Dec 30, 11:15
Fabien committed rABC59fabf400396: [chronik] Upgrade karyon_jsonrpc library to 0.2.0 (authored by hozan23 <hozan23@karyontech.net>).
[chronik] Upgrade karyon_jsonrpc library to 0.2.0
Mon, Dec 30, 11:15
emack requested changes to D17426: [Cashtab] Do not show wild-ass agora offers in OrderBook.

No issues on a technical level, but philosophically, I feel this is overreaching on Cashtab's part. There are valid use cases where the seller is essentially setting this as a limit order, to be sold at their target price. I know scammers are leveraging this but implementing this diff means all etoken prices would only move in controlled increments, which goes against the DEX mantra. Also none of the mainstream DEXs do this either.

Mon, Dec 30, 11:13
bytesofman closed D17424: [Cashtab] Remove unintentional semicolon.
Mon, Dec 30, 10:24
bytesofman committed rABC2e9803d482c9: [Cashtab] Remove unintentional semicolon (authored by bytesofman).
[Cashtab] Remove unintentional semicolon
Mon, Dec 30, 10:24
PiRK accepted D17424: [Cashtab] Remove unintentional semicolon.
Mon, Dec 30, 07:36
PiRK accepted D17396: [chronik] Upgrade karyon_jsonrpc library to 0.2.0.
Mon, Dec 30, 07:28
bytesofman published D17426: [Cashtab] Do not show wild-ass agora offers in OrderBook for review.
Mon, Dec 30, 06:23
bytesofman closed D17425: [e.cash] Remove abcpay from wallets list.
Mon, Dec 30, 04:49
bytesofman committed rABCd30572237f91: [e.cash] Remove abcpay from wallets list (authored by bytesofman).
[e.cash] Remove abcpay from wallets list
Mon, Dec 30, 04:49
Mengerian accepted D17425: [e.cash] Remove abcpay from wallets list.
Mon, Dec 30, 04:44
bytesofman published D17425: [e.cash] Remove abcpay from wallets list for review.
Mon, Dec 30, 03:33
bytesofman published D17424: [Cashtab] Remove unintentional semicolon for review.
Mon, Dec 30, 02:15
bytesofman published D17423: [CI] Use recursive deps in CI builds for review.
Mon, Dec 30, 00:48
teamcity awarded D17423: [CI] Use recursive deps in CI builds a Haypence token.
Mon, Dec 30, 00:20

Sun, Dec 29

teamcity closed T3714: Build Bitcoin-ABC / Master / Native tests / Test Native OSX is broken. as Resolved.
Sun, Dec 29, 22:21
teamcity triaged T3714: Build Bitcoin-ABC / Master / Native tests / Test Native OSX is broken. as Unbreak Now! priority.
Sun, Dec 29, 22:11
abc-bot committed rABC5217ff73eff7: [Automated] Update chainparams (authored by abc-bot).
[Automated] Update chainparams
Sun, Dec 29, 22:10
abc-bot committed rABC80976c1edcb3: [Automated] Update seeds (authored by abc-bot).
[Automated] Update seeds
Sun, Dec 29, 22:06
abc-bot committed rABC039a095251e8: [Automated] Update timing.json (authored by abc-bot).
[Automated] Update timing.json
Sun, Dec 29, 21:38
bytesofman closed D17420: [Cashtab] Use locale formatted numbers for agora offer previews.
Sun, Dec 29, 19:28
bytesofman committed rABC6b6b7f47b6fb: [Cashtab] Use locale formatted numbers for agora offer previews (authored by bytesofman).
[Cashtab] Use locale formatted numbers for agora offer previews
Sun, Dec 29, 19:28
bytesofman closed D17419: [Cashtab] Sort OrderBook by price and then min buy amounts.
Sun, Dec 29, 19:27
bytesofman committed rABCbf75fc6957c4: [Cashtab] Sort OrderBook by price and then min buy amounts (authored by bytesofman).
[Cashtab] Sort OrderBook by price and then min buy amounts
Sun, Dec 29, 19:27
Fabien accepted D17420: [Cashtab] Use locale formatted numbers for agora offer previews.
Sun, Dec 29, 19:24
Fabien accepted D17419: [Cashtab] Sort OrderBook by price and then min buy amounts.
Sun, Dec 29, 19:23
bytesofman closed D17421: [e.cash] Add ecashstaking.com to staking links.
Sun, Dec 29, 18:46
bytesofman committed rABC404c3b7e29c7: [e.cash] Add ecashstaking.com to staking links (authored by bytesofman).
[e.cash] Add ecashstaking.com to staking links
Sun, Dec 29, 18:46
Klakurka accepted D17421: [e.cash] Add ecashstaking.com to staking links.
Sun, Dec 29, 18:09
bytesofman published D17421: [e.cash] Add ecashstaking.com to staking links for review.
Sun, Dec 29, 18:07
bytesofman published D17420: [Cashtab] Use locale formatted numbers for agora offer previews for review.
Sun, Dec 29, 18:04
bytesofman published D17419: [Cashtab] Sort OrderBook by price and then min buy amounts for review.
Sun, Dec 29, 16:00
bytesofman closed D17418: [e.cash] Show TG link as CTA.
Sun, Dec 29, 15:20
bytesofman committed rABCada91dbe1be3: [e.cash] Show TG link as CTA (authored by bytesofman).
[e.cash] Show TG link as CTA
Sun, Dec 29, 15:20
bytesofman closed D17417: [e.cash] Add xecx link to further reading section of staking page.
Sun, Dec 29, 15:19
bytesofman committed rABC953aa987b29e: [e.cash] Add xecx link to further reading section of staking page (authored by bytesofman).
[e.cash] Add xecx link to further reading section of staking page
Sun, Dec 29, 15:19
bytesofman closed D17398: [CI] Improve handling of JS dependencies in build-configurations CI.
Sun, Dec 29, 15:19
bytesofman committed rABC93b61bf2c034: [CI] Improve handling of JS dependencies in build-configurations CI (authored by bytesofman).
[CI] Improve handling of JS dependencies in build-configurations CI
Sun, Dec 29, 15:18
Fabien accepted D17418: [e.cash] Show TG link as CTA.
Sun, Dec 29, 14:11
Fabien accepted D17417: [e.cash] Add xecx link to further reading section of staking page.
Sun, Dec 29, 14:10
Fabien accepted D17398: [CI] Improve handling of JS dependencies in build-configurations CI.
Sun, Dec 29, 14:09
bytesofman published D17418: [e.cash] Show TG link as CTA for review.
Sun, Dec 29, 12:23
bytesofman published D17417: [e.cash] Add xecx link to further reading section of staking page for review.
Sun, Dec 29, 12:01
bytesofman closed D17414: [e.cash] Add XECX to use ecash page.
Sun, Dec 29, 11:54
bytesofman committed rABC569e17ff35c5: [e.cash] Add XECX to use ecash page (authored by bytesofman).
[e.cash] Add XECX to use ecash page
Sun, Dec 29, 11:54
bytesofman updated the diff for D17398: [CI] Improve handling of JS dependencies in build-configurations CI.

remove echo statements, remove comments describing build steps of deps, add ordering matters comments on first depends key

Sun, Dec 29, 11:47
bytesofman closed D17402: [Cashtab] Allow user to sort Agora offers by offer count.
Sun, Dec 29, 11:42
bytesofman committed rABCc32791f6ad4a: [Cashtab] Allow user to sort Agora offers by offer count (authored by bytesofman).
[Cashtab] Allow user to sort Agora offers by offer count
Sun, Dec 29, 11:42
bytesofman closed D17416: [Cashtab] No more utils folder.
Sun, Dec 29, 11:34
bytesofman committed rABCe254327b5b79: [Cashtab] No more utils folder (authored by bytesofman).
[Cashtab] No more utils folder
Sun, Dec 29, 11:34
bytesofman closed D17407: [Cashtab + doc] Parse XECX rewards.
Sun, Dec 29, 11:30
bytesofman committed rABCaac6a42e9df3: [Cashtab + doc] Parse XECX rewards (authored by bytesofman).
[Cashtab + doc] Parse XECX rewards
Sun, Dec 29, 11:30
Fabien requested changes to D17398: [CI] Improve handling of JS dependencies in build-configurations CI.

A sum of nits but this looks good otherwise

Sun, Dec 29, 09:11
Fabien added a comment to D17398: [CI] Improve handling of JS dependencies in build-configurations CI.
  • Do not npm ci && npm run build if node_modules and dist dirs exist for any given lib
Sun, Dec 29, 09:06
Fabien added a comment to D17398: [CI] Improve handling of JS dependencies in build-configurations CI.

looks like a timeout failure, which we seem to seen somewhat often when we ask the bot to do a bunch of builds at once. imo unrelated to this diff.

Sun, Dec 29, 09:04
Fabien accepted D17407: [Cashtab + doc] Parse XECX rewards.
Sun, Dec 29, 08:59
Fabien accepted D17414: [e.cash] Add XECX to use ecash page.
Sun, Dec 29, 08:51
emack accepted D17416: [Cashtab] No more utils folder.
Sun, Dec 29, 07:42
emack accepted D17402: [Cashtab] Allow user to sort Agora offers by offer count.
Sun, Dec 29, 07:38
bytesofman requested review of D17402: [Cashtab] Allow user to sort Agora offers by offer count.

Also the first toggle's functionality being different to the bottom 2 should be more obvious, like using Tabs for Buy/Manage and toggles for sorting. Or simply a dropdown for sorting so you don't end up with 5 toggles for 5 sorting options.

image.png (251×561 px, 14 KB)

Sun, Dec 29, 00:18
bytesofman published D17416: [Cashtab] No more utils folder for review.

first diff was to handle BCHA decimals going from 8 to 2: D9280

Sun, Dec 29, 00:14
emack added inline comments to D17414: [e.cash] Add XECX to use ecash page.
Sun, Dec 29, 00:08
emack added a comment to D17402: [Cashtab] Allow user to sort Agora offers by offer count.

Also the first toggle's functionality being different to the bottom 2 should be more obvious, like using Tabs for Buy/Manage and toggles for sorting. Or simply a dropdown for sorting so you don't end up with 5 toggles for 5 sorting options.

image.png (251×561 px, 14 KB)

Sun, Dec 29, 00:04
emack requested changes to D17402: [Cashtab] Allow user to sort Agora offers by offer count.
Sun, Dec 29, 00:01

Sat, Dec 28

bytesofman closed D17394: [Cashtab] Convert Etokens screen to ts.
Sat, Dec 28, 23:47
bytesofman committed rABCe2784416ff59: [Cashtab] Convert Etokens screen to ts (authored by bytesofman).
[Cashtab] Convert Etokens screen to ts
Sat, Dec 28, 23:47
bytesofman updated the diff for D17407: [Cashtab + doc] Parse XECX rewards.

add detailed spec, use consume to parse empp push

Sat, Dec 28, 23:46
bytesofman added inline comments to D17407: [Cashtab + doc] Parse XECX rewards.
Sat, Dec 28, 23:45
emack accepted D17394: [Cashtab] Convert Etokens screen to ts.
Sat, Dec 28, 23:26
teamcity awarded D17398: [CI] Improve handling of JS dependencies in build-configurations CI a Like token.
Sat, Dec 28, 22:38
bytesofman added a comment to D17398: [CI] Improve handling of JS dependencies in build-configurations CI.

@bot b58-ts-tests

Sat, Dec 28, 22:38
bytesofman added a comment to D17398: [CI] Improve handling of JS dependencies in build-configurations CI.

Tail of the build log:

Build 'Bitcoin ABC Diffs / Diff Testing' #N/A, branch 'refs/tags/phabricator/diff/51800'
Triggered 2024-12-28 22:26:38 by 'Phabricator Staging (phabricator-staging)'
Started 2024-12-28 22:26:46 on agent 'N/A'
Finished 2024-12-28 22:26:46 with status FAILURE 'Snapshot dependency failed to start: Automated Deployments / Bitcoin ABC Infra / Bitcoin-ABC Infra Checkout'
VCS revisions: 'BitcoinABC_BitcoinAbcStaging' (Git, instance id 22): '5a42bd49eab8e8cfcc42f3a751c1dc0c4052edd4' (branch: 'refs/tags/phabricator/diff/51800', checkout rules: '+:. => ./bitcoin-abc')
TeamCity URL https://build.bitcoinabc.org/buildConfiguration/BitcoinABC_BitcoinAbcStaging/876336 
TeamCity server version is 2024.12 (build 174331), server timezone: GMT (UTC)

[22:26:38]W: bt15 (7s)
[22:26:38]i: TeamCity server version is 2024.12 (build 174331)
[22:26:38] : Finalize build settings
[22:26:38] : Collecting changes in 2 VCS roots
[22:26:38] :	 [Collecting changes in 2 VCS roots] VCS Root details
[22:26:38] :		 [VCS Root details] "Bitcoin ABC Staging" {instance id=22, parent internal id=3, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"}
[22:26:38] :		 [VCS Root details] "abc-infrastructure" {instance id=24, parent internal id=7, parent id=AutomatedDeployments_BitcoinAbcDeveloperTools_AbcInfrastructure, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/infrastructure.git#refs/heads/master"}
[22:26:38]i: Loading current repository state for VCS root 'Bitcoin ABC Staging' (7s)
[22:26:38]i:	 [Loading current repository state for VCS root 'Bitcoin ABC Staging'] Loading current repository state for VCS root 'abc-infrastructure' (7s)
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper1165154239972118338.sh ls-remote origin
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': git -c credential.helper= -c credential.helper=/opt/teamcity/temp/credHelper1616784882368232137.sh ls-remote origin
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': kex_exchange_identification: Connection closed by remote host
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': Connection closed by 51.161.87.173 port 2221
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': fatal: Could not read from remote repository.
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': 
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': Please make sure you have the correct access rights
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'abc-infrastructure': and the repository exists.
[22:26:38]i:		 [Loading current repository state for VCS root 'abc-infrastructure'] VCS root 'Bitcoin ABC Staging': Warning: Permanently added '[reviews.bitcoinabc.org]:2221' (ED25519) to the list of known hosts.
[22:26:39]i: Waiting for completion of current operations for the VCS root 'Bitcoin ABC Staging'
[22:26:46]i: Detecting changes in VCS root 'Bitcoin ABC Staging' (used in 'Diff Testing', 'Staging Checkout Dummy')
[22:26:46]i: Will collect changes for 'Bitcoin ABC Staging' starting from revision ee625b89b9cabf2aa0a6fa91879da9ba018c8509
[22:26:46] : Compute revision for 'Bitcoin ABC Staging'
[22:26:46] :	 [Compute revision for 'Bitcoin ABC Staging'] Upper limit revision: 5a42bd49eab8e8cfcc42f3a751c1dc0c4052edd4
[22:26:46]i:	 [Compute revision for 'Bitcoin ABC Staging'] MaxModId = 77033
[22:26:46] :	 [Compute revision for 'Bitcoin ABC Staging'] Computed revision: 5a42bd49eab8e8cfcc42f3a751c1dc0c4052edd4
[22:26:46]W: Build was removed from the queue with comment: This build has not been started because some of the builds it depends on failed to start
Sat, Dec 28, 22:38
bytesofman added a comment to D17398: [CI] Improve handling of JS dependencies in build-configurations CI.

while this approach does now support dependencies of dependencies, I do not think we want to update the "depends" just yet in the JS app test plans. imo easier to review if we do that one test plan at a time. We might also want to modify the script(s) a bit so that they do not npm ci and npm run build if this has already been done; for example some JS apps depend on ecashaddrjs, mock-chronik-client, and ecash-lib .... well, ecash-lib depends on ecashaddrjs, so we don't want to build it twice.

Sat, Dec 28, 22:37
teamcity added a comment to D17398: [CI] Improve handling of JS dependencies in build-configurations CI.
Sat, Dec 28, 22:26
teamcity awarded D17398: [CI] Improve handling of JS dependencies in build-configurations CI a Love token.
Sat, Dec 28, 22:26
bytesofman added a comment to D17398: [CI] Improve handling of JS dependencies in build-configurations CI.

@bot ecash-herald-tests token-server-tests mock-chronik-client-tests b58-ts-tests chronik-client-tests ecash-lib-tests ecash-agora-tests ecashaddrjs-tests ecash-script-tests ecash-coinselect-tests ecash-agora-integration-tests ecash-lib-integration-tests chronik-client-integration-tests

Sat, Dec 28, 22:26
bytesofman updated the diff for D17398: [CI] Improve handling of JS dependencies in build-configurations CI.

lint

Sat, Dec 28, 22:26