No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Galterian Merge branch 'feature/functional_tests_init' into 'github_master'
CI tweaks

See merge request LockTrip-Dev-Team/LockTrip!68
Latest commit 6e4c03a Nov 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.tx
build-aux/m4 Build fix and add qtum and cryptopp libraries Jan 15, 2018
contrib
depends
doc Fix windows readme Oct 17, 2018
qa/rpc-tests Merge the code for contract and sender for createrawtransaction and s… Apr 16, 2018
share replaced qtum with locktrip strings on certain places Oct 15, 2018
src
test
.gitattributes Separate protocol versioning from clientversion Oct 29, 2014
.gitignore update readmes Oct 10, 2018
.gitlab-ci.yml
.gitmodules Change submodule link Oct 17, 2018
.travis.yml
CONTRIBUTING.md LCC-12 - revise all MD files and create tasks Oct 8, 2018
COPYING Port licence and readme Mar 20, 2018
Makefile.am Initial commit Oct 5, 2018
README.md LCC-12 - revise all MD files and create tasks Oct 8, 2018
autogen.sh Remove cmake build in autogen Aug 2, 2017
cd_gcloud_vm.sh
configure.ac Bump version Oct 18, 2018
libbitcoinconsensus.pc.in Unify package name to as few places as possible without major changes Dec 14, 2015
service-account_ubuntu.json Initial commit Oct 5, 2018

README.md

What is LockTrip?

LockTrip is a decentralized open source bookings ecosystem for renting hotel rooms, private properties or accommodation. LockTrip will be the first system which allows end customers and property owners to deal with each other on the platform without any fee or commission.

The LockTrip Blockchain is a hybrid utilizing the transaction model of Bitcoin and employing the powerful virtual machine of Ethereum. It is based on the Bitcoin Core, Ethereum and Qtum. It features a Proof of Stake consensus mechanism, high transaction throughput, democratic governance of key parameters, predictable network fees and a unique profit-sharing system.

License

LockTrip is GPLv3 licensed

Resources

Devnet explorer: http://explorer.locktrip.com/ Devnet faucet: http://faucet.locktrip.com Wallet downloads: https://github.com/LockTrip/Blockchain/releases

Building LockTrip Blockchain

Build on Ubuntu

# This is a quick start script for compiling LockTrip on  Ubuntu

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

# If you want to build the Qt GUI:
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler qrencode

git clone https://github.com/LockTrip/Blockchain.git --recursive
cd LockTrip

# Note autogen will prompt to install some more dependencies if needed
./autogen.sh
./configure 
make -j2

Build on CentOS

Here is a brief description for compiling LockTrip on CentOS

# Compiling boost manually
sudo yum install python-devel bzip2-devel
git clone https://github.com/boostorg/boost.git
cd boost
git checkout boost-1.66.0
git submodule update --init --recursive
./bootstrap.sh --prefix=/usr --libdir=/usr/lib64
./b2 headers
sudo ./b2 -j4 install

# Installing Dependencies for LockTrip
sudo yum install epel-release
sudo yum install libtool libdb4-cxx-devel openssl-devel libevent-devel

# If you want to build the Qt GUI:
sudo yum install qt5-qttools-devel protobuf-devel qrencode-devel

# Building LockTrip
git clone --recursive https://github.com/LockTrip/Blockchain.git
cd LockTrip
./autogen.sh
./configure
make -j4

Build on OSX

The commands in this guide should be executed in a Terminal application. The built-in one is located in /Applications/Utilities/Terminal.app.

Preparation

Install the OS X command line tools:

xcode-select --install

When the popup appears, click Install.

Then install Homebrew.

Dependencies

brew install cmake automake berkeley-db4 libtool boost --c++11 --without-single --without-static miniupnpc openssl pkg-config protobuf qt5 libevent imagemagick --with-librsvg qrencode

NOTE: Building with Qt4 is still supported, however, could result in a broken UI. Building with Qt5 is recommended.

Build LockTrip

  1. Clone the LockTrip source code and cd into LockTrip

     git clone --recursive https://github.com/LockTrip/Blockchain.git
     cd LockTrip
    
  2. Build LockTrip:

    Configure and build the headless LockTrip binaries as well as the GUI (if Qt is found).

    You can disable the GUI build by passing --without-gui to configure.

    ./autogen.sh
    ./configure
    make
    
  3. It is recommended to build and run the unit tests:

    make check
    

Run

Then you can either run the command-line daemon using src/locktripd and src/locktrip-cli, or you can run the Qt GUI using src/qt/locktrip-qt