From 71402f21c602c485c5dd8d28b91a13ce485676ff Mon Sep 17 00:00:00 2001 From: Antoni Spaanderman <56turtle56@gmail.com> Date: Tue, 8 Mar 2022 19:59:18 +0100 Subject: [PATCH] revert "add network regtest" 1f0ae60 --- backend/src/config.ts | 2 +- frontend/mempool-frontend-config.sample.json | 1 - frontend/src/app/app-routing.module.ts | 78 ------------------- .../components/amount/amount.component.html | 3 +- .../bisq-master-page.component.html | 3 +- .../bisq-master-page.component.scss | 4 - .../blockchain-blocks.component.ts | 1 - .../liquid-master-page.component.html | 3 +- .../liquid-master-page.component.scss | 4 - .../master-page/master-page.component.html | 3 +- .../master-page/master-page.component.scss | 4 - frontend/src/app/services/seo.service.ts | 2 - frontend/src/app/services/state.service.ts | 10 +-- frontend/src/resources/regtest-logo.png | 1 - frontend/src/styles.scss | 8 -- 15 files changed, 6 insertions(+), 121 deletions(-) delete mode 120000 frontend/src/resources/regtest-logo.png diff --git a/backend/src/config.ts b/backend/src/config.ts index fbadd8e7f..97c3bb32a 100644 --- a/backend/src/config.ts +++ b/backend/src/config.ts @@ -2,7 +2,7 @@ const configFile = require('../mempool-config.json'); interface IConfig { MEMPOOL: { - NETWORK: 'mainnet' | 'testnet' | 'signet' | 'regtest' | 'liquid' | 'liquidtestnet'; + NETWORK: 'mainnet' | 'testnet' | 'signet' | 'liquid' | 'liquidtestnet'; BACKEND: 'esplora' | 'electrum' | 'none'; HTTP_PORT: number; SPAWN_CLUSTER_PROCS: number; diff --git a/frontend/mempool-frontend-config.sample.json b/frontend/mempool-frontend-config.sample.json index aabf5b016..231f1c7c8 100644 --- a/frontend/mempool-frontend-config.sample.json +++ b/frontend/mempool-frontend-config.sample.json @@ -1,7 +1,6 @@ { "TESTNET_ENABLED": false, "SIGNET_ENABLED": false, - "REGTEST_ENABLED": false, "LIQUID_ENABLED": false, "LIQUID_TESTNET_ENABLED": false, "BISQ_ENABLED": false, diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index 352a4fbe0..19285fc8f 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -363,84 +363,6 @@ let routes: Routes = [ }, ] }, - { - path: 'regtest', - children: [ - { - path: '', - component: MasterPageComponent, - children: [ - { - path: 'tx/push', - component: PushTransactionComponent, - }, - { - path: '', - component: StartComponent, - children: [ - { - path: '', - component: DashboardComponent - }, - { - path: 'tx/:id', - component: TransactionComponent - }, - { - path: 'block/:id', - component: BlockComponent - }, - { - path: 'mempool-block/:id', - component: MempoolBlockComponent - }, - ], - }, - { - path: 'blocks', - component: LatestBlocksComponent, - }, - { - path: 'graphs', - component: StatisticsComponent, - }, - { - path: 'address/:id', - children: [], - component: AddressComponent - }, - { - path: 'docs/api/:type', - component: DocsComponent - }, - { - path: 'docs/api', - redirectTo: 'docs/api/rest' - }, - { - path: 'docs', - redirectTo: 'docs/api/rest' - }, - { - path: 'api', - redirectTo: 'docs/api/rest' - }, - ], - }, - { - path: 'tv', - component: TelevisionComponent - }, - { - path: 'status', - component: StatusViewComponent - }, - { - path: '**', - redirectTo: '' - }, - ] - }, { path: 'tv', component: TelevisionComponent, diff --git a/frontend/src/app/components/amount/amount.component.html b/frontend/src/app/components/amount/amount.component.html index a3e9ea453..07f669a81 100644 --- a/frontend/src/app/components/amount/amount.component.html +++ b/frontend/src/app/components/amount/amount.component.html @@ -10,7 +10,6 @@ L- tL- t - s - rBTC + sBTC diff --git a/frontend/src/app/components/bisq-master-page/bisq-master-page.component.html b/frontend/src/app/components/bisq-master-page/bisq-master-page.component.html index b063ec42a..cacd38f39 100644 --- a/frontend/src/app/components/bisq-master-page/bisq-master-page.component.html +++ b/frontend/src/app/components/bisq-master-page/bisq-master-page.component.html @@ -10,7 +10,7 @@ -