Skip to content

Conversation

@benma
Copy link

@benma benma commented Feb 23, 2017

  • Change initializeResult(int) to initializeResult(bool) to avoid
    implicit type conversion.
  • Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
  • Remove the argument from shutdownResult(int); it was called with a
    constant argument.

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.
@laanwj
Copy link
Member

laanwj commented Feb 23, 2017

it was called with a constant argument.

That seems like a bug. It should be called with 0 in case of an error. Though I guess shutdown can't really fail (without crashing).

@benma
Copy link
Author

benma commented Feb 23, 2017

It emits a different signal in that case: runawayException, which calls exit(EXIT_FAILURE) instead of QT's quit().

@laanwj
Copy link
Member

laanwj commented Feb 23, 2017

Yes, indeed.

@benma
Copy link
Author

benma commented Feb 28, 2017

@jonasschnelli could you please review this?

threadGroup.join_all();
Shutdown();
qDebug() << __func__ << ": Shutdown finished";
Q_EMIT shutdownResult(1);
Copy link
Contributor

Choose a reason for hiding this comment

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

Agree with @laanwj: This was a bug.

Copy link
Author

Choose a reason for hiding this comment

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

Was a bug, or is a bug? Because it is still not called with (0), and I am not sure under what circumstances it should be, seeing that the runaway exception signal is called when shutdown fails.

Copy link
Contributor

Choose a reason for hiding this comment

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

The int return value was only use over qDebug which we can argue what it should have been there.
But this PRs solution (remove the shutdown result value) seems to make most sense.

@jonasschnelli
Copy link
Contributor

Tested ACK 5b528d7

@maflcko
Copy link
Member

maflcko commented Feb 28, 2017

utACK 5b528d7

@jonasschnelli jonasschnelli merged commit 5b528d7 into bitcoin:master Mar 2, 2017
jonasschnelli added a commit that referenced this pull request Mar 2, 2017
5b528d7 qt: clean up initialize/shutdown signals (Marko Bencun)

Tree-SHA512: 4a8326ba05a1cc037203a7abe01d4e77b6ff83e62ec14f09834ada4b35a23ffb1f28b5587aa2e02601f0f6c7d62c5647a7f10320239b4bac132791be29930ddb
@benma
Copy link
Author

benma commented Mar 2, 2017

Thanks everyone for the reviews and merge! 👯‍♂️

PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jan 23, 2019
5b528d7 qt: clean up initialize/shutdown signals (Marko Bencun)

Tree-SHA512: 4a8326ba05a1cc037203a7abe01d4e77b6ff83e62ec14f09834ada4b35a23ffb1f28b5587aa2e02601f0f6c7d62c5647a7f10320239b4bac132791be29930ddb
PastaPastaPasta added a commit to PastaPastaPasta/dash that referenced this pull request Jan 23, 2019
2a5A1Ghu1 added a commit to theohmproject/ohmcoin that referenced this pull request Oct 18, 2020
qt: clean up initialize/shutdown signals

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.

bitcoin/bitcoin#9834
squidicuzz pushed a commit to theohmproject/ohmcoin that referenced this pull request Oct 28, 2020
qt: clean up initialize/shutdown signals

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.

