1
0
Fork 0
forked from lthn/blockchain
Secure. Scalable. Easy to Use
Find a file
zetov d11a124142 fix sync block view (#115)
* test details & close btn

* compiled

* confirm modal

* delete "cancel" btn from aliases

* fix copy btn

* text alias fix

* confirm pop up

* lock & unlock transaction

* confirm pop up comment fix

* compiled

* rebuild html

* contact service

* rebuild html

* fix add contact + rebuild html

* allow symbols at name field diffrent from latin

* fix export import

* alias fix

* fix master pass (immigration 41 > 43)

* rebuild html

* commit

* fix

* rebuild

* fix modal width

* add type '.csv',validation empty contact list/file

* merge

* fix data.foreach & rebuild html

* fix countdown + counter of blocks

* fix logout without master pass

* fix sync block view
2019-09-06 14:10:24 +02:00
contrib ethash: more logs 2019-08-30 03:57:45 +03:00
resources Moved sources to public repo 2018-12-27 18:50:45 +03:00
src fix sync block view (#115) 2019-09-06 14:10:24 +02:00
tests coretests: hard_fork_1_pos_locked_height_vs_time added (exposes an issue) 2019-09-05 19:06:35 +03:00
utils build script windows: signing added 2019-09-04 15:23:04 +03:00
.clang-format added clangformat file 2019-05-21 14:56:30 +02:00
.gitattributes Moved sources to public repo 2018-12-27 18:50:45 +03:00
.gitignore Moved sources to public repo 2018-12-27 18:50:45 +03:00
.gitmodules reverting commit cca48ed718 "contrib: update LMDB to 0.9.23, use submodule (#27)" 2019-05-21 18:18:20 +03:00
CMakeLists.txt generated genesis for testnet, added missed lib to boost 2019-05-24 18:37:27 +02:00
crowdin.yml Update Crowdin configuration file 2019-07-19 19:01:30 +02:00
Makefile Makefile: remove redundant GUI target 2019-03-14 23:26:50 +00:00
README.md Update cloning instruction (#29) 2019-05-24 12:21:04 +02:00

Building

Cloning

Be sure to properly clone the repository:

$ git clone --recursive https://github.com/hyle-team/zano.git

Dependencies

component / version minimum
(not recommended but may work)
recommended most recent of what we have ever tested
gcc (Linux) 5.4.0 7.2.0 8.3.0
llvm/clang (Linux) UNKNOWN 7.0.1 8.0.0
MSVC (Windows) 2015 (14.0 update 1) 2015 (14.0 update 3) 2017 (15.5.7)
XCode (macOS) 7.3.1 9.2 9.2
CMake 2.8.6 3.4.1 3.11.0
Boost 1.56 1.60 1.66
Qt (only for GUI) 5.8.0 5.9.1 5.10.1

Linux

Recommended OS version: Ubuntu 17.04 LTS.

  1. For server version:
    $ sudo apt-get install -y build-essential g++ python-dev autotools-dev libicu-dev libbz2-dev cmake git libboost-all-dev screen
    For GUI version:
    $ sudo apt-get install -y build-essential g++ python-dev autotools-dev libicu-dev libbz2-dev cmake git libboost-all-dev screen mesa-common-dev libglu1-mesa-dev qt5-default qtwebengine5-dev

  2. $ cd zano/ && make -j$(nproc) gui

  3. Look for the binaries, including the Zano GUI, in the build directory

Windows

Recommended OS version: Windows 7 x64.

  1. Install required prerequisites.
  2. Edit paths in utils/configure_local_paths.cmd.
  3. Run utils/configure_win64_msvs2015_gui.cmd or utils/configure_win64_msvs2017_gui.cmd according to your MSVC version.
  4. Go to the build folder and open generated Zano.sln in MSVC.
  5. Build.

In order to correctly deploy Qt GUI application you also need to do the following: 6. Copy Zano.exe to a folder (e.g. depoy). 7. Run PATH_TO_QT\bin\windeployqt.exe deploy/Zano.exe. 8. Copy folder \src\gui\qt-daemon\html to deploy\html.

macOS

Recommended OS version: macOS Sierra 10.12.6 x64.

  1. Install required prerequisites.
  2. Set environment variables as stated in utils/macosx_build_config.command.
  3. mkdir build
    cd build
    cmake ..
    make

To build GUI application:

  1. Create self-signing certificate via Keychain Access: a. Run Keychain Access. b. Choose Keychain Access > Certificate Assistant > Create a Certificate. c. Use “Zano” (without quotes) as certificate name. d. Choose “Code Signing” in “Certificate Type” field. e. Press “Create”, then “Done”. f. Make sure the certificate was added to keychain "System". If not—move it to "System". g. Double click the certificate you've just added, enter the trust section and under "When using this certificate" select "Always trust". h. Unfold the certificate in Keychain Access window and double click underlying private key "Zano". Select "Access Control" tab, then select "Allow all applications to access this item". Click "Save Changes".
  2. Revise building script, comment out unwanted steps and run it: utils/build_script_mac_osx.sh
  3. The application should be here: /buid_mac_osx_64/release/src