-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add(consensus/network): Adds new_regtest()
constructors to testnet::Parameters
and Network
#8413
Commits on Apr 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9db4762 - Browse repository at this point
Copy the full SHA 9db4762View commit details -
Adds an empty NetworkParameters struct to Network::Testnet variant, u…
…pdates production code.
Configuration menu - View commit details
-
Copy full SHA for 4b86bd6 - Browse repository at this point
Copy the full SHA 4b86bd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7533e2f - Browse repository at this point
Copy the full SHA 7533e2fView commit details -
Adds
NetworkKind
and uses it instead ofNetwork
in `HistoryTreePa……rts` and `transparent::Address`
Configuration menu - View commit details
-
Copy full SHA for 06cf947 - Browse repository at this point
Copy the full SHA 06cf947View commit details -
Adds a [network.testnet_parameters] section to the config, uses `Netw…
…orkKind` as zebra_network::Config::network field type, and converts 'Network' to `NetworkKind` before serializing
Configuration menu - View commit details
-
Copy full SHA for 4900a20 - Browse repository at this point
Copy the full SHA 4900a20View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb8726b - Browse repository at this point
Copy the full SHA cb8726bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5a807a - Browse repository at this point
Copy the full SHA d5a807aView commit details -
returns b58 prefix constants directly to remove From<NetworkKind> imp…
…l for zcash_primitives::consensus::Network
Configuration menu - View commit details
-
Copy full SHA for d108ec6 - Browse repository at this point
Copy the full SHA d108ec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 574b1f9 - Browse repository at this point
Copy the full SHA 574b1f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05e41a2 - Browse repository at this point
Copy the full SHA 05e41a2View commit details
Commits on Apr 11, 2024
-
Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
Configuration menu - View commit details
-
Copy full SHA for fd3d505 - Browse repository at this point
Copy the full SHA fd3d505View commit details -
Configuration menu - View commit details
-
Copy full SHA for f04b94b - Browse repository at this point
Copy the full SHA f04b94bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea2d001 - Browse repository at this point
Copy the full SHA ea2d001View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86cd919 - Browse repository at this point
Copy the full SHA 86cd919View commit details -
Configuration menu - View commit details
-
Copy full SHA for 365b58e - Browse repository at this point
Copy the full SHA 365b58eView commit details -
Configuration menu - View commit details
-
Copy full SHA for eca7f6b - Browse repository at this point
Copy the full SHA eca7f6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60248e3 - Browse repository at this point
Copy the full SHA 60248e3View commit details -
updates stored test config, adds a quicker test for checking that sto…
…red configs can be parsed, adds an intermediate representation of activation heights
Configuration menu - View commit details
-
Copy full SHA for b9bdf05 - Browse repository at this point
Copy the full SHA b9bdf05View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad4e7dc - Browse repository at this point
Copy the full SHA ad4e7dcView commit details -
Passes &Network directly instead of converting to zp_consensus::Netwo…
…rk where there were conversions
Configuration menu - View commit details
-
Copy full SHA for 4347a80 - Browse repository at this point
Copy the full SHA 4347a80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 080affd - Browse repository at this point
Copy the full SHA 080affdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2493e7e - Browse repository at this point
Copy the full SHA 2493e7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 997e265 - Browse repository at this point
Copy the full SHA 997e265View commit details
Commits on Apr 12, 2024
-
- Makes the
activation_heights
config field optional by adding a #[……serde(default)] - Panics if a non-zero activation height is provided for the `Genesis` network upgrade - Always sets the `Genesis` and `BeforeOverwinter` network upgrade activation heights to 0 and 1, `BeforeOverwinter` could be overwritten by a later network upgrade - Makes the `activation_heights` field on `Parameters` private, adds/uses an accessor method instead, and adds a builder struct and `build()` method
Configuration menu - View commit details
-
Copy full SHA for 93c7a58 - Browse repository at this point
Copy the full SHA 93c7a58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd4158 - Browse repository at this point
Copy the full SHA 0fd4158View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3952caa - Browse repository at this point
Copy the full SHA 3952caaView commit details -
Updates
NetworkUpgrade::activation_height()
to return the height of…… the next NetworkUpgrade if it doesn't find the activation height of `&self`
Configuration menu - View commit details
-
Copy full SHA for e697d36 - Browse repository at this point
Copy the full SHA e697d36View commit details -
checks that the miner address is of TestnetKind on Regtest and update…
… assertion message
Configuration menu - View commit details
-
Copy full SHA for 325a6c6 - Browse repository at this point
Copy the full SHA 325a6c6View commit details -
Adds a DNetworkUpgradeActivationHeights struct for better control ove…
…r how activation heights can be configured
Configuration menu - View commit details
-
Copy full SHA for f724c01 - Browse repository at this point
Copy the full SHA f724c01View commit details -
moves all ordered network upgrades to a constant, adds a no_duplicate…
…s test, moves struct with activation heights outside deserialization impl and accepts it in `ParametersBuilder::activation_heights()` instead of a Vec
Configuration menu - View commit details
-
Copy full SHA for a37510a - Browse repository at this point
Copy the full SHA a37510aView commit details -
panics if any network upgrades are configured to activate at Height(0…
…) because it's reserved for Genesis
Configuration menu - View commit details
-
Copy full SHA for 0abe873 - Browse repository at this point
Copy the full SHA 0abe873View commit details -
Simplifies the
ParametersBuilder::activation_heights()
method and r……emoves an unnecessary test.
Configuration menu - View commit details
-
Copy full SHA for 1dfad53 - Browse repository at this point
Copy the full SHA 1dfad53View commit details
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 868535b - Browse repository at this point
Copy the full SHA 868535bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b835f1 - Browse repository at this point
Copy the full SHA 0b835f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb2d13a - Browse repository at this point
Copy the full SHA fb2d13aView commit details
Commits on Apr 18, 2024
-
Update zebra-chain/src/parameters/network_upgrade.rs
Co-authored-by: Marek <mail@marek.onl>
Configuration menu - View commit details
-
Copy full SHA for fea2162 - Browse repository at this point
Copy the full SHA fea2162View commit details -
Adds
network_name
field and accessor method onParameters
, uses i……t in the `Display` impl for `Network`
Configuration menu - View commit details
-
Copy full SHA for a94dcab - Browse repository at this point
Copy the full SHA a94dcabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1173faf - Browse repository at this point
Copy the full SHA 1173fafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1608472 - Browse repository at this point
Copy the full SHA 1608472View commit details -
adds config field for setting network name, adds "with_" prefix to Pa…
…rameterBuilder setter methods
Configuration menu - View commit details
-
Copy full SHA for 08f0838 - Browse repository at this point
Copy the full SHA 08f0838View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e97b53 - Browse repository at this point
Copy the full SHA 0e97b53View commit details -
Configuration menu - View commit details
-
Copy full SHA for a842c12 - Browse repository at this point
Copy the full SHA a842c12View commit details
Commits on Apr 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c79e06f - Browse repository at this point
Copy the full SHA c79e06fView commit details -
Adds a
new_regtest()
method onNetwork
andtestnet::Parameters
,…… updates config deserialization to return an error if the initial_testnet_peers include any default initial peers AND contain configured activation heights
Configuration menu - View commit details
-
Copy full SHA for 6e29727 - Browse repository at this point
Copy the full SHA 6e29727View commit details -
Updates
activates_network_upgrades_correctly
test to check Regtest ……activation heights (and default Mainnet/Testnet)
Configuration menu - View commit details
-
Copy full SHA for 32d0758 - Browse repository at this point
Copy the full SHA 32d0758View commit details -
Refactors if-let & match statement into general match statement, remo…
…ves constraint against including `testnet_parameters` field/section in the config when using `Mainnet` or `Regtest`
Configuration menu - View commit details
-
Copy full SHA for e816c66 - Browse repository at this point
Copy the full SHA e816c66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e4fbb - Browse repository at this point
Copy the full SHA 32e4fbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63623ae - Browse repository at this point
Copy the full SHA 63623aeView commit details -
Adds
with_sapling_hrps()
method and uses it to set the Regtest HRPs…… in `new_regtest()`. Adds a test for Sapling HRP validation
Configuration menu - View commit details
-
Copy full SHA for d871590 - Browse repository at this point
Copy the full SHA d871590View commit details -
Checks that default Mainnet/Testnet/Regtest Sapling HRPs pass validat…
…ion in `with_sapling_hrps()`
Configuration menu - View commit details
-
Copy full SHA for 4671efe - Browse repository at this point
Copy the full SHA 4671efeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b41cba - Browse repository at this point
Copy the full SHA 9b41cbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b38dbfd - Browse repository at this point
Copy the full SHA b38dbfdView commit details
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b7957e9 - Browse repository at this point
Copy the full SHA b7957e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13d59ad - Browse repository at this point
Copy the full SHA 13d59adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b5a7f5 - Browse repository at this point
Copy the full SHA 3b5a7f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ace7f19 - Browse repository at this point
Copy the full SHA ace7f19View commit details