19484 Commits

Author SHA1 Message Date
62d8749b49 Update keystore path for release builds
The keystore path was updated to point to a specific keystore file (pallectrum.keystore) instead of the default .keystore directory to ensure the correct keystore is used during APK signing.
2025-11-24 15:57:49 +01:00
516ef1cf56 Update R package import path in SimpleScannerActivity
The import path for R package was incorrect after build configuration changes. Updated to use the correct package path from build.gradle.
2025-11-24 11:23:30 +01:00
cbd255e673 Rename bitcoin to palladium in android components
Update package names, intent filters and references from org.electrum to org.palladium
2025-11-24 11:06:49 +01:00
ee8b7479d4 Update changelog with complete fork details and branding
- Add comprehensive Palladium blockchain integration details
- Document all UI/UX changes and rebranding efforts
- Include build system modifications and binary naming
- Update repository links and maintenance information
2025-11-24 09:41:10 +01:00
b081d880f0 Update readme files for pallectrum fork
- Add README-ELECTRUM.md preserving original Electrum documentation
- Update README.md with Pallectrum-specific information including features, installation, and configuration
- Maintain original Electrum structure while adapting content for Palladium blockchain
2025-11-24 09:27:54 +01:00
d9e937487f Update AUTHORS file with project contributors
Add section headers to distinguish original Electrum authors from Pallectrum fork contributors
2025-11-24 09:16:30 +01:00
6502c54519 Correct executable name in build script
The build script was still referencing 'electrum-setup.exe' after the project was renamed to 'pallectrum'. This ensures the correct executable name is used throughout the build process.
2025-11-24 09:03:21 +01:00
f9f992afe2 Rename electrum to pallectrum across project
Update all references from 'electrum' to 'pallectrum' including:
- Directory paths in build scripts
- Application name and metadata
- Desktop entries and MIME types
- Android package configurations
- Windows installer settings
- User data directory locations
- Website URLs and project references
2025-11-24 08:35:40 +01:00
f4edb3e825 Update coinbase maturity to 120 blocks for Palladium
The coinbase maturity period has been increased from 100 to 120 blocks to match Palladium's consensus rules. This change ensures proper validation of coinbase transactions on the Palladium network.
2025-11-23 22:19:15 +01:00
dacb5f9004 Update CHANGELOG.md with Palladium rebranding fixes
- Add detailed entries for Android/QML and Qt GUI rebranding fixes
- Include critical fixes for QR scanning, URI schemes, and unit displays
- Update last modified date to reflect recent changes
2025-11-23 22:14:46 +01:00
64b88fbded Rename Bitcoin to Palladium in UI and codebase
Update all references to "Bitcoin" and "Electrum" in the UI and codebase to "Palladium" and "Pallectrum" respectively. This includes network names, wallet types, error messages, and other user-facing text. Also updates the BIP21 URI scheme from 'bitcoin' to 'palladium'.
2025-11-23 22:09:21 +01:00
d9dc3fe30c Update currency references from BTC to PLM
Update plot labels and configuration calculations to use PLM instead of BTC to reflect the current currency being used.
2025-11-23 21:25:27 +01:00
4f4fc56683 Update version string to include 'Pallectrum' prefix 2025-11-21 13:54:35 +01:00
1fd36345d9 Update WIF_SCRIPT_TYPES to make p2wpkh default
The change swaps the values of p2wpkh and p2pkh in WIF_SCRIPT_TYPES to reflect that p2wpkh (bech32) is now the default script type for Palladium. This maintains backward compatibility while aligning with current protocol standards.
2025-11-21 13:46:13 +01:00
f56740409c Update branding from Electrum to Pallectrum
Update client package version and replace all references to 'Electrum' with 'Pallectrum' in the codebase. Also updates the description to reflect Palladium instead of Bitcoin.
2025-11-21 11:07:54 +01:00
0c5431957a Replace multiple bitcoin explorers with palladium explorer
Simplify the block explorers configuration by removing all entries except for the Palladium Explorer. This change focuses the application on a single, more relevant explorer service.
2025-11-21 10:57:22 +01:00
35f9ac77f6 Add support for palladium BIP21 URI scheme
The changes introduce a new URI scheme 'palladium' alongside the existing 'bitcoin' scheme for BIP21 payment URIs. This allows the wallet to parse and handle palladium payment URIs in the same way as bitcoin URIs.
2025-11-21 10:45:05 +01:00
9fdd0ac4f5 Update terms of use title to 'Pallectrum Terms of Use' 2025-11-21 10:35:15 +01:00
a9163625c4 Update application icon assets 2025-11-21 10:30:04 +01:00
55d5cfbd35 Update wallet branding from Electrum to Pallectrum
Update all instances of 'Electrum Bitcoin Wallet' to 'Pallectrum Wallet' and
'Bitcoin' to 'Palladium' in UI strings to reflect new branding
2025-11-21 09:20:13 +01:00
ef2fa3fcf3 Update branding from electrum to pallectrum in messages
Update all references to 'Electrum' in user-facing messages to 'Pallectrum' to reflect the new branding. Also updates references to 'Bitcoin' to 'Palladium' where applicable and makes minor wording adjustments for consistency.
2025-11-21 09:13:34 +01:00
dd918fdeb1 Rename RELEASE-NOTES to RELEASE-NOTES-ELECTRUM
Keep original Electrum 4.6.2 release notes as reference for the fork base version.
2025-11-21 09:06:42 +01:00
aa78f41c44 Disable automatic update checks for Pallectrum
Remove update check prompt and always disable automatic update checks as this is specific to Pallectrum's requirements.
2025-11-21 08:57:55 +01:00
6a39a1401a Replace BTC references with PLM in codebase
Update all instances of BTC currency references to PLM across multiple files including UI components, utility functions, and command descriptions to reflect the new currency denomination
2025-11-20 16:43:48 +01:00
912f610e26 Add support for LWMA chains by skipping pow validation
Add SKIP_POW_DIFFICULTY_VALIDATION flag to AbstractNet for chains using custom difficulty algorithms like LWMA. Update blockchain.py to skip pow validation when flag is set, relying on server validation and checkpoints instead. Also update Palladium checkpoints.
2025-11-20 16:32:11 +01:00
823454f825 Add palladium chain configuration files
Add initial configuration files for Palladium chain including servers, checkpoints, and fallback nodes.
Update constants to use Palladium as default network and rename PalladiumMainnet to Palladium for consistency.
2025-11-20 16:03:48 +01:00
234e423ebb Change default network from BitcoinMainnet to PalladiumMainnet 2025-11-20 15:51:21 +01:00
18a3068ff0 Update BIP44 coin type for Palladium to registered value 2025-11-20 15:49:20 +01:00
1e0e79c92b feat: Add Palladium mainnet network configuration
Implement complete network parameters for Palladium blockchain integration:

