Integrate Testing for WORKING Beta LocalHost CPU Mining using New Authenticated Stateless Mining Server #247
Open
NamecoinGithub wants to merge 5192 commits into
Open
Integrate Testing for WORKING Beta LocalHost CPU Mining using New Authenticated Stateless Mining Server #247NamecoinGithub wants to merge 5192 commits into
NamecoinGithub wants to merge 5192 commits into
Conversation
…rejected-blocks Revert PR #563 "Harden SUBMIT_BLOCK parsing and eliminate zero-difficulty mining templates"
… gate, zero-diff guards, stateBest null guard Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/5d9a21f7-515f-4923-9866-d4bd2f9d9177 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/ba255cc0-012b-4e04-a78c-314683639928 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/a2997aae-4158-46a2-ab9d-33ec7b40eb8d Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…om NamecoinGithub/copilot/fix-destructor-race-condition C++20 sweep: bump -std and fix the three first-party blockers
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/34040fd9-06bb-4ce4-a2b9-ee227147ef95 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/95da48c5-1325-4462-b54b-9e57915fd820 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…avior Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/95da48c5-1325-4462-b54b-9e57915fd820 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/1830d3ef-a81b-4436-a5db-4e13c9c69648 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…late ctor decls Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/a09285c3-480c-4b3f-94d4-58400601736b Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/a09285c3-480c-4b3f-94d4-58400601736b Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…udit-implementation-plan # Conflicts: # src/Util/include/allocators.h Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/24e64794-5967-45df-9dd9-1d146aeb8419 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/2db33de5-f5ca-4627-9962-3f2348f103f6 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…(=22) Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/14b849ae-71b5-4ee6-8cf3-6665407d1258 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…ire-format ceiling with NexusMiner PR #675 #568 from NamecoinGithub/copilot/fix-voffsets-bug-implementation vOffsets: fix latent underflow in GetPrimeDifficulty and align node wire-format ceiling with NexusMiner PR #675
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/49d62160-7dcf-457d-9fe6-6b517b3352e9 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/49d62160-7dcf-457d-9fe6-6b517b3352e9 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/49d62160-7dcf-457d-9fe6-6b517b3352e9 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…r of NODE Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/03922c56-770b-4577-8982-01d5c500442f Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…e prime underflow guard #569 from NamecoinGithub/copilot/c20-upgrade-audit-implementation-plan C++20 sweep: standalone allocators, [[nodiscard]] on builders, restore prime underflow guard
…compiler-standard # Conflicts: # src/Util/include/allocators.h Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/e796a368-b4d3-43c3-8c0e-89aa04423b79 Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…t/update-cmake-compiler-standard Merge NODE (PR #569) and harden secret zeroisation against DSE
…p20-features # Conflicts: # src/Util/include/allocators.h Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/498164e9-8518-4692-bca4-8cc175906c1b Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…ns() #608 from NamecoinGithub/copilot/research-filtering-vtx-transactions Option B: drop vtx with mempool-only predecessor inside AddTransactions()
…ilter Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/c7fd5ca0-a1c9-4079-bf66-30d47851bd4d Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NamecoinGithub/LLL-TAO/sessions/c7fd5ca0-a1c9-4079-bf66-30d47851bd4d Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
… from NamecoinGithub/copilot/update-docs-and-tests-for-filter Update documentation and tests for mempool-only-predecessor filter
…vel 2) Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…e nBits pipeline #610 from NamecoinGithub/copilot/add-nbits-logging Add [NBITS_BAKED] and [NBITS_CACHE_HIT] forensics logging to node-side nBits pipeline
…ency Replace the single mempool ReadLast call with a three-step resolution: 1. Hard MALFORMED invariant (hashPrevTx == self → reject) 2. Option C: mempool-first with self-match guard 3. Option B: disk-only fallback when mempool returns self Update test simulator to mirror composite logic and add 6 new test cases under [validate_vtx_consistency] tag. Append regression update section to NSEQ_DIAG_MEMPOOL_READLAST_FIX.md documenting the fix. Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…n up test comments Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…inConsistency #611 from NamecoinGithub/copilot/fix-vtx-sigchain-consistency Implement composite C→B staleness logic in ValidateVtxSigchainConsistency
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…racle #612 from NamecoinGithub/copilot/fix-vtx-sigchain-stale Align submit-time vtx sigchain pre-check with Connect() disk anchor oracle
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
Co-authored-by: NamecoinGithub <130555019+NamecoinGithub@users.noreply.github.com>
…b/copilot/cleanup-documentation-structure Convert RISC-V notes into build documentation
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.
This is a PR request targeting Testnet, so it can possibly be integrated with Upstream Codebase bringing New Upgraded Features in the Future, alongside the reliable and good designed Base Architecture.
I built a Nexus Interface .deb for Linux with the Stateless Mining Server NODE built in.
The testing should allow the GUI to Stake and Mine at the same time. However the Command Line LLL-TAO is a better/required option for real Pool Nodes, but the GUI is good for someone who can Stake and Mine at the same time using CPU. GPU testing and support for Miner will come later!
CPU Mining is Solid without any errors for weeks of Mining. Although it's just CPU mining available in the build, it's the PROCESS that is in a near term Refined finished state.
UPGRADED FALCON 512 TO == FALCON 1024 default keys for Signing are still Falcon512, but default keys for MINER-NODE handshake is Falcon1024. Whatever the MINER keys in will also be the same size for it's Block Found Submit Disposable Falcon Size either Falcon512 or Falcon1024.
Legacy Server 8 Bit OPCODES and Stateless Server is 16 Bit Opcodes
CREATE NEW TRITIUM POW STATELESS MINING SERVER with FALCON AUTH ++++++++ FALCON 1024 Bit DEFAULT for DISPOSABLE FALCON
MINIMAL NON-TESTED Remote Node POOL DISCOVERY BUILT IN
MINIMAL SOLO MINING WORKING/POLISHED BUT COLIN CANTRELL WILL INSERT/DELETE TO FIT THE PURPOSE, 95% OF THE TOTAL WORK/CODING IS FINISHED/ #1 I STAYED IN MY LANE OF DEALING WITH ONLY MINING INFRASTRUCTURE CODE WITHIN NODE. AND CREATED MY OWN STATELESS MINING UTILITY WORKSHOP, AND MANY CONSTANTS UTILITIES ALONG WITH AAD, OPENSSL EVP DOMAINS, MANY AWESOME OTHER UPGRADES.
FULL DOCUMENTATION SECTIONS, STILL NEEDS FINAL POLISH, WORK. MOST OF THE CODE IS FROM A WHOLE HOST OF TRIAL AND ERROR TO LEARN ABOUT NEXUS CODEBASE. BUT I LEARNED THE HARD WAY, SO NO ONE ELSE HAS TO FIGURE IT OUT THEMSELVES. FOR THIS I CREATED A HUGE REPOSITORY OF DOCUMENTS WITH CROSS-REFERENCED LINKS, FOR BOTH CONFIG OPTIONS AND NEXUSMINER TIE-INS FOR CODE KEYWORDS.
NEXUS.CONF
mining=1
llpallowip=0.0.0.0
autologin=1
username=
password=
pin=
verbose=3
trainingwheels=1
nseqdiag=1
This pull request introduces a comprehensive developer experience overhaul for the Nexus LLL-TAO project, focusing on modernizing the build, development, and CI/CD infrastructure. The main changes include adding DevContainer support, improved build and test documentation, streamlined CI workflows for both Linux and Windows, and explicit dependency management. These updates make it much easier for developers (and GitHub Copilot agents) to set up, build, test, and contribute to the project in a reproducible way.
Key changes by theme:
DevContainer and Local Development Environment:
.devcontainer/devcontainer.jsonfor VSCode DevContainer support, specifying Ubuntu 22.04, required features, port forwarding, and recommended VSCode extensions/settings. This enables one-command reproducible development environments..devcontainer/setup.shto automate dependency installation, environment validation (including Berkeley DB check), workspace permissions, and provide clear post-setup instructions.Build and Dependency Documentation:
.github/copilot-instructions.mdwith detailed build, dependency, and testing instructions, including troubleshooting and code modification guidelines for both Linux and macOS..github/copilot-instructions.ymlto explicitly declare build/test requirements and dependencies for Copilot agents and CI.Continuous Integration and Validation Workflows:
.github/workflows/devcontainer-validate.ymlto automatically build, test, and validate the project in a CI environment, ensuring that the codebase is always buildable and testable from a clean state..github/workflows/copilot-setup-steps.ymlfor dependency installation validation, supporting both manual and PR-triggered runs..github/workflows/release-windows-node.ymlto build, package, and upload a portable Windows node binary using MSYS2/MinGW, facilitating cross-platform releases.Project Metadata and Templates:
LICENSEfile (MIT License) for clear open-source licensing..github/PULL_REQUEST_TEMPLATE_AGENT.mdto standardize PR descriptions for coding agents, improving reviewability and clarity.Cleanup:
Dockerfilefor the previous Debian-based build, as the new DevContainer setup supersedes it.These changes collectively modernize the developer workflow, improve onboarding, and ensure robust, repeatable builds and tests across platforms.
Working Releases for Localhost CPU mining without any bugs 2 full weeks of Continuous Mining, only STALE blocks are rejected.
https://github.com/NamecoinGithub/NexusMiner/releases
https://github.com/NamecoinGithub/LLL-TAO/releases
Merging isn't required for me to keep developing, but Months of Review is expected!
Thanks!