Skip to content

Conversation

@pacu
Copy link
Contributor

@pacu pacu commented Feb 26, 2025

closes #985

@pacu pacu force-pushed the regtest-zip-draft branch from 8a33bbb to e4b17fc Compare February 26, 2025 23:03
Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

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

Partial review; I have not yet reviewed beyond the section Behavior for ZIP-200 Network Upgrade Mechanism.

In general, specification language needs to be somewhat more precise than most of what is presented in this draft. In particular, the affected components and actors should be clearly identified in each portion of the specification, and particular care should be taken with respect to any conditionals. Focus on what has to happen more than the actor in each section.

@pacu pacu requested a review from nuttycom March 18, 2025 17:43
@pacu
Copy link
Contributor Author

pacu commented Mar 18, 2025

Thank you very much for your comments @nuttycom. I've included your feedback and in-line suggestions.

have a consensus node on a local network with a private state that a developer
can control in order to reproduce certain situations deterministically for
testing purposes. Regtest, as it was implemented on Zcashd, is similar to a
“testnet” but without miners and remote peers.
Copy link
Contributor

@zancas zancas Mar 27, 2025

Choose a reason for hiding this comment

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

If I recall correctly many of the qa/rpc-tests in zcash acually have more than local "peer".. I wonder whether the "remote-vs-local" distinction here, might be somewhat orthogonal to the purpose of regtest mode, which though frequently used with multiple nodes in the same ip:tcp space, could be used more "remotely" with the same regtest properties.


## Motivation
It is necessary to define Regtest mode so that different implementations of Zcash
Full Nodes provide the same capabilities so that testing infrastructure can be
Copy link
Contributor

Choose a reason for hiding this comment

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

Again it seems to me that "regtest" has utility for relatively low-capability "nodes". That is, less than "full".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what is a "low-capability" node?

specifically designed to avoid requirement 1 in Testnet and Mainnet
1. Developers MUST specify the activation heights of the different Network
Upgrades on launch via parameters or configuration file.
1. Remote Peer-to-Peer connections MUST NOT be allowed. All peers MUST be local

This comment was marked as resolved.

This comment was marked as resolved.

@pacu pacu force-pushed the regtest-zip-draft branch from e1f8a48 to d0a2cff Compare April 4, 2025 22:12
@pacu pacu requested a review from zancas May 29, 2025 18:46
Copy link
Collaborator

@daira daira left a comment

Choose a reason for hiding this comment

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

NACK due to a ZIP 0 violation in the Owners field.

@arya2 arya2 requested review from arya2 and removed request for zancas July 1, 2025 21:54
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
@pacu pacu requested review from daira and zancas October 14, 2025 15:02
@pacu
Copy link
Contributor Author

pacu commented Oct 14, 2025

@zancas could you kindly review the follow-ups to your comments? much appreciated! ☺️

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.

Create a ZIP Draft to document Regtest mode on Zcash full-nodes

4 participants