Skip to content

Commit

Permalink
update chainparams, and change ps2h to small a
Browse files Browse the repository at this point in the history
  • Loading branch information
9cat committed Jan 26, 2019
1 parent 4cb7b34 commit f4fd92a
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.vscode/
release/

src/aib-cli
src/aib-tx
src/aibd
Expand Down
3 changes: 3 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ Building AIB

See doc/build-*.md for instructions on building the various
elements of the AIB Core reference implementation of AIB.

autobuild linux version use build-linux.sh

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
AIB Core integration/staging tree
AIB Core integration/staging tree
=====================================
[Master Branch is our working , it is not stable , and has many bugs]
[Use stable release with Tag Version]


[![Build Status](https://travis-ci.org/aib/aib.svg?branch=master)](https://travis-ci.org/aib/aib)

Expand Down
20 changes: 20 additions & 0 deletions build-linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright (c) 2014-2019 The AIB Community developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.


git checkout master
git reset --hard HEAD
git pull
cd depends/
make -j8
cd ../
./autogen.sh
./configure --enable-glibc-back-compat --prefix=`pwd`/depends/x86_64-pc-linux-gnu LDFLAGS="-static-libstdc++" --disable-tests --disable-bench
make -j8
mkdir release
mv src/aibd release/
mv src/aib-cli release/
mv src/aib-tx release/
strip release/*
14 changes: 8 additions & 6 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Copyright (c) 2014-2019 The AIB Core developers

// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand Down Expand Up @@ -69,8 +71,8 @@
#define WTMINT_ENFORCE_BIP66_HEIGHT 2400000 // TODO: AIB MERGE RECEHCK change to actual number after release

//Wallet starting letter
#define WTMINT_PUBKEY_ADDRESS 23 // Dec.
#define WTMINT_SCRPIT_ADDRESS 5 // Dec.
#define WTMINT_PUBKEY_ADDRESS 23 // Dec. Start with Capital A
#define WTMINT_SCRPIT_ADDRESS 83 // Dec. Start with Smallcase a
#define WTMINT_SECRET_ADDRESS 151 // Dec.

#define WTMINT_TESTNET_PUBKEY_ADDRESS 65 // Dec.
Expand Down Expand Up @@ -251,10 +253,10 @@ class CMainParams : public CChainParams {
// This is fine at runtime as we'll fall back to using them as a oneshot if they don't support the
// service bits we want, but we should get them updated to support all service bits wanted by any
// release ASAP to avoid it where possible.

vSeeds.emplace_back("seed.wtmint.com");
vSeeds.emplace_back("seed.iobond.com");
vSeeds.emplace_back("seed.aib.one");
vSeeds.emplace_back("seed.aib.one");
vSeeds.emplace_back("seed.aib.cash");
vSeeds.emplace_back("seed.iobond.com");


base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,WTMINT_PUBKEY_ADDRESS);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,WTMINT_SCRPIT_ADDRESS);
Expand Down

0 comments on commit f4fd92a

Please sign in to comment.