Closed firstcryptoman closed 5 months ago
The update introduces enhanced build instructions for macOS, improved UI resizing functionality, and clearer error messages across various classes. Most significant is the addition of resizeEvent
methods to dynamically adjust component sizes based on window dimensions and informative errors for transaction size limits.
File(s) | Change Summary |
---|---|
doc/build-macos.md |
Reorganized build instructions for macOS, clarified steps, and added instructions for building and running unit tests. |
src/qt/bitcoingui.cpp , src/qt/bitcoingui.h |
Refined toolbar and logoLabel declarations; added resizeEvent method for dynamic resizing. |
src/qt/masternodelist.cpp , src/qt/masternodelist.h |
Added methods resizeEvent and adjustTextSize for dynamic component resizing and text size adjustment. |
src/qt/overviewpage.cpp , src/qt/overviewpage.h |
Introduced resizeEvent and adjustTextSize methods to handle resizing events and adjust widget dimensions. |
src/qt/receivecoinsdialog.cpp , src/qt/receivecoinsdialog.h |
Added resizeEvent and adjustTextSize methods for dynamic UI adjustments. |
src/qt/sendcoinsdialog.cpp , src/qt/sendcoinsdialog.h |
Implemented methods to handle resize events and adjust text sizes dynamically. |
src/qt/sendcoinsentry.cpp , src/qt/sendcoinsentry.h |
Introduced resizeEvent and adjustTextSize methods for dynamic resizing. |
src/qt/transactionview.cpp , src/qt/transactionview.h |
Added resizeEvent and adjustTextSize methods for adjusting component sizes based on resize events. |
src/rpc/misc.cpp , src/rpc/server.cpp , src/rpc/server.h |
Added checkifmncollateral function and RPC command for masternode collateral checks. |
src/spark/sparkwallet.cpp , src/wallet/lelantusjoinsplitbuilder.cpp , src/wallet/txbuilder.cpp , src/wallet/wallet.cpp |
Updated error messages for better guidance on transaction size limits. |
sequenceDiagram
participant User
participant GUI
participant Wallet
User->>+GUI: Initiate Transaction
GUI->>+Wallet: Create Transaction
Wallet-->>GUI: Transaction too large (size limit: 100Kb). Select less inputs or consolidate your UTXOs
GUI-->>User: Display Error Message
In fields where code and bytes do leap,
A rabbit sang with heart so deep.
"Resize your windows, let them play,
Adjust text size without delay!
Errors clear as morning dew,
Build on Mac, just follow through."
🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Closing this PR due to integration conflicts with recent updates in the master branch; I will resolve these and reopen a new PR as needed.
Description
This pull request revises the macOS build instructions for the Firo wallet, addressing dependency recognition and configuration issues on macOS Sonoma 14.5 with an M chip Mac.
Key Changes Include:
Boost Library Configuration:
Dependency Installation Adjustments:
m4
andpython-setuptools
in the Homebrew installation commands, addressing issues where these tools were not recognized post-installation. This ensures a more streamlined setup and reduces configuration errors during the build process.Environment Setup:
Purpose:
The updates aim to streamline the setup process for developers on macOS, ensuring all key dependencies like Boost,
m4
, andpython-setuptools
are installed and recognized correctly, enhancing the clarity and accuracy of the build instructions.Testing:
These revised instructions have been tested on macOS Sonoma 14.5 with an M chip Mac.