forked from lthn/blockchain
Replace ProgPowZ with RandomX for ASIC-resistant proof-of-work. The full dataset is initialized multi-threaded at startup with the key "LetheanRandomXv1". Thread-local VMs are created on demand. Switch difficulty algorithm from Zano's 720-block window to LWMA-1 (zawy12) with a 60-block window for much faster convergence after hashrate changes. Target block time set to 10s for PoW. Add standard stratum mining.* protocol handlers (subscribe, authorize, submit, extranonce.subscribe) alongside existing EthProxy eth_* handlers, with automatic protocol detection and mining.notify translation for XMRig-based miners. Generate fresh Lethean genesis block and premine wallet. Replace all remaining hardcoded Zano addresses in tests with runtime-generated keys to avoid prefix mismatches. Link RandomX library across all build targets. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| account.cpp | ||
| account.h | ||
| account_boost_serialization.h | ||
| alias_helper.h | ||
| basic_api_response_codes.h | ||
| basic_kv_structs.h | ||
| basic_pow_helpers.cpp | ||
| basic_pow_helpers.h | ||
| bc_attachments_helpers.h | ||
| bc_attachments_helpers_basic.h | ||
| bc_attachments_service_manager.cpp | ||
| bc_attachments_service_manager.h | ||
| bc_block_datetime_service.h | ||
| bc_escrow_service.h | ||
| bc_offers_serialization.h | ||
| bc_offers_service.cpp | ||
| bc_offers_service.h | ||
| bc_offers_service_basic.h | ||
| bc_payments_id_service.h | ||
| block_chain_shortener.cpp | ||
| block_chain_shortener.h | ||
| block_flags.h | ||
| blockchain_storage.cpp | ||
| blockchain_storage.h | ||
| blockchain_storage_basic.h | ||
| blockchain_storage_boost_serialization.h | ||
| checkpoints.cpp | ||
| checkpoints.h | ||
| checkpoints_create.h | ||
| connection_context.h | ||
| core_runtime_config.h | ||
| core_tools.h | ||
| crypto_config.h | ||
| currency_basic.h | ||
| currency_basic_backward_comp.inl | ||
| currency_boost_serialization.h | ||
| currency_core.cpp | ||
| currency_core.h | ||
| currency_format_utils.cpp | ||
| currency_format_utils.h | ||
| currency_format_utils_abstract.h | ||
| currency_format_utils_blocks.cpp | ||
| currency_format_utils_blocks.h | ||
| currency_format_utils_transactions.cpp | ||
| currency_format_utils_transactions.h | ||
| currency_stat_info.h | ||
| difficulty.cpp | ||
| difficulty.h | ||
| dispatch_core_events.h | ||
| etc_custom_serialization.cpp | ||
| etc_custom_serialization.h | ||
| genesis.cpp | ||
| genesis.h | ||
| genesis_acc.cpp | ||
| genesis_acc.h | ||
| miner.cpp | ||
| miner.h | ||
| offers_service_basics.h | ||
| offers_services_helpers.cpp | ||
| offers_services_helpers.h | ||
| pos_mining.cpp | ||
| pos_mining.h | ||
| tx_pool.cpp | ||
| tx_pool.h | ||
| tx_semantic_validation.cpp | ||
| tx_semantic_validation.h | ||
| verification_context.h | ||