Network Configuration:
- Network name: palladium_mainnet
- Genesis block: 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
- Address formats: P2PKH (P...), P2SH (3...), Bech32 (plm1...)
- Default Electrum server ports: 50001 (TCP), 50002 (SSL)

Cryptographic Parameters:
- WIF private key prefix: 0x80
- BIP32 extended key headers for xpub/xprv derivation
- BIP44 coin type: 5701 (Palladium-specific)
- SegWit human-readable part: 'plm'

Lightning Network:
- Disabled for initial release (BLOCK_HEIGHT_FIRST_LIGHTNING_CHANNELS = 0)
- DNS seeds and realm byte configured for future activation

This establishes the foundation for Palladium wallet support in Pallectrum.
2025-11-20 15:37:26 +01:00
f09d847909 Add changelog for pallectrum fork from electrum
Add comprehensive changelog documenting the initial fork from Electrum v4.6.2
and planned development roadmap for Pallectrum wallet. Includes network
parameters, address format support, and rebranding changes.
2025-11-20 14:50:41 +01:00
7714041213 Update LICENSE with copyright info for Pallectrum fork
Add copyright notice for Pallectrum fork and clarify its relation to Electrum
2025-11-20 12:08:21 +01:00
ghost43
d15598bcf0 Merge pull request #10313 from SomberNight/202511_keystore_lrucache
keystore: fix memory leak for LRU cache
2025-11-18 18:25:31 +00:00
SomberNight
c919d4940a keystore: fix memory leak for LRU cache
Using `@functools.lru_cache` on an instance method behaves in interesting ways.
The cache kept a ref around for `self`, so in effect we were never GC-ing keystore objects. Effectively there was a single global cache for derive_pubkey, with keys `(keystore, for_change, n)`.

This PR now changes the caching to be per-keystore:
each ks has a cache, keyed `(for_change, n)`.
GC-ing individual keystores should now be possible, which should result in cleaning up just their own cache.

This also enables the corresponding previously silence flake8-bugbear check for `@functools.lru_cache`. (note that the check can selectively be disabled by adding a comment on the relevant line: `# noqa: B019`)
2025-11-18 17:06:42 +00:00
SomberNight
bdb7a3566f ci: update flake8 2025-11-18 17:02:23 +00:00
ghost43
ee80065bb8 Merge pull request #10312 from SomberNight/202511_pr10230_1
lnonion: immutable OnionPacket and OnionHopsDataSingle
2025-11-18 16:41:19 +00:00
SomberNight
1b600b49e9 lnmsg/lnonion: follow-up prev: "hide" MappingProxyType usage 2025-11-18 14:54:33 +00:00
ghost43
c09b3d2b2a Merge pull request #10311 from SomberNight/202511_tests_mixed_spend
test_wallet_vertical: add case spending mixed segwit/non-segwit UTXOs
2025-11-18 14:01:25 +00:00
SomberNight
e52ed5073e test_wallet_vertical: add case spending mixed segwit/non-segwit UTXOs
I needed such a tx to test something in electrumx and wanted to copy-paste one from the electrum unit tests. Weird that we were lacking such a test case, I was fairly certain there was one already...
2025-11-17 19:20:36 +00:00
Sander van Grieken
81c83f8318 qeinvoice: query self.status once in update_userinfo() and determine_can_pay() 2025-11-13 12:40:37 +01:00
ThomasV
5cb0902793 Merge pull request #10299 from f321x/pay_to_many_label
qt: send tab: show "pay to many" label
2025-11-12 15:29:27 +01:00
SomberNight
5a14a585db scripts: add README
closes https://github.com/spesmilo/electrum/issues/10291
2025-11-11 16:51:31 +00:00
ghost43
e971e6274d Merge pull request #10305 from SomberNight/202511_lnrouter_copypaste
lnrouter: LiquidityHint: fix logic bug in calculation
2025-11-11 16:29:34 +00:00
SomberNight
6332a3a6a8 lnrouter: LiquidityHint: fix logic bug in calculation
Reported privately by Zuzana Kotásková <36777@mail.vsfs.cz>
2025-11-11 16:00:41 +00:00
f321x
936e7fd1c2 lnonion: immutable OnionPacket and OnionHopsDataSingle
Make OnionHopsDataSingle and OnionPacket immutable for safer caching and
handling.

# Conflicts:
#	electrum/onion_message.py
2025-11-11 14:37:37 +01:00
Sander van Grieken
1ad6607405 onion_message: fix handling of ONION_MESSAGE_LARGE_SIZE payload sizes for onion messages,
process dummy hops regardless of EXPERIMENTAL_LN_FORWARD_PAYMENTS config option.
2025-11-10 16:20:15 +01:00
Sander van Grieken
3cb639f9b4 onion_message: ensure blinded path is list 2025-11-10 15:02:37 +01:00
Sander van Grieken
9481f4f636 followup prev 2025-11-10 13:50:38 +01:00
Sander van Grieken
130af59760 update field naming for BOLT04 structures
see also: 3fffab3b88
2025-11-10 13:47:20 +01:00
ghost43
d87f9e9a44 Merge pull request #10295 from SomberNight/202510_proto16
electrum protocol: add support for 1.6, but keep supporting 1.4
2025-11-07 16:42:11 +00:00
ghost43
7cb5621625 Merge pull request #10274 from f321x/lnpay_collect_failed_htlcs
lnworker: collect failed htlcs during payment attempt, fix todo
2025-11-07 16:17:19 +00:00