Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ecx-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
build-args: commitHash=${{ env.SHORT_SHA }}
tags: |
ghcr.io/${{ github.repository_owner }}/mempool-frontend:sha-${{ env.SHORT_SHA }}
ghcr.io/${{ github.repository_owner }}/mempool-frontend:alphanet
ghcr.io/${{ github.repository_owner }}/mempool-frontend:betanet
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# mempool-ecx

A fork of [mempool/mempool](https://github.com/mempool/mempool), the block
explorer for the eCash alphanet. See the upstream repo for general
explorer for the eCash betanet. See the upstream repo for general
documentation and installation instructions.

The `ecx` branch is a rebasable patch series on top of an upstream release
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/app/app.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const languages: Language[] = [
{ code: 'zh', name: '中文' }, // Chinese
];

export const ALPHANET_FORK_HEIGHT = 963648;
export const BETANET_FORK_HEIGHT = 967680;

export const specialBlocks = {
'0': {
Expand Down Expand Up @@ -222,9 +222,9 @@ export const specialBlocks = {
labelEventCompleted: 'Block Subsidy has halved to 3.125 BTC per block',
networks: ['mainnet', 'testnet', 'testnet4'],
},
[ALPHANET_FORK_HEIGHT]: {
labelEvent: 'eCash alphanet fork',
labelEventCompleted: 'eCash alphanet forked from Bitcoin here',
[BETANET_FORK_HEIGHT]: {
labelEvent: 'eCash betanet fork',
labelEventCompleted: 'eCash betanet forked from Bitcoin here',
networks: ['mainnet'],
},
'1050000': {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/components/block/block.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1>

<button *ngIf="isPreFork(blockHeight)" type="button" class="btn btn-sm btn-secondary container-button"
i18n-ngbTooltip="block.pre-fork-tooltip"
ngbTooltip="Inherited Bitcoin history mined before the eCash fork at block 963,648."
ngbTooltip="Inherited Bitcoin history mined before the eCash fork at block 967,680."
placement="bottom" i18n="block.pre-fork|Pre-fork block">Pre-fork</button>

<button *ngIf="block?.stale" type="button" class="btn btn-sm btn-danger container-button" i18n="block.stale|Stale block state">Stale</button>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/components/block/block.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { CacheService } from '@app/services/cache.service';
import { ServicesApiServices } from '@app/services/services-api.service';
import { PreloadService } from '@app/services/preload.service';
import { identifyPrioritizedTransactions } from '@app/shared/transaction.utils';
import { specialBlocks, ALPHANET_FORK_HEIGHT } from '@app/app.constants';
import { specialBlocks, BETANET_FORK_HEIGHT } from '@app/app.constants';

interface ComparisonStats {
totalFees: number;
Expand Down Expand Up @@ -957,7 +957,7 @@ export class BlockComponent implements OnInit, OnDestroy {

// Pre-fork amounts deliberately keep the ECX unit; this badge carries the context.
isPreFork(height: number): boolean {
return height != null && height < ALPHANET_FORK_HEIGHT;
return height != null && height < BETANET_FORK_HEIGHT;
}

toggleAuditMode(): void {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/docs/api-docs/api-docs.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div id="disclaimer">
<table *ngIf="!mobileViewport"><tr><td><app-svg-images name="warning" class="disclaimer-warning" viewBox="0 0 304 304" fill="#ffc107" width="50" height="50"></app-svg-images></td><td> <ng-container *ngTemplateOutlet="faqDisclaimer"></ng-container></td></tr></table>
<div *ngIf="mobileViewport"><app-svg-images name="warning" class="disclaimer-warning" viewBox="0 0 304 304" fill="#ffc107" width="50" height="50"></app-svg-images><ng-container *ngTemplateOutlet="faqDisclaimer"></ng-container></div>
<ng-template #faqDisclaimer i18n="faq.big-disclaimer"><p><b>This explorer merely provides data about the eCash alphanet.</b> It cannot help you with retrieving funds, wallet issues, etc.</p><p>For any such requests, you need to get in touch with the entity that helped make the transaction (wallet software, exchange company, etc).</p></ng-template>
<ng-template #faqDisclaimer i18n="faq.big-disclaimer"><p><b>This explorer merely provides data about the eCash betanet.</b> It cannot help you with retrieving funds, wallet issues, etc.</p><p>For any such requests, you need to get in touch with the entity that helped make the transaction (wallet software, exchange company, etc).</p></ng-template>
</div>

<div class="doc-item-container" *ngFor="let item of faq">
Expand Down Expand Up @@ -489,7 +489,7 @@ <h3 *ngIf="( item.type === 'category' ) && ( item.showConditions.indexOf(network
</ng-template>

<ng-template type="who-runs-this-website">
This explorer is operated by L2L Labs for the eCash alphanet. It runs a fork of The Mempool Open Source Project, which is not affiliated with it and does not endorse it.
This explorer is operated by L2L Labs for the eCash betanet. It runs a fork of The Mempool Open Source Project, which is not affiliated with it and does not endorse it.
</ng-template>

<ng-template type="host-my-own-instance-raspberry-pi">
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/app/services/seo.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { StateService } from '@app/services/state.service';
})
export class SeoService {
network = '';
baseTitle = 'eCash Alphanet Explorer';
baseDescription = 'Blocks, transactions, mempool and mining pools for the eCash alphanet.';
baseDomain = 'explorer.alpha.ecash.ninja';
baseTitle = 'eCash Betanet Explorer';
baseDescription = 'Blocks, transactions, mempool and mining pools for the eCash betanet.';
baseDomain = 'explorer.beta.ecash.ninja';

canonicalLink: HTMLLinkElement = document.getElementById('canonical') as HTMLLinkElement;

Expand Down
24 changes: 12 additions & 12 deletions frontend/src/index.mempool.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!-- LOAD BEARING COMMENTS - DO NOT TOUCH! -->
<!-- TITLE -->
<title>eCash Alphanet Explorer</title>
<title>eCash Betanet Explorer</title>
<!-- END TITLE -->

<!-- CONFIG -->
Expand All @@ -19,21 +19,21 @@

<!-- META -->
<!-- Unfurlers execute no JavaScript, so these tags must be compiled in. -->
<meta name="description" content="Blocks, transactions, mempool and mining pools for the eCash alphanet — a Bitcoin fork at block 963,648." />
<meta property="og:title" content="eCash Alphanet Explorer" />
<meta property="og:site_name" content="eCash Alphanet Explorer" />
<meta property="og:url" content="https://explorer.alpha.ecash.ninja/" />
<meta property="og:image" content="https://explorer.alpha.ecash.ninja/resources/branding/ecash-alphanet-preview.png" />
<meta name="description" content="Blocks, transactions, mempool and mining pools for the eCash betanet — a Bitcoin fork at block 967,680." />
<meta property="og:title" content="eCash Betanet Explorer" />
<meta property="og:site_name" content="eCash Betanet Explorer" />
<meta property="og:url" content="https://explorer.beta.ecash.ninja/" />
<meta property="og:image" content="https://explorer.beta.ecash.ninja/resources/branding/ecash-betanet-preview.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:description" content="Blocks, transactions, mempool and mining pools for the eCash alphanet — a Bitcoin fork at block 963,648." />
<meta property="og:description" content="Blocks, transactions, mempool and mining pools for the eCash betanet — a Bitcoin fork at block 967,680." />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@eCashCom">
<meta name="twitter:title" content="eCash Alphanet Explorer">
<meta name="twitter:description" content="Blocks, transactions, mempool and mining pools for the eCash alphanet — a Bitcoin fork at block 963,648." />
<meta name="twitter:image" content="https://explorer.alpha.ecash.ninja/resources/branding/ecash-alphanet-preview.png" />
<meta name="twitter:domain" content="explorer.alpha.ecash.ninja">
<meta name="twitter:title" content="eCash Betanet Explorer">
<meta name="twitter:description" content="Blocks, transactions, mempool and mining pools for the eCash betanet — a Bitcoin fork at block 967,680." />
<meta name="twitter:image" content="https://explorer.beta.ecash.ninja/resources/branding/ecash-betanet-preview.png" />
<meta name="twitter:domain" content="explorer.beta.ecash.ninja">
<!-- END META -->

<!-- FAVICONS -->
Expand All @@ -43,7 +43,7 @@
<link rel="manifest" href="/resources/favicons/site.webmanifest">
<link rel="shortcut icon" href="/resources/favicons/favicon.ico">
<!-- SeoService rewrites this per route at runtime. -->
<link id="canonical" rel="canonical" href="https://explorer.alpha.ecash.ninja">
<link id="canonical" rel="canonical" href="https://explorer.beta.ecash.ninja">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="msapplication-TileColor" content="#000000">
Expand Down
Loading