fix(derod): update mainnet seeds and fix bootstrap sync reliability#7
Closed
moralpriest wants to merge 50 commits into
Closed
fix(derod): update mainnet seeds and fix bootstrap sync reliability#7moralpriest wants to merge 50 commits into
moralpriest wants to merge 50 commits into
Conversation
This reverts commit 3824e67.
…oproject#138)" This commit reverts some of the changes made in commit c0d3a94.
(cherry picked from commit 715d9c5)
(cherry picked from commit 051505f)
…ttacks - Implements SHAKE256-based ephemeral key derivation using sender secret, roothash, ring inputs, and recipient public key. - Introduces 32-byte prefix in payloads for compressed ephemeral public key. - Adds randomized padding to obfuscate payload size and structure. - Updates wallet sender/receiver logic to support new ENCRYPTED_DEFAULT_PAYLOAD_CBOR_V2 format. - Prevents trial decryption and payload re-identification attacks. Co-authored-by: Dank <44716232+DankFC@users.noreply.github.com>
Merge from dev to harden payload encryption
Merge pull request DEROFDN#3 from civilware/dev-xswd
Harden payload encryption and add websockets support
Previously, the simulator hardcoded --testnet=true, preventing users from testing mainnet behavior. The simulator would always run in testnet mode regardless of user input. This change: - Removes the hardcoded --testnet=true assignment - Defaults to mainnet when --testnet flag is not provided - Properly respects the --testnet flag when explicitly set by user - Adds defensive nil checking in InitNetwork() to handle missing flag Fixes simulator network mode selection to match user expectations.
- Changed logger name from 'derod' to 'simulator' for clarity - Added genesis wallet address, seed, and restore command display - Helps developers access the funded genesis wallet (~1.12 DERO) - Other 22 wallets only get 0.002 DERO registration bonus in mainnet The genesis wallet is the only one with significant funds in mainnet simulator mode since the premine list is skipped for mainnet.
…k with parent timestamps
Pr/blocktime-check
fix(p2p): update testnet seed node addresses
fix(simulator): implement missing CLI commands and align help/completer
Author
|
Closing — was prepared prematurely before final review. Will reopen when ready. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses critical fastsync/bootstrap reliability issues and updates the mainnet seed node list with verified, geographically diverse endpoints.
Changes
fix(config): update mainnet seeds with 8 verified nodes (
config/seed_nodes.go)fix(p2p): only mark chain synced after bootstrap succeeds (
p2p/connection_pool.go)chain.Sync = trueafterbootstrap_chain()fix(p2p): close connection on bootstrap RPC failure (
p2p/chain_bootstrap.go)bootstrap_fail()helper to clean up connection state on RPC failureCall failed ChangeSet/Call failed TreeSectionretries on the same dead connectionVerification
Related
peers.json/peers2.jsonfor alternate ports