bitcoin/bitcoin#9834
2a5A1Ghu1 added a commit to theohmproject/ohmcoin that referenced this pull request Oct 28, 2020
* Ohmcoin 3.0 (#63)

* Fix croscompile for win32

* Update Segwit and Zerocoin (#47)

* Added all of the code for the update

* Fix URL Path

* Fixed default directory path

* Change masternode declarations to karmanode

* change to ohmcoin

* Create .gitignore

* Update .gitignore

* Update .gitignore

* karmanodefy

* Update proposallist.cpp

* Missing class

* Docs Masternode to karmanode

* Change mn(masternode) to kn(karmanode)

* Update doc and comment collateral

* More doc updates

* Fixed Karmanode references in proposal related files.

* Ckarmanode -> CKarmanode

* Karmanodefy Budget System

* Porotocol and Version Bump

* Protocol Enforcement

* Fix typo

* Spork fixes

* Fix Spork Typo

* Develop (#48)

* Added all of the code for the update

* Fix URL Path

* Fixed default directory path

* Change masternode declarations to karmanode

* change to ohmcoin

* Create .gitignore

* Update .gitignore

* Update .gitignore

* karmanodefy

* Update proposallist.cpp

* Missing class

* Docs Masternode to karmanode

* Change mn(masternode) to kn(karmanode)

* Update doc and comment collateral

* More doc updates

* Fixed Karmanode references in proposal related files.

* Ckarmanode -> CKarmanode

* Karmanodefy Budget System

* Porotocol and Version Bump

* Protocol Enforcement

* Fix typo

* Spork fixes

* Update README.md

* Fixes issues when building in 10.15

This will need to be built against different brew formulas that will be provided on release... This is also a temporary solution once fixes are made for building against updated dependencies.

* Qt Frontend Performace

Limits amount of txs loaded

* Added Qt Dependencies for Cross Compile

* Update spork.h

* [Qt][Bug] Load the most recent instead of the first transactions

PIVX-Project/PIVX@ec72107

* Fix QT and Boost bugs

phoreproject/Phore#140

* Update Seeders

* Update Budget and Regtest

* More Budget and Regtest

* Too Expressive

removed arrant parenthesis

* Added select coin strategy

phoreproject/Phore@5928d0b

* allow openssl1.0/1.1 to coexist

phoreproject/Phore@d1b6037

* Prevent RPC calls during warmup

* Changed for loop copies to references, and added stake logging

phoreproject/Phore@3e7f6cf

* Fixed masternode edit deleting two masternodes in list

* Fix staking assertion

phoreproject/Phore@0a6a243

* Added Python test for transaction too large issue

phoreproject/Phore@5b08df9

* Added benchmark in mutex lock

phoreproject/Phore@be2f913

* Fix bugs in mnemonic selection and mint maturity

phoreproject/Phore@c118242

* Revert "Fix bugs in mnemonic selection and mint maturity"

This reverts commit 2f242b0.

* Replaced mapNextTx with smaller map to reduce memory usage.

phoreproject/Phore@3a7c813

* Move ThreadStakeMinter out of net.cpp

phoreproject/Phore@5568806

* Revert "Changed for loop copies to references, and added stake logging"

This reverts commit 113aeea.

* Add missing QPainterPath include

PIVX-Project/PIVX@2e226ad

* Lighter Icons

* Update Checkpoints

* Switch Sporks

* Update Placeholder Address

* Ohmify

* Merge Block Changes (#56)

* Version 3.0.0.1 dev (#53)

* Version 3.0.0.1 dev
- Increase time between blocks at block 2977924 or when network has reached 95% upgrade threshold
- Change block time to 4 minutes
- Set  block reward to 6 on activation of new time
- Adjust new block enforce policy to 24 hour span

* fix flag check for; add fIgnoreLegacyBlocks

* move variable out of if statement, fix compile.

* Improve2 (#54)

* WIP: upgrade network upgrade features; testnet fixes..

* add this back for now..

* add missed file, optional.h

* more imports

* adjust imports for consensus.h

* correction

* fix moar missing imports

* add missing vars and fixes

* missing header declare

* changes..

* update makefile

* need this here too..

* fixed compile

* further fixed.

* Zerocoin is not active; Actually use new block version parameter..

* Don't do this, zerocoin not active..

* remove or fix zerocoin at some later point.

* zerocoin is off.

* Adjust new block version update to use protocol version
Prepare for removal of zercoin; refactoring..
Implement sporks to enforce new version lock ins.

* fix compile issues

* get height for tip

* get consensus params

* add missing spork info

* Version 3.0.2.0

* Fixes Wallet Lock Issue (#55)

* Fix block height condition

* Combine Spork 24 into 23

Co-authored-by: Ra's Al Ghul <[email protected]>
Co-authored-by: squidicuz <[email protected]>

* [REST] improve performance for JSON calls

bitcoin/bitcoin@30973e9

JSON calls do not use the raw data generated for
the .bin and .hex calls. By moving the raw data
creation into the .bin and .hex switch branches,
JSON calls become faster.

* Bump Version

* [Model][Performance] Unnecessary double cs_wallet and cs_main lock.

PIVX-Project/PIVX@9d94ea6

* Delete pkg.m4

Delete arrant pkg.m4 file never was needed

* Update Mac version

* Drop QT4 Support

* [BUILD][MacOS] Make Clean Images

* [Refactor][Move Only] Nonwallet RPC Move to Sub-Dir

* [Refactor][Move Only] Wallet Move to Sub-Dir

* Add Memusage

* [REFACTOR] Drop BOOST_FOREACH/REVERSE_FOREACH

* [REFACTOR] Move PAIRTYPE to std::pair & Q_FOREACH/foreach to for

* [LEVELDB]Use std::atomic instead of MemoryBarrier

* Update Copyright

* [Tests] Fix chain ordering in budget tests

PIVX-Project/PIVX#595

* [Doc] Change aarch assert sign output folder

PIVX-Project/PIVX#585

* [Wallet] Adjust staking properties to lower orphan rates.

PIVX-Project/PIVX#617

* [Wallet] Write new transactions to wtxOrdered properly

PIVX-Project/PIVX#597

* [Travis] Add separate job to check doc/logprint/subtree

Further getting up to date with pivx PIVX-Project/PIVX#639

* [Build] Make sure Boost headers are included for libzerocoin

PIVX-Project/PIVX#622

* [Build] Remove unnecessary BOOST dependency

PIVX-Project/PIVX#605

* [Bug] Fix CKarmanodeConfig::read

rebase from upstream. Windows doesn't initialize CService properly
during startup before the masternode.conf file is read.

PIVX-Project/PIVX@9837f53

* Add getaccumulatorvalues RPC

Return the accumulator values associated with a particular block height.

PIVX-Project/PIVX@8a6d425

* [GUI] Fix wrongly displayed balance on Overview tab

PIVX-Project/PIVX#598

* [Wallet] Fix double locked coin when wallet and MN are on same machine

PIVX-Project/PIVX#656

* [Qt] Add Tor service icon to status bar

Tor Icon is displayed when the client is initialized with a successful
tor service connection.

Icon is hidden otherwise.

PIVX-Project/PIVX@f9e18aa

* [Staking] Prevent potential negative out values during stake splitting

PIVX-Project/PIVX#952

* [QT] Set AA_EnableHighDpiScaling attribute early

Set AA_EnableHighDpiScaling attribute early

bitcoin/bitcoin@099e4b9

* [BUILD] Update bitcoin_qt.m4

* [QT] clean up initialize/shutdown signals

qt: clean up initialize/shutdown signals

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.

bitcoin/bitcoin#9834

* [Refactor] Set to nullptr after delete

bitcoin/bitcoin#10027

* [Main] Unify shutdown proceedure in init rather than per-app

and

[Startup][Refactor][Backport] Memory allocation fail handler + init step 1 refactored.

PIVX-Project/PIVX#1029

PIVX-Project/PIVX#769

* [GUI] Make "For anonymization and staking only" checked by default

PIVX-Project/PIVX#521

* [Trivial] Remove CMasternode::SliceHash

PIVX-Project/PIVX#1513

* [REST] improve performance for JSON calls

bitcoin/bitcoin@30973e9

JSON calls do not use the raw data generated for
the .bin and .hex calls. By moving the raw data
creation into the .bin and .hex switch branches,
JSON calls become faster.

* Bump Version

* [Model][Performance] Unnecessary double cs_wallet and cs_main lock.

PIVX-Project/PIVX@9d94ea6

* Delete pkg.m4

Delete arrant pkg.m4 file never was needed

* Update Mac version

* Drop QT4 Support

* [BUILD][MacOS] Make Clean Images

* [Refactor][Move Only] Nonwallet RPC Move to Sub-Dir

* [Refactor][Move Only] Wallet Move to Sub-Dir

* Add Memusage

* [REFACTOR] Drop BOOST_FOREACH/REVERSE_FOREACH

* [REFACTOR] Move PAIRTYPE to std::pair & Q_FOREACH/foreach to for

* [LEVELDB]Use std::atomic instead of MemoryBarrier

* Update Copyright

* [Tests] Fix chain ordering in budget tests

PIVX-Project/PIVX#595

* [Doc] Change aarch assert sign output folder

PIVX-Project/PIVX#585

* [Wallet] Adjust staking properties to lower orphan rates.

PIVX-Project/PIVX#617

* [Wallet] Write new transactions to wtxOrdered properly

PIVX-Project/PIVX#597

* [Travis] Add separate job to check doc/logprint/subtree

Further getting up to date with pivx PIVX-Project/PIVX#639

* [Build] Make sure Boost headers are included for libzerocoin

PIVX-Project/PIVX#622

* [Build] Remove unnecessary BOOST dependency

PIVX-Project/PIVX#605

* [Bug] Fix CKarmanodeConfig::read

rebase from upstream. Windows doesn't initialize CService properly
during startup before the masternode.conf file is read.

PIVX-Project/PIVX@9837f53

* Add getaccumulatorvalues RPC

Return the accumulator values associated with a particular block height.

PIVX-Project/PIVX@8a6d425

* [GUI] Fix wrongly displayed balance on Overview tab

PIVX-Project/PIVX#598

* [Wallet] Fix double locked coin when wallet and MN are on same machine

PIVX-Project/PIVX#656

* [Qt] Add Tor service icon to status bar

Tor Icon is displayed when the client is initialized with a successful
tor service connection.

Icon is hidden otherwise.

PIVX-Project/PIVX@f9e18aa

* [Staking] Prevent potential negative out values during stake splitting

PIVX-Project/PIVX#952

* [QT] Set AA_EnableHighDpiScaling attribute early

Set AA_EnableHighDpiScaling attribute early

bitcoin/bitcoin@099e4b9

* [BUILD] Update bitcoin_qt.m4

* [QT] clean up initialize/shutdown signals

qt: clean up initialize/shutdown signals

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.

bitcoin/bitcoin#9834

* [Refactor] Set to nullptr after delete

bitcoin/bitcoin#10027

* [Main] Unify shutdown proceedure in init rather than per-app

and

[Startup][Refactor][Backport] Memory allocation fail handler + init step 1 refactored.

PIVX-Project/PIVX#1029

PIVX-Project/PIVX#769

* [GUI] Make "For anonymization and staking only" checked by default

PIVX-Project/PIVX#521

* [Trivial] Remove CMasternode::SliceHash

PIVX-Project/PIVX#1513

Co-authored-by: Crypto Pliskin <[email protected]>
Co-authored-by: Ra's Al Ghul <[email protected]>
2a5A1Ghu1 added a commit to theohmproject/ohmcoin that referenced this pull request Oct 28, 2020
* Fix croscompile for win32

* Update Segwit and Zerocoin (#47)

* Added all of the code for the update

* Fix URL Path

* Fixed default directory path

* Change masternode declarations to karmanode

* change to ohmcoin

* Create .gitignore

* Update .gitignore

* Update .gitignore

* karmanodefy

* Update proposallist.cpp

* Missing class

* Docs Masternode to karmanode

* Change mn(masternode) to kn(karmanode)

* Update doc and comment collateral

* More doc updates

* Fixed Karmanode references in proposal related files.

* Ckarmanode -> CKarmanode

* Karmanodefy Budget System

* Porotocol and Version Bump

* Protocol Enforcement

* Fix typo

* Spork fixes

* Fix Spork Typo

* Develop (#48)

* Added all of the code for the update

* Fix URL Path

* Fixed default directory path

* Change masternode declarations to karmanode

* change to ohmcoin

* Create .gitignore

* Update .gitignore

* Update .gitignore

* karmanodefy

* Update proposallist.cpp

* Missing class

* Docs Masternode to karmanode

* Change mn(masternode) to kn(karmanode)

* Update doc and comment collateral

* More doc updates

* Fixed Karmanode references in proposal related files.

* Ckarmanode -> CKarmanode

* Karmanodefy Budget System

* Porotocol and Version Bump

* Protocol Enforcement

* Fix typo

* Spork fixes

* Update README.md

* Fixes issues when building in 10.15

This will need to be built against different brew formulas that will be provided on release... This is also a temporary solution once fixes are made for building against updated dependencies.

* Qt Frontend Performace

Limits amount of txs loaded

* Added Qt Dependencies for Cross Compile

* Update spork.h

* [Qt][Bug] Load the most recent instead of the first transactions

PIVX-Project/PIVX@ec72107

* Fix QT and Boost bugs

phoreproject/Phore#140

* Update Seeders

* Update Budget and Regtest

* More Budget and Regtest

* Too Expressive

removed arrant paranthesis

* Added select coin strategy

phoreproject/Phore@5928d0b

* allow openssl1.0/1.1 to coexist

phoreproject/Phore@d1b6037

* Prevent RPC calls during warmup

* Changed for loop copies to references, and added stake logging

phoreproject/Phore@3e7f6cf

* Fixed masternode edit deleting two masternodes in list

* Fix staking assertion

phoreproject/Phore@0a6a243

* Added Python test for transaction too large issue

phoreproject/Phore@5b08df9

* Added benchmark in mutex lock

phoreproject/Phore@be2f913

* Fix bugs in mnemonic selection and mint maturity

phoreproject/Phore@c118242

* Revert "Fix bugs in mnemonic selection and mint maturity"

This reverts commit 2f242b0.

* Replaced mapNextTx with smaller map to reduce memory usage.

phoreproject/Phore@3a7c813

* Move ThreadStakeMinter out of net.cpp

phoreproject/Phore@5568806

* Revert "Changed for loop copies to references, and added stake logging"

This reverts commit 113aeea.

* Add missing QPainterPath include

PIVX-Project/PIVX@2e226ad

* Lighter Icons

* Update Checkpoints

* Switch Sporks

* Update Placeholder Address

* Ohmify

* Merge Block Changes (#56)

* Version 3.0.0.1 dev (#53)

* Version 3.0.0.1 dev
- Increase time between blocks at block 2977924 or when network has reached 95% upgrade threshold
- Change block time to 4 minutes
- Set  block reward to 6 on activation of new time
- Adjust new block enforce policy to 24 hour span

* fix flag check for; add fIgnoreLegacyBlocks

* move variable out of if statement, fix compile.

* Improve2 (#54)

* WIP: upgrade network upgrade features; testnet fixes..

* add this back for now..

* add missed file, optional.h

* more imports

* adjust imports for consensus.h

* correction

* fix moar missing imports

* add missing vars and fixes

* missing header declare

* changes..

* update makefile

* need this here too..

* fixed compile

* further fixed.

Co-authored-by: Jon <[email protected]>

* Zerocoin is not active; Actually use new block version parameter..

* Don't do this, zerocoin not active..

* remove or fix zerocoin at some later point.

* zerocoin is off.

* Adjust new block version update to use protocol version
Prepare for removal of zercoin; refactoring..
Implement sporks to enforce new version lock ins.

* fix compile issues

* get height for tip

* get consensus params

* add missing spork info

* Version 3.0.2.0

Co-authored-by: Crypto Pliskin <[email protected]>

* Fixes Wallet Lock Issue (#55)

* Fix block height condition

* Combine Spork 24 into 23

Co-authored-by: squidicuz <[email protected]>

* [REST] improve performance for JSON calls

bitcoin/bitcoin@30973e9

JSON calls do not use the raw data generated for
the .bin and .hex calls. By moving the raw data
creation into the .bin and .hex switch branches,
JSON calls become faster.

* Bump Version

* [Model][Performance] Unnecessary double cs_wallet and cs_main lock.

PIVX-Project/PIVX@9d94ea6

* Delete pkg.m4

Delete arrant pkg.m4 file never was needed

* Update Mac version

* Drop QT4 Support

* [BUILD][MacOS] Make Clean Images

* [Refactor][Move Only] Nonwallet RPC Move to Sub-Dir

* [Refactor][Move Only] Wallet Move to Sub-Dir

* Add Memusage

* [REFACTOR] Drop BOOST_FOREACH/REVERSE_FOREACH

* [REFACTOR] Move PAIRTYPE to std::pair & Q_FOREACH/foreach to for

* [LEVELDB]Use std::atomic instead of MemoryBarrier

* Update Copyright

* [Tests] Fix chain ordering in budget tests

PIVX-Project/PIVX#595

* [Doc] Change aarch assert sign output folder

PIVX-Project/PIVX#585

* [Wallet] Adjust staking properties to lower orphan rates.

PIVX-Project/PIVX#617

* [Wallet] Write new transactions to wtxOrdered properly

PIVX-Project/PIVX#597

* [Travis] Add separate job to check doc/logprint/subtree

Further getting up to date with pivx PIVX-Project/PIVX#639

* [Build] Make sure Boost headers are included for libzerocoin

PIVX-Project/PIVX#622

* [Build] Remove unnecessary BOOST dependency

PIVX-Project/PIVX#605

* [Bug] Fix CKarmanodeConfig::read

rebase from upstream. Windows doesn't initialize CService properly
during startup before the masternode.conf file is read.

PIVX-Project/PIVX@9837f53

* Add getaccumulatorvalues RPC

Return the accumulator values associated with a particular block height.

PIVX-Project/PIVX@8a6d425

* [GUI] Fix wrongly displayed balance on Overview tab

PIVX-Project/PIVX#598

* [Wallet] Fix double locked coin when wallet and MN are on same machine

PIVX-Project/PIVX#656

* [Qt] Add Tor service icon to status bar

Tor Icon is displayed when the client is initialized with a successful
tor service connection.

Icon is hidden otherwise.

PIVX-Project/PIVX@f9e18aa

* [Staking] Prevent potential negative out values during stake splitting

PIVX-Project/PIVX#952

* [QT] Set AA_EnableHighDpiScaling attribute early

Set AA_EnableHighDpiScaling attribute early

bitcoin/bitcoin@099e4b9

* [BUILD] Update bitcoin_qt.m4

* [QT] clean up initialize/shutdown signals

qt: clean up initialize/shutdown signals

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.

bitcoin/bitcoin#9834

* [Refactor] Set to nullptr after delete

bitcoin/bitcoin#10027

* [Main] Unify shutdown proceedure in init rather than per-app

and

[Startup][Refactor][Backport] Memory allocation fail handler + init step 1 refactored.

PIVX-Project/PIVX#1029

PIVX-Project/PIVX#769

* [GUI] Make "For anonymization and staking only" checked by default

PIVX-Project/PIVX#521

* [Trivial] Remove CMasternode::SliceHash

PIVX-Project/PIVX#1513

* [REST] improve performance for JSON calls

bitcoin/bitcoin@30973e9

JSON calls do not use the raw data generated for
the .bin and .hex calls. By moving the raw data
creation into the .bin and .hex switch branches,
JSON calls become faster.

* Bump Version

* [Model][Performance] Unnecessary double cs_wallet and cs_main lock.

PIVX-Project/PIVX@9d94ea6

* Delete pkg.m4

Delete arrant pkg.m4 file never was needed

* Update Mac version

* Drop QT4 Support

* [BUILD][MacOS] Make Clean Images

* [Refactor][Move Only] Nonwallet RPC Move to Sub-Dir

* [Refactor][Move Only] Wallet Move to Sub-Dir

* Add Memusage

* [REFACTOR] Drop BOOST_FOREACH/REVERSE_FOREACH

* [REFACTOR] Move PAIRTYPE to std::pair & Q_FOREACH/foreach to for

* [LEVELDB]Use std::atomic instead of MemoryBarrier

* Update Copyright

* [Tests] Fix chain ordering in budget tests

PIVX-Project/PIVX#595

* [Doc] Change aarch assert sign output folder

PIVX-Project/PIVX#585

* [Wallet] Adjust staking properties to lower orphan rates.

PIVX-Project/PIVX#617

* [Wallet] Write new transactions to wtxOrdered properly

PIVX-Project/PIVX#597

* [Travis] Add separate job to check doc/logprint/subtree

Further getting up to date with pivx PIVX-Project/PIVX#639

* [Build] Make sure Boost headers are included for libzerocoin

PIVX-Project/PIVX#622

* [Build] Remove unnecessary BOOST dependency

PIVX-Project/PIVX#605

* [Bug] Fix CKarmanodeConfig::read

rebase from upstream. Windows doesn't initialize CService properly
during startup before the masternode.conf file is read.

PIVX-Project/PIVX@9837f53

* Add getaccumulatorvalues RPC

Return the accumulator values associated with a particular block height.

PIVX-Project/PIVX@8a6d425

* [GUI] Fix wrongly displayed balance on Overview tab

PIVX-Project/PIVX#598

* [Wallet] Fix double locked coin when wallet and MN are on same machine

PIVX-Project/PIVX#656

* [Qt] Add Tor service icon to status bar

Tor Icon is displayed when the client is initialized with a successful
tor service connection.

Icon is hidden otherwise.

PIVX-Project/PIVX@f9e18aa

* [Staking] Prevent potential negative out values during stake splitting

PIVX-Project/PIVX#952

* [QT] Set AA_EnableHighDpiScaling attribute early

Set AA_EnableHighDpiScaling attribute early

bitcoin/bitcoin@099e4b9

* [BUILD] Update bitcoin_qt.m4

* [QT] clean up initialize/shutdown signals

qt: clean up initialize/shutdown signals

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.

bitcoin/bitcoin#9834

* [Refactor] Set to nullptr after delete

bitcoin/bitcoin#10027

* [Main] Unify shutdown proceedure in init rather than per-app

and

[Startup][Refactor][Backport] Memory allocation fail handler + init step 1 refactored.

PIVX-Project/PIVX#1029

PIVX-Project/PIVX#769

* [GUI] Make "For anonymization and staking only" checked by default

PIVX-Project/PIVX#521

* [Trivial] Remove CMasternode::SliceHash

PIVX-Project/PIVX#1513

Co-authored-by: Ra's Al Ghul <[email protected]>
Co-authored-by: Andrew LaChasse <[email protected]>
Co-authored-by: squidicuz <[email protected]>
2a5A1Ghu1 added a commit to theohmproject/ohmcoin that referenced this pull request Nov 2, 2020
* Ohmcoin performance Updates (#70)

* Fix croscompile for win32

* Update Segwit and Zerocoin (#47)

* Added all of the code for the update

* Fix URL Path

* Fixed default directory path

* Change masternode declarations to karmanode

* change to ohmcoin

* Create .gitignore

* Update .gitignore

* Update .gitignore

* karmanodefy

* Update proposallist.cpp

* Missing class

* Docs Masternode to karmanode

* Change mn(masternode) to kn(karmanode)

* Update doc and comment collateral

* More doc updates

* Fixed Karmanode references in proposal related files.

* Ckarmanode -> CKarmanode

* Karmanodefy Budget System

* Porotocol and Version Bump

* Protocol Enforcement

* Fix typo

* Spork fixes

* Fix Spork Typo

* Develop (#48)

* Added all of the code for the update

* Fix URL Path

* Fixed default directory path

* Change masternode declarations to karmanode

* change to ohmcoin

* Create .gitignore

* Update .gitignore

* Update .gitignore

* karmanodefy

* Update proposallist.cpp

* Missing class

* Docs Masternode to karmanode

* Change mn(masternode) to kn(karmanode)

* Update doc and comment collateral

* More doc updates

* Fixed Karmanode references in proposal related files.

* Ckarmanode -> CKarmanode

* Karmanodefy Budget System

* Porotocol and Version Bump

* Protocol Enforcement

* Fix typo

* Spork fixes

* Update README.md

* Fixes issues when building in 10.15

This will need to be built against different brew formulas that will be provided on release... This is also a temporary solution once fixes are made for building against updated dependencies.

* Qt Frontend Performace

Limits amount of txs loaded

* Added Qt Dependencies for Cross Compile

* Update spork.h

* [Qt][Bug] Load the most recent instead of the first transactions

PIVX-Project/PIVX@ec72107

* Fix QT and Boost bugs

phoreproject/Phore#140

* Update Seeders

* Update Budget and Regtest

* More Budget and Regtest

* Too Expressive

removed arrant paranthesis

* Added select coin strategy

phoreproject/Phore@5928d0b

* allow openssl1.0/1.1 to coexist

phoreproject/Phore@d1b6037

* Prevent RPC calls during warmup

* Changed for loop copies to references, and added stake logging

phoreproject/Phore@3e7f6cf

* Fixed masternode edit deleting two masternodes in list

* Fix staking assertion

phoreproject/Phore@0a6a243

* Added Python test for transaction too large issue

phoreproject/Phore@5b08df9

* Added benchmark in mutex lock

phoreproject/Phore@be2f913

* Fix bugs in mnemonic selection and mint maturity

phoreproject/Phore@c118242

* Revert "Fix bugs in mnemonic selection and mint maturity"

This reverts commit 2f242b0.

* Replaced mapNextTx with smaller map to reduce memory usage.

phoreproject/Phore@3a7c813

* Move ThreadStakeMinter out of net.cpp

phoreproject/Phore@5568806

* Revert "Changed for loop copies to references, and added stake logging"

This reverts commit 113aeea.

* Add missing QPainterPath include

PIVX-Project/PIVX@2e226ad

* Lighter Icons

* Update Checkpoints

* Switch Sporks

* Update Placeholder Address

* Ohmify

* Merge Block Changes (#56)

* Version 3.0.0.1 dev (#53)

* Version 3.0.0.1 dev
- Increase time between blocks at block 2977924 or when network has reached 95% upgrade threshold
- Change block time to 4 minutes
- Set  block reward to 6 on activation of new time
- Adjust new block enforce policy to 24 hour span

* fix flag check for; add fIgnoreLegacyBlocks

* move variable out of if statement, fix compile.

* Improve2 (#54)

* WIP: upgrade network upgrade features; testnet fixes..

* add this back for now..

* add missed file, optional.h

* more imports

* adjust imports for consensus.h

* correction

* fix moar missing imports

* add missing vars and fixes

* missing header declare

* changes..

* update makefile

* need this here too..

* fixed compile

* further fixed.

Co-authored-by: Jon <[email protected]>

* Zerocoin is not active; Actually use new block version parameter..

* Don't do this, zerocoin not active..

* remove or fix zerocoin at some later point.

* zerocoin is off.

* Adjust new block version update to use protocol version
Prepare for removal of zercoin; refactoring..
Implement sporks to enforce new version lock ins.

* fix compile issues

* get height for tip

* get consensus params

* add missing spork info

* Version 3.0.2.0

Co-authored-by: Crypto Pliskin <[email protected]>

* Fixes Wallet Lock Issue (#55)

* Fix block height condition

* Combine Spork 24 into 23

Co-authored-by: squidicuz <[email protected]>

* [REST] improve performance for JSON calls

bitcoin/bitcoin@30973e9

JSON calls do not use the raw data generated for
the .bin and .hex calls. By moving the raw data
creation into the .bin and .hex switch branches,
JSON calls become faster.

* Bump Version

* [Model][Performance] Unnecessary double cs_wallet and cs_main lock.

PIVX-Project/PIVX@9d94ea6

* Delete pkg.m4

Delete arrant pkg.m4 file never was needed

* Update Mac version

* Drop QT4 Support

* [BUILD][MacOS] Make Clean Images

* [Refactor][Move Only] Nonwallet RPC Move to Sub-Dir

* [Refactor][Move Only] Wallet Move to Sub-Dir

* Add Memusage

* [REFACTOR] Drop BOOST_FOREACH/REVERSE_FOREACH

* [REFACTOR] Move PAIRTYPE to std::pair & Q_FOREACH/foreach to for

* [LEVELDB]Use std::atomic instead of MemoryBarrier

* Update Copyright

* [Tests] Fix chain ordering in budget tests

PIVX-Project/PIVX#595

* [Doc] Change aarch assert sign output folder

PIVX-Project/PIVX#585

* [Wallet] Adjust staking properties to lower orphan rates.

PIVX-Project/PIVX#617

* [Wallet] Write new transactions to wtxOrdered properly

PIVX-Project/PIVX#597

* [Travis] Add separate job to check doc/logprint/subtree

Further getting up to date with pivx PIVX-Project/PIVX#639

* [Build] Make sure Boost headers are included for libzerocoin

PIVX-Project/PIVX#622

* [Build] Remove unnecessary BOOST dependency

PIVX-Project/PIVX#605

* [Bug] Fix CKarmanodeConfig::read

rebase from upstream. Windows doesn't initialize CService properly
during startup before the masternode.conf file is read.

PIVX-Project/PIVX@9837f53

* Add getaccumulatorvalues RPC

Return the accumulator values associated with a particular block height.

PIVX-Project/PIVX@8a6d425

* [GUI] Fix wrongly displayed balance on Overview tab

PIVX-Project/PIVX#598

* [Wallet] Fix double locked coin when wallet and MN are on same machine

PIVX-Project/PIVX#656

* [Qt] Add Tor service icon to status bar

Tor Icon is displayed when the client is initialized with a successful
tor service connection.

Icon is hidden otherwise.

PIVX-Project/PIVX@f9e18aa

* [Staking] Prevent potential negative out values during stake splitting

PIVX-Project/PIVX#952

* [QT] Set AA_EnableHighDpiScaling attribute early

Set AA_EnableHighDpiScaling attribute early

bitcoin/bitcoin@099e4b9

* [BUILD] Update bitcoin_qt.m4

* [QT] clean up initialize/shutdown signals

qt: clean up initialize/shutdown signals

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.

bitcoin/bitcoin#9834

* [Refactor] Set to nullptr after delete

bitcoin/bitcoin#10027

* [Main] Unify shutdown proceedure in init rather than per-app

and

[Startup][Refactor][Backport] Memory allocation fail handler + init step 1 refactored.

PIVX-Project/PIVX#1029

PIVX-Project/PIVX#769

* [GUI] Make "For anonymization and staking only" checked by default

PIVX-Project/PIVX#521

* [Trivial] Remove CMasternode::SliceHash

PIVX-Project/PIVX#1513

* [REST] improve performance for JSON calls

bitcoin/bitcoin@30973e9

JSON calls do not use the raw data generated for
the .bin and .hex calls. By moving the raw data
creation into the .bin and .hex switch branches,
JSON calls become faster.

* Bump Version

* [Model][Performance] Unnecessary double cs_wallet and cs_main lock.

PIVX-Project/PIVX@9d94ea6

* Delete pkg.m4

Delete arrant pkg.m4 file never was needed

* Update Mac version

* Drop QT4 Support

* [BUILD][MacOS] Make Clean Images

* [Refactor][Move Only] Nonwallet RPC Move to Sub-Dir

* [Refactor][Move Only] Wallet Move to Sub-Dir

* Add Memusage

* [REFACTOR] Drop BOOST_FOREACH/REVERSE_FOREACH

* [REFACTOR] Move PAIRTYPE to std::pair & Q_FOREACH/foreach to for

* [LEVELDB]Use std::atomic instead of MemoryBarrier

* Update Copyright

* [Tests] Fix chain ordering in budget tests

PIVX-Project/PIVX#595

* [Doc] Change aarch assert sign output folder

PIVX-Project/PIVX#585

* [Wallet] Adjust staking properties to lower orphan rates.

PIVX-Project/PIVX#617

* [Wallet] Write new transactions to wtxOrdered properly

PIVX-Project/PIVX#597

* [Travis] Add separate job to check doc/logprint/subtree

Further getting up to date with pivx PIVX-Project/PIVX#639

* [Build] Make sure Boost headers are included for libzerocoin

PIVX-Project/PIVX#622

* [Build] Remove unnecessary BOOST dependency

PIVX-Project/PIVX#605

* [Bug] Fix CKarmanodeConfig::read

rebase from upstream. Windows doesn't initialize CService properly
during startup before the masternode.conf file is read.

PIVX-Project/PIVX@9837f53

* Add getaccumulatorvalues RPC

Return the accumulator values associated with a particular block height.

PIVX-Project/PIVX@8a6d425

* [GUI] Fix wrongly displayed balance on Overview tab

PIVX-Project/PIVX#598

* [Wallet] Fix double locked coin when wallet and MN are on same machine

PIVX-Project/PIVX#656

* [Qt] Add Tor service icon to status bar

Tor Icon is displayed when the client is initialized with a successful
tor service connection.

Icon is hidden otherwise.

PIVX-Project/PIVX@f9e18aa

* [Staking] Prevent potential negative out values during stake splitting

PIVX-Project/PIVX#952

* [QT] Set AA_EnableHighDpiScaling attribute early

Set AA_EnableHighDpiScaling attribute early

bitcoin/bitcoin@099e4b9

* [BUILD] Update bitcoin_qt.m4

* [QT] clean up initialize/shutdown signals

qt: clean up initialize/shutdown signals

 - Change initializeResult(int) to initializeResult(bool) to avoid
   implicit type conversion.
 - Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
 - Remove the argument from shutdownResult(int); it was called with a
   constant argument.

bitcoin/bitcoin#9834

* [Refactor] Set to nullptr after delete

bitcoin/bitcoin#10027

* [Main] Unify shutdown proceedure in init rather than per-app

and

[Startup][Refactor][Backport] Memory allocation fail handler + init step 1 refactored.

PIVX-Project/PIVX#1029

PIVX-Project/PIVX#769

* [GUI] Make "For anonymization and staking only" checked by default

PIVX-Project/PIVX#521

* [Trivial] Remove CMasternode::SliceHash

PIVX-Project/PIVX#1513

Co-authored-by: Ra's Al Ghul <[email protected]>
Co-authored-by: Andrew LaChasse <[email protected]>
Co-authored-by: squidicuz <[email protected]>

* Add checkpoints; Add Activation Blockhash for Version 3.0.2

Co-authored-by: Ra's Al Ghul <[email protected]>
Co-authored-by: squidicuz <[email protected]>
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants