Skip to content

Add configurations sections to CORE - #25

Open
qlpqlp wants to merge 1 commit into
Dogebox-WG:mainfrom
qlpqlp:Core-Extended-Configurations
Open

Add configurations sections to CORE#25
qlpqlp wants to merge 1 commit into
Dogebox-WG:mainfrom
qlpqlp:Core-Extended-Configurations

Conversation

@qlpqlp

@qlpqlp qlpqlp commented Mar 8, 2026

Copy link
Copy Markdown
  • Add configurations sections: Node Features, RPC, Network, ZMQ, Advanced
  • Implement dynamic configuration handling in pup.nix script
  • Enable Transaction Index, RPC Server, ZMQ, and Advanced options configurability
  • Hard disable wallet (disableWallet = true) with no enable option
  • Simplify exposes section by removing redundant rpc-tcp entry
  • Update version to 0.0.11
  • Update pup.nix hash to ZRyZ1ecKKRe0+UR5Jaq6kazke9/nJvL9yS1i4F5ajak=
  • Add note about disabling/re-enabling pup after configuration changes"

- Add configurations sections: Node Features, RPC, Network, ZMQ, Advanced
- Implement dynamic configuration handling in pup.nix script
- Enable Transaction Index, RPC Server, ZMQ, and Advanced options configurability
- Hard disable wallet (disableWallet = true) with no enable option
- Simplify exposes section by removing redundant rpc-tcp entry
- Update version to 0.0.11
- Update pup.nix hash to ZRyZ1ecKKRe0+UR5Jaq6kazke9/nJvL9yS1i4F5ajak=
- Add note about disabling/re-enabling pup after configuration changes"
Comment thread core/manifest.json
"core-rpc"
],
"listenOnHost": false
"listenOnHost": true

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think instead of hardcoding this to true we need to be able to template this file with some of the configuration options selected. This is a much larger change, but our goal is to allow multiple core instances to run side-by-side for comparison, and this will break that.

Comment thread core/manifest.json
"logoPath": "logo.png",
"shortDescription": "Run a full core node on your dogebox",
"longDescription": "This pup launches and configures a full Dogecoin Core node on your dogebox, allowing you to sync the blockchain and contribute to the network.",
"longDescription": "This pup launches and configures a full Dogecoin Core node on your dogebox, allowing you to sync the blockchain and contribute to the network.\n\nIMPORTANT: After saving configuration changes, you must DISABLE and then ENABLE the CORE pup to apply the new settings.",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably define a restartCommand or something in the nix build section of the manifest that we trigger when a configuration option changes. Or maybe something as simple as sending a SIGHUP to the running process.

Comment thread core/pup.nix

echo "$RPCUSER" > /storage/rpcuser.txt
echo "$RPCPASS" > /storage/rpcpassword.txt
# RPC Configuration (from manifest config or defaults)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a much larger file now - we should pull it out into core/start.sh or something and read it off disk from pup.nix so we get all the fancy syntax highlighting etc

@SomeoneWeird SomeoneWeird left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left a few comments, this is good progress but I don't think should be merged in as-is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants