From ccac2e970a512a6631ca2912080d01890e217817 Mon Sep 17 00:00:00 2001 From: status404 Date: Wed, 18 Mar 2026 11:36:27 +0300 Subject: [PATCH] don't generate deterministic address by default --- README.md | 2 +- docker/seed_addr_gen.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f189eaf..317f595 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Container images are configured using parameters passed at runtime. |-e BITMESSAGE_API_USER|XML-RPC API user. Default: `bitmessage_api_user`| |-e BITMESSAGE_API_PASSWORD|XML-RPC API password. Default: `bitmessage_api_password`| |-e BITMESSAGE_SEED_PHRASE|Create Deterministic Addresses password. Default: created randomly. | -|-e BITMESSAGE_SEED_ADDRESSES|Number of Deterministic Addresses to generate. Default: `1`| +|-e BITMESSAGE_SEED_ADDRESSES|Number of Deterministic Addresses to generate. Default: `0`| |-e BITMESSAGE_TTL|The expiration of newly send messages, in seconds. Default: `172800`| |-e BITMESSAGE_STOPRESENDINGAFTERXDAYS|Stop resending unreceived message after X days. Default: `60`| |-e BITMESSAGE_APIVARIANT|provides xml or json-RPC API. Default: `legacy`| diff --git a/docker/seed_addr_gen.py b/docker/seed_addr_gen.py index 7baec5d..e20b480 100644 --- a/docker/seed_addr_gen.py +++ b/docker/seed_addr_gen.py @@ -6,7 +6,7 @@ import xmlrpclib api_user=os.getenv('BITMESSAGE_API_USER', 'bitmessage_api_user') ; api_password=os.getenv('BITMESSAGE_API_PASSWORD', 'bitmessage_api_password') ; api_port=os.getenv('BITMESSAGE_API_PORT', '8442') ; -addr_num=os.getenv('BITMESSAGE_SEED_ADDRESSES', '1') ; +addr_num=os.getenv('BITMESSAGE_SEED_ADDRESSES', '0') ; addr_seed=os.getenv('BITMESSAGE_SEED_PHRASE') ; api_link="http://{}:{}@127.0.0.1:{}/".format(api_user, api_password, api_port)