Skip to content
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

feat: define different network defaults for bins #5307

Merged

Conversation

brianp
Copy link
Contributor

@brianp brianp commented Apr 12, 2023

Description

This commit make a simple switch to define Network::default differently for the different bins compiled for different networks.

Motivation and Context

Making us one step closer to smarter defaults, and one click, out of the box.

How Has This Been Tested?

Manually

What process can a PR reviewer use to test or verify this change?

Compile the bin with TARI_NETWORK=... then validate the bin uses the correct default

Fixes: #5310

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

@brianp brianp requested a review from SWvheerden April 12, 2023 05:42
SWvheerden
SWvheerden previously approved these changes Apr 12, 2023
@ghpbot-tari-project ghpbot-tari-project added the P-acks_required Process - Requires more ACKs or utACKs label Apr 12, 2023
@SWvheerden
Copy link
Collaborator

utAck

This commit make a simple switch to define Network::default differently
for the different bins compiled for different networks. Making us one
step closer to smarter defaults, and one click, out of the box.
@brianp brianp force-pushed the feature-default-network-switch branch from 940ee73 to 3180efb Compare April 12, 2023 06:01
@ghpbot-tari-project ghpbot-tari-project added the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Apr 12, 2023
Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

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

Ack

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Apr 12, 2023
@SWvheerden SWvheerden merged commit 2f5d498 into tari-project:development Apr 12, 2023
@brianp brianp deleted the feature-default-network-switch branch April 12, 2023 11:18
SWvheerden added a commit that referenced this pull request Apr 12, 2023
##
[0.50.0-pre.0](v0.49.0-pre.6...v0.50.0-pre.0)
(2023-04-12)


### ⚠ BREAKING CHANGES

* add paging to utxo stream request (5302)

### Features

* add extended mask recovery
([5301](#5301))
([23d882e](23d882e))
* add network name to data path and --network flag to the miners
([5291](#5291))
([1f04beb](1f04beb))
* add other code template types
([5242](#5242))
([93e5e85](93e5e85))
* add paging to utxo stream request
([5302](#5302))
([3540309](3540309))
* add wallet daemon config
([5311](#5311))
([30419cf](30419cf))
* define different network defaults for bins
([5307](#5307))
([2f5d498](2f5d498))
* feature gates
([5287](#5287))
([72c19dc](72c19dc))
* fix rpc transaction conversion
([5304](#5304))
([344040a](344040a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use feature gates to set Network::default for different bins
3 participants