Skip to content

Commit 7165eda

Browse files
committedOct 23, 2020
Merge branch 'bitcoin' into particl_dev
2 parents a9f5333 + 49984b4 commit 7165eda

File tree

92 files changed

+406
-413
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+406
-413
lines changed
 

‎src/chainparams.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,11 @@ class SigNetParams : public CChainParams {
841841
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 1199145601; // January 1, 2008
842842
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = 1230767999; // December 31, 2008
843843

844+
// Activation of Taproot (BIPs 340-342)
845+
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].bit = 2;
846+
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].nStartTime = Consensus::BIP9Deployment::ALWAYS_ACTIVE;
847+
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;
848+
844849
// message start is defined as the first 4 bytes of the sha256d of the block script
845850
CHashWriter h(SER_DISK, 0);
846851
h << consensus.signet_challenge;

‎src/qt/bitcoin.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,9 @@ int GuiMain(int argc, char* argv[])
511511
return EXIT_SUCCESS;
512512
}
513513

514+
// Install global event filter that makes sure that long tooltips can be word-wrapped
515+
app.installEventFilter(new GUIUtil::ToolTipToRichTextFilter(TOOLTIP_WRAP_THRESHOLD, &app));
516+
514517
/// 5. Now that settings and translations are available, ask user for data directory
515518
// User language is set up: pick a data directory
516519
bool did_show_intro = false;
@@ -582,8 +585,6 @@ int GuiMain(int argc, char* argv[])
582585
#endif // ENABLE_WALLET
583586

584587
/// 9. Main GUI initialization
585-
// Install global event filter that makes sure that long tooltips can be word-wrapped
586-
app.installEventFilter(new GUIUtil::ToolTipToRichTextFilter(TOOLTIP_WRAP_THRESHOLD, &app));
587588
// Install global event filter that makes sure that out-of-focus labels do not contain text cursor.
588589
app.installEventFilter(new GUIUtil::LabelOutOfFocusEventFilter(&app));
589590
#if defined(Q_OS_WIN)

0 commit comments

Comments
 (0)
Please sign in to comment.