From 4e1bde28cb44c09d6a63c75c5aa7b6f70826d0c2 Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Thu, 22 Oct 2026 16:17:39 +0200 Subject: [PATCH] Own identity and versioning: plm-electrumx 1.0.0 Package name plm-electrumx, project URLs, keywords and description for Palladium. BRANDING and the version string seen by clients (server.version, banner, logs) become plm-electrumx 1.0.0. SECURITY.md points to this repository's private vulnerability reporting. Co-Authored-By: Claude Sonnet 5.5 --- .gitignore | 2 ++ CLAUDE.md | 2 +- SECURITY.md | 9 ++++++++- docs/conf.py | 4 ++-- pyproject.toml | 10 +++++----- src/electrumx/__init__.py | 6 +++--- 6 files changed, 21 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 4d017aa..eed093f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ .coverage /htmlcov/ +/src/plm_electrumx.egg-info/ +/plm_electrumx.egg-info/ diff --git a/CLAUDE.md b/CLAUDE.md index f73be9b..635a1dc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project -`plm-electrumx`: a fork of ElectrumX 2.0.x (package name `e-x`, import name `electrumx`), an Electrum-protocol server (asyncio) that indexes a coin daemon into a local DB (LevelDB or RocksDB), supporting **Palladium (PLM) only**. All other coins and their code were removed (see the "Fork notes" in `README.md` for the upstream base commit and how to merge upstream). Keep changes to core files small so upstream merges stay easy. MIT license: keep `LICENCE`. +`plm-electrumx`: a fork of ElectrumX 2.0.0 with its own versioning (package name `plm-electrumx`, version in `src/electrumx/__init__.py` and `docs/conf.py`, import name `electrumx`), an Electrum-protocol server (asyncio) that indexes a coin daemon into a local DB (LevelDB or RocksDB), supporting **Palladium (PLM) only**. All other coins and their code were removed (see the "Fork notes" in `README.md` for the upstream base commit and how to merge upstream). Keep changes to core files small so upstream merges stay easy. MIT license: keep `LICENCE`. ## Commands diff --git a/SECURITY.md b/SECURITY.md index bfe9081..a56d213 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,3 +1,10 @@ # Security Policy -See https://github.com/spesmilo/electrum/blob/master/SECURITY.md +Please do not report security issues in public issues or pull requests. + +Report them privately to the maintainers of this repository, using GitHub's private vulnerability reporting +(the "Report a vulnerability" button in the Security tab of +https://github.com/palladium-coin/plm-electrumx). + +For problems in the upstream ElectrumX code that are not specific to this fork, see also +https://github.com/spesmilo/electrum/blob/master/SECURITY.md diff --git a/docs/conf.py b/docs/conf.py index 2b4e070..33f6936 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,11 +15,11 @@ import os import sys sys.path.insert(0, os.path.abspath('..')) -VERSION="ElectrumX 2.0.0" +VERSION="plm-electrumx 1.0.0" # -- Project information ----------------------------------------------------- -project = 'ElectrumX' +project = 'plm-electrumx' copyright = '2016-2026, various' author = 'Electrum developers' diff --git a/pyproject.toml b/pyproject.toml index 5ffada3..ae3dcbc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,12 +3,12 @@ requires = ["setuptools >= 61.0.0"] build-backend = "setuptools.build_meta" [project] -name = "e-x" +name = "plm-electrumx" authors = [ { name = "The Electrum developers" }, ] -description = "Server implementation for the Electrum protocol" -keywords = ["asyncio", "bitcoin", "electrum", "electrum-server"] +description = "Electrum protocol server for Palladium (PLM), a fork of ElectrumX" +keywords = ["asyncio", "palladium", "plm", "electrum", "electrum-server"] readme = "README.md" license = "MIT" license-files = ["LICENCE"] @@ -34,8 +34,8 @@ classifiers = [ dynamic = ['version'] [project.urls] -Homepage = "https://github.com/spesmilo/electrumx" -Repository = "https://github.com/spesmilo/electrumx" +Homepage = "https://github.com/palladium-coin/plm-electrumx" +Repository = "https://github.com/palladium-coin/plm-electrumx" [project.scripts] electrumx_server = "electrumx.cli.electrumx_server:main" diff --git a/src/electrumx/__init__.py b/src/electrumx/__init__.py index dd06f65..522c41d 100644 --- a/src/electrumx/__init__.py +++ b/src/electrumx/__init__.py @@ -5,7 +5,7 @@ from electrumx.server.controller import Controller from electrumx.server.env import Env -BRANDING = "spesmilo" -__version__ = "2.0.0" -version = f'ElectrumX {__version__}' +BRANDING = "plm-electrumx" +__version__ = "1.0.0" +version = f'plm-electrumx {__version__}' version_short = __version__