diff --git a/apps/mempool/docker-compose.yml b/apps/mempool/docker-compose.yml index 6cea5a8..c648d22 100644 --- a/apps/mempool/docker-compose.yml +++ b/apps/mempool/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.7" services: web: - image: mempool/frontend:v2.2.2@sha256:515b9a3ab3cc593fe599393b316d4d016335801fbba02ef8c6bb38082597f7cc + image: mempool/frontend:v2.3.0@sha256:39f9d92571390de500215a65ba9a20d2344e4ccfa4230de7cfb1bac558e50807 user: "1000:1000" init: true restart: on-failure @@ -17,7 +17,7 @@ services: default: ipv4_address: $APP_MEMPOOL_IP api: - image: mempool/backend:v2.2.2@sha256:c758345017587dd9e42047528cf6cd71ceae70cebd1a09ce875959259612a2ee + image: mempool/backend:v2.3.0@sha256:6b7f3e6cf402917d1442d9ecbac34a50f42aed0ac7bb75e93457e966f05c250d user: "1000:1000" init: true restart: on-failure @@ -26,20 +26,20 @@ services: volumes: - ${APP_DATA_DIR}/data:/backend/cache environment: - RPC_HOST: $BITCOIN_IP - RPC_PORT: $BITCOIN_RPC_PORT - RPC_USER: $BITCOIN_RPC_USER - RPC_PASS: $BITCOIN_RPC_PASS + CORE_RPC_HOST: $BITCOIN_IP + CORE_RPC_PORT: $BITCOIN_RPC_PORT + CORE_RPC_USERNAME: $BITCOIN_RPC_USER + CORE_RPC_PASSWORD: $BITCOIN_RPC_PASS ELECTRUM_HOST: $ELECTRUM_IP ELECTRUM_PORT: $ELECTRUM_PORT ELECTRUM_TLS: "false" - MYSQL_HOST: $APP_MEMPOOL_DB_IP - MYSQL_PORT: "3306" - MYSQL_DATABASE: "mempool" - MYSQL_USER: "mempool" - MYSQL_PASS: "mempool" - BACKEND_MAINNET_HTTP_PORT: "8999" - CACHE_DIR: "/backend/cache" + DATABASE_HOST: $APP_MEMPOOL_DB_IP + DATABASE_PORT: "3306" + DATABASE_DATABASE: "mempool" + DATABASE_USERNAME: "mempool" + DATABASE_PASSWORD: "mempool" + MEMPOOL_HTTP_PORT: "8999" + MEMPOOL_CACHE_DIR: "/backend/cache" MEMPOOL_CLEAR_PROTECTION_MINUTES: "20" networks: default: @@ -51,7 +51,6 @@ services: stop_grace_period: 1m volumes: - ${APP_DATA_DIR}/mysql/data:/var/lib/mysql - - ${APP_DATA_DIR}/mysql/db-scripts:/docker-entrypoint-initdb.d environment: MYSQL_DATABASE: "mempool" MYSQL_USER: "mempool" diff --git a/apps/mempool/mysql/db-scripts/mariadb-structure.sql b/apps/mempool/mysql/db-scripts/mariadb-structure.sql deleted file mode 100644 index 4d567ed..0000000 --- a/apps/mempool/mysql/db-scripts/mariadb-structure.sql +++ /dev/null @@ -1,86 +0,0 @@ -SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; -SET time_zone = "+00:00"; - -CREATE TABLE `blocks` ( - `height` int(11) NOT NULL, - `hash` varchar(65) NOT NULL, - `size` int(11) NOT NULL, - `weight` int(11) NOT NULL, - `minFee` int(11) NOT NULL, - `maxFee` int(11) NOT NULL, - `time` int(11) NOT NULL, - `fees` double NOT NULL, - `nTx` int(11) NOT NULL, - `medianFee` double NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -CREATE TABLE `statistics` ( - `id` int(11) NOT NULL, - `added` datetime NOT NULL, - `unconfirmed_transactions` int(11) UNSIGNED NOT NULL, - `tx_per_second` float UNSIGNED NOT NULL, - `vbytes_per_second` int(10) UNSIGNED NOT NULL, - `mempool_byte_weight` int(10) UNSIGNED NOT NULL, - `fee_data` longtext NOT NULL, - `total_fee` double UNSIGNED NOT NULL, - `vsize_1` int(11) NOT NULL, - `vsize_2` int(11) NOT NULL, - `vsize_3` int(11) NOT NULL, - `vsize_4` int(11) NOT NULL, - `vsize_5` int(11) NOT NULL, - `vsize_6` int(11) NOT NULL, - `vsize_8` int(11) NOT NULL, - `vsize_10` int(11) NOT NULL, - `vsize_12` int(11) NOT NULL, - `vsize_15` int(11) NOT NULL, - `vsize_20` int(11) NOT NULL, - `vsize_30` int(11) NOT NULL, - `vsize_40` int(11) NOT NULL, - `vsize_50` int(11) NOT NULL, - `vsize_60` int(11) NOT NULL, - `vsize_70` int(11) NOT NULL, - `vsize_80` int(11) NOT NULL, - `vsize_90` int(11) NOT NULL, - `vsize_100` int(11) NOT NULL, - `vsize_125` int(11) NOT NULL, - `vsize_150` int(11) NOT NULL, - `vsize_175` int(11) NOT NULL, - `vsize_200` int(11) NOT NULL, - `vsize_250` int(11) NOT NULL, - `vsize_300` int(11) NOT NULL, - `vsize_350` int(11) NOT NULL, - `vsize_400` int(11) NOT NULL, - `vsize_500` int(11) NOT NULL, - `vsize_600` int(11) NOT NULL, - `vsize_700` int(11) NOT NULL, - `vsize_800` int(11) NOT NULL, - `vsize_900` int(11) NOT NULL, - `vsize_1000` int(11) NOT NULL, - `vsize_1200` int(11) NOT NULL, - `vsize_1400` int(11) NOT NULL, - `vsize_1600` int(11) NOT NULL, - `vsize_1800` int(11) NOT NULL, - `vsize_2000` int(11) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -CREATE TABLE `transactions` ( - `blockheight` int(11) NOT NULL, - `txid` varchar(65) NOT NULL, - `fee` double NOT NULL, - `feePerVsize` double NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - - -ALTER TABLE `blocks` - ADD PRIMARY KEY (`height`); - -ALTER TABLE `statistics` - ADD PRIMARY KEY (`id`); - -ALTER TABLE `transactions` - ADD PRIMARY KEY (`txid`), - ADD KEY `blockheight` (`blockheight`); - - -ALTER TABLE `statistics` - MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; diff --git a/apps/registry.json b/apps/registry.json index ac86878..e7a35b8 100644 --- a/apps/registry.json +++ b/apps/registry.json @@ -260,7 +260,7 @@ "id": "mempool", "category": "Explorers", "name": "Mempool", - "version": "2.2.2", + "version": "2.3.0", "tagline": "A mempool visualizer, explorer and fee estimator", "description": "Mempool is the official self-hosted version of the fully featured explorer, visualizer, fee estimator, and API service running on mempool.space, an open source project developed and operated for the benefit of the Bitcoin community, with a focus on the emerging transaction fee market to help our transition into a multi-layer ecosystem.\n\nFeatures:\n\n- Live dashboard visualizing the mempool and blockchain\n- Live transaction tracking\n- Search any transaction, block or address\n- Fee estimations\n- Mempool historical data\n- TV View for larger displays as a TV in a cafe or bar\n- View transaction scripts and op_return messages\n- Audio notifications on transaction confirmed and address balance change\n- Multiple languages support\n- JSON APIs", "developer": "mempool.space",