lunalib 1.5.0__py3-none-any.whl → 1.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lunalib/core/blockchain.py +1 -1
- lunalib/core/sm2.py +723 -723
- lunalib/core/wallet.py +176 -0
- lunalib/core/wallet_manager.py +638 -0
- lunalib/core/wallet_sync_helper.py +163 -0
- lunalib/gtx/digital_bill.py +10 -2
- lunalib/gtx/genesis.py +23 -24
- lunalib/mining/__init__.py +1 -0
- lunalib/mining/miner.py +116 -17
- lunalib/storage/cache.py +13 -4
- lunalib/storage/database.py +14 -5
- lunalib/storage/encryption.py +11 -2
- lunalib/transactions/security.py +19 -10
- lunalib/transactions/transactions.py +50 -41
- lunalib-1.6.0.dist-info/METADATA +26 -0
- lunalib-1.6.0.dist-info/RECORD +31 -0
- lunalib-1.6.0.dist-info/top_level.txt +1 -0
- core/__init__.py +0 -0
- core/blockchain.py +0 -172
- core/crypto.py +0 -32
- core/wallet.py +0 -408
- gtx/__init__.py +0 -0
- gtx/bill_registry.py +0 -122
- gtx/digital_bill.py +0 -273
- gtx/genesis.py +0 -338
- lunalib/requirements.txt +0 -44
- lunalib-1.5.0.dist-info/METADATA +0 -283
- lunalib-1.5.0.dist-info/RECORD +0 -51
- lunalib-1.5.0.dist-info/entry_points.txt +0 -2
- lunalib-1.5.0.dist-info/top_level.txt +0 -6
- mining/__init__.py +0 -0
- mining/cuda_manager.py +0 -137
- mining/difficulty.py +0 -106
- mining/miner.py +0 -107
- storage/__init__.py +0 -0
- storage/cache.py +0 -148
- storage/database.py +0 -222
- storage/encryption.py +0 -105
- transactions/__init__.py +0 -0
- transactions/security.py +0 -172
- transactions/transactions.py +0 -424
- transactions/validator.py +0 -71
- {lunalib-1.5.0.dist-info → lunalib-1.6.0.dist-info}/WHEEL +0 -0
lunalib/core/blockchain.py
CHANGED
|
@@ -736,7 +736,7 @@ class BlockchainManager:
|
|
|
736
736
|
transactions.append(enhanced_tx)
|
|
737
737
|
print(f"⬇️ Found outgoing transaction: {amount} LUN + {fee} fee")
|
|
738
738
|
|
|
739
|
-
print(f"
|
|
739
|
+
print(f" Scan complete for block #{block.get('index')}: {len(transactions)} transactions found")
|
|
740
740
|
return transactions
|
|
741
741
|
def _handle_regular_transfers(self, tx: Dict, address_lower: str) -> Dict:
|
|
742
742
|
"""Handle regular transfer transactions that might be in different formats"""
|