Compare commits
67 Commits
v0.7.0.0-j
...
master
Author | SHA1 | Date |
---|---|---|
wowario | 804c7586d5 | 3 years ago |
wowario | cc0e40e6dc | 3 years ago |
wowario | f504bad5ae | 3 years ago |
wowario | fce1ee2b22 | 3 years ago |
wowario | 7f69814827 | 3 years ago |
wowario | 7918db09ec | 3 years ago |
wowario | f53fd248d6 | 4 years ago |
jw | b3b54abed6 | 4 years ago |
fuwa | d27ff15c63 | 4 years ago |
fuwa | 93e8017435 | 4 years ago |
jw | d62434b2a9 | 4 years ago |
fuwa | 7598775243 | 4 years ago |
fuwa | 77d637aaf1 | 4 years ago |
fuwa | 589e223c4a | 4 years ago |
fuwa | ffc9aceeae | 4 years ago |
fuwa | 87fd4e8bee | 4 years ago |
fuwa | e9bc70a26d | 4 years ago |
fuwa | 95a6ad7ae5 | 4 years ago |
fuwa | 44dad34fa2 | 4 years ago |
fuwa | a0557ba036 | 4 years ago |
fuwa | a598d517cd | 4 years ago |
fuwa | b845c6eee2 | 4 years ago |
fuwa | c60b82e608 | 4 years ago |
fuwa | 034baa21d2 | 4 years ago |
fuwa | a4cf3bb9de | 4 years ago |
fuwa | 00b12b09a9 | 4 years ago |
fuwa | 022ed929dc | 4 years ago |
fuwa | 4386f00f6a | 4 years ago |
fuwa | e2d90dbca9 | 4 years ago |
fuwa | 73a50151bd | 4 years ago |
jw | cc5f0a6882 | 4 years ago |
fuwa | cff517b6b0 | 4 years ago |
fuwa | 62edd0c4f9 | 4 years ago |
fuwa | b02b5f8bb3 | 4 years ago |
fuwa | c6d6f2984f | 4 years ago |
fuwa | 4e16219f61 | 4 years ago |
fuwa | 597b9bdb84 | 4 years ago |
fuwa | 54ff3cf83c | 4 years ago |
fuwa | 03cbfc78f3 | 4 years ago |
fuwa | 48b87fa11f | 4 years ago |
fuwa | 14b1d83672 | 4 years ago |
jw | 647412fb81 | 4 years ago |
fuwa | 52867a79d4 | 4 years ago |
fuwa | 4759e76b32 | 4 years ago |
fuwa | 094417ac68 | 4 years ago |
fuwa | a35249348f | 4 years ago |
fuwa | 5d850823ca | 4 years ago |
fuwa | 5f63666ab7 | 4 years ago |
fuwa | fad6080035 | 4 years ago |
fuwa | 12b41c1d54 | 4 years ago |
fuwa | 1c61f7c8d5 | 4 years ago |
fuwa | deb2d961c4 | 4 years ago |
fuwa | c31df8bf2f | 4 years ago |
fuwa | e316b7b897 | 4 years ago |
fuwa | e5b1283103 | 4 years ago |
fuwa | 54baa98ae3 | 4 years ago |
fuwa | 98ab9869aa | 4 years ago |
fuwa | c7972d63a5 | 4 years ago |
fuwa | f5f457bd65 | 4 years ago |
fuwa | ecd17336ad | 4 years ago |
fuwa | a258f7ee9e | 4 years ago |
fuwa | 7fa0c4d249 | 4 years ago |
fuwa | 329f3d996a | 4 years ago |
fuwa | bf652633f8 | 4 years ago |
fuwa | 9d52582552 | 4 years ago |
fuwa | fa4e1458e2 | 4 years ago |
fuwa | ec07428e6d | 4 years ago |
@ -1,66 +1,3 @@
|
|||||||
# CyberWOW
|
# CyberWOW Mobile Node
|
||||||
|
|
||||||
A dumb android pruned full node for Wownero.
|
archived
|
||||||
|
|
||||||
[<img src="https://f-droid.org/badge/get-it-on.png"
|
|
||||||
alt="Get it on F-Droid"
|
|
||||||
height="80">](https://f-droid.org/en/packages/org.wownero.cyberwow/)
|
|
||||||
<a href='https://play.google.com/store/apps/details?id=org.wownero.cyberwow'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' height='80'/></a>
|
|
||||||
|
|
||||||
## How to build
|
|
||||||
|
|
||||||
### Compile wownerod for android-arm64
|
|
||||||
|
|
||||||
#### Simple method with Docker
|
|
||||||
|
|
||||||
```
|
|
||||||
pushd .
|
|
||||||
git clone https://github.com/wownero/wownero
|
|
||||||
cd wownero
|
|
||||||
git submodule init && git submodule update
|
|
||||||
|
|
||||||
docker build -f utils/build_scripts/android64.Dockerfile -t wownero-android .
|
|
||||||
# Create container
|
|
||||||
docker create -it --name wownero-android wownero-android bash
|
|
||||||
# Get binaries
|
|
||||||
docker cp wownero-android:/src/build/release/bin .
|
|
||||||
```
|
|
||||||
|
|
||||||
The binary needed is `./bin/wownerod`.
|
|
||||||
|
|
||||||
#### Alternative methods
|
|
||||||
|
|
||||||
1. One docker instance per hash
|
|
||||||
|
|
||||||
See `etc/scripts/docker-build-wownero.sh`, modify the value of `version` per build.
|
|
||||||
|
|
||||||
2. Debian based system similar to F-droid
|
|
||||||
|
|
||||||
See the `wow` task in `Makefile`.
|
|
||||||
|
|
||||||
### Install flutter and make sure it's in path
|
|
||||||
|
|
||||||
### Compile CyberWOW
|
|
||||||
|
|
||||||
```
|
|
||||||
popd
|
|
||||||
git clone https://github.com/wownero/cyberwow/
|
|
||||||
cd cyberwow
|
|
||||||
|
|
||||||
mkdir -p cyberwow/android/app/src/main/jniLibs/arm64-v8a
|
|
||||||
|
|
||||||
# Copy wownerod that we just built
|
|
||||||
cp $PATH_TO_WOWNEROD \
|
|
||||||
cyberwow/android/app/src/main/jniLibs/arm64-v8a/libwownerod.so
|
|
||||||
|
|
||||||
make build
|
|
||||||
```
|
|
||||||
|
|
||||||
The resulting apk is `cyberwow/build/app/outputs/apk/release/app-release.apk`.
|
|
||||||
|
|
||||||
|
|
||||||
## How to use custom start up arguments
|
|
||||||
|
|
||||||
Sending the arguments to an unopened CyberWOW app will cause `wownerod` to use them on start up, for example:
|
|
||||||
|
|
||||||
`--add-exclusive-node 192.168.1.3`
|
|
||||||
|
After Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 22 KiB |
@ -1,36 +0,0 @@
|
|||||||
/*
|
|
||||||
|
|
||||||
Copyright 2019 fuwa
|
|
||||||
|
|
||||||
This file is part of CyberWOW.
|
|
||||||
|
|
||||||
CyberWOW is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
CyberWOW is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with CyberWOW. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
import 'dart:async';
|
|
||||||
import 'dart:io';
|
|
||||||
|
|
||||||
import 'package:path_provider/path_provider.dart';
|
|
||||||
import 'package:flutter/foundation.dart';
|
|
||||||
|
|
||||||
Future<String> getBinaryPath(final String name) async {
|
|
||||||
final tmpDir = await getTemporaryDirectory();
|
|
||||||
return tmpDir.path + '/' + name;
|
|
||||||
}
|
|
||||||
|
|
||||||
Future<bool> binaryExists(final String name) async {
|
|
||||||
final binPath = await getBinaryPath(name);
|
|
||||||
return new File(binPath).exists();
|
|
||||||
}
|
|
@ -0,0 +1,79 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
Copyright 2019 fuwa
|
||||||
|
|
||||||
|
This file is part of CyberWOW.
|
||||||
|
|
||||||
|
CyberWOW is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
CyberWOW is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with CyberWOW. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
import 'dart:async';
|
||||||
|
import 'dart:convert';
|
||||||
|
|
||||||
|
import 'package:http/http.dart' as http;
|
||||||
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
||||||
|
import '../../../config.dart' as config;
|
||||||
|
import '../../../helper.dart';
|
||||||
|
import '../../../logging.dart';
|
||||||
|
|
||||||
|
Future<http.Response> rpcHTTP(final String method) async {
|
||||||
|
final url = 'http://${config.host}:${config.c.port}/json_rpc';
|
||||||
|
|
||||||
|
final body = json.encode
|
||||||
|
(
|
||||||
|
{
|
||||||
|
'jsonrpc': '2.0',
|
||||||
|
'method': method,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
try {
|
||||||
|
final response = await http.post
|
||||||
|
( url,
|
||||||
|
body: body
|
||||||
|
);
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
log.warning(e);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dynamic jsonDecode(final String responseBody) => json.decode(responseBody);
|
||||||
|
|
||||||
|
Future<dynamic> rpc(final String method, {final String field}) async {
|
||||||
|
final response = await rpcHTTP(method);
|
||||||
|
|
||||||
|
if (response == null) return null;
|
||||||
|
|
||||||
|
if (response.statusCode != 200) {
|
||||||
|
return null;
|
||||||
|
} else {
|
||||||
|
final _body = await compute(jsonDecode, response.body);
|
||||||
|
final _result = _body['result'];
|
||||||
|
if (_result == null) return null;
|
||||||
|
|
||||||
|
final _field = field == null ? _result : _result[field];
|
||||||
|
|
||||||
|
return _field;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<String> rpcString(final String method, {final String field}) async {
|
||||||
|
final _field = await rpc(method, field: field);
|
||||||
|
return pretty(_field);
|
||||||
|
}
|
@ -0,0 +1,64 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
Copyright 2019 fuwa
|
||||||
|
|
||||||
|
This file is part of CyberWOW.
|
||||||
|
|
||||||
|
CyberWOW is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
CyberWOW is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with CyberWOW. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
import 'dart:async';
|
||||||
|
import 'dart:convert';
|
||||||
|
import 'dart:math';
|
||||||
|
|
||||||
|
import 'package:http/http.dart' as http;
|
||||||
|
import 'package:flutter/foundation.dart';
|
||||||
|
import 'package:intl/intl.dart';
|
||||||
|
|
||||||
|
import '../../../config.dart' as config;
|
||||||
|
import '../../../helper.dart';
|
||||||
|
import '../../../logging.dart';
|
||||||
|
|
||||||
|
Future<http.Response> rpc2(final String method) async {
|
||||||
|
final url = 'http://${config.host}:${config.c.port}/${method}';
|
||||||
|
|
||||||
|
try {
|
||||||
|
final response = await http.post
|
||||||
|
( url,
|
||||||
|
);
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
log.warning(e);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dynamic jsonDecode(final String responseBody) => json.decode(responseBody);
|
||||||
|
|
||||||
|
Future<String> rpc2String(final String method, {final String field}) async {
|
||||||
|
final response = await rpc2(method);
|
||||||
|
|
||||||
|
if (response == null) return '';
|
||||||
|
|
||||||
|
if (response.statusCode != 200) {
|
||||||
|
return '';
|
||||||
|
} else {
|
||||||
|
final _body = await compute(jsonDecode, response.body);
|
||||||
|
final _field = field == null ? _body: _body[field];
|
||||||
|
|
||||||
|
return pretty(_field);
|
||||||
|
}
|
||||||
|
}
|
@ -1,45 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Copyright (c) 2019, The Wownero Project
|
|
||||||
# Copyright (c) 2014-2019, The Monero Project
|
|
||||||
#
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without modification, are
|
|
||||||
# permitted provided that the following conditions are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
|
||||||
# conditions and the following disclaimer.
|
|
||||||
#
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
|
||||||
# of conditions and the following disclaimer in the documentation and/or other
|
|
||||||
# materials provided with the distribution.
|
|
||||||
#
|
|
||||||
# 3. Neither the name of the copyright holder nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software without specific
|
|
||||||
# prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
||||||
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
||||||
# THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
|
||||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
source etc/scripts/build-external-libs/env.sh
|
|
||||||
|
|
||||||
src_root=$BUILD_ROOT_SRC
|
|
||||||
target_root=`pwd`
|
|
||||||
|
|
||||||
mkdir -p $target_root/cyberwow/native/output/arm64
|
|
||||||
touch $target_root/cyberwow/native/output/arm64/wownerod
|
|
||||||
|
|
||||||
mkdir -p $target_root/cyberwow/native/output/x86_64
|
|
||||||
touch $target_root/cyberwow/native/output/x86_64/wownerod
|
|
||||||
|
|
||||||
exit 0
|
|
@ -1,76 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Copyright (c) 2019, The Wownero Project
|
|
||||||
# Copyright (c) 2014-2019, The Monero Project
|
|
||||||
#
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without modification, are
|
|
||||||
# permitted provided that the following conditions are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
|
||||||
# conditions and the following disclaimer.
|
|
||||||
#
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
|
||||||
# of conditions and the following disclaimer in the documentation and/or other
|
|
||||||
# materials provided with the distribution.
|
|
||||||
#
|
|
||||||
# 3. Neither the name of the copyright holder nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software without specific
|
|
||||||
# prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
||||||
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
||||||
# THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
|
||||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
source etc/scripts/build-external-libs/env.sh
|
|
||||||
|
|
||||||
build_root=$BUILD_ROOT
|
|
||||||
src_root=$BUILD_ROOT_SRC
|
|
||||||
|
|
||||||
name=zlib
|
|
||||||
version=1.2.11
|
|
||||||
|
|
||||||
cd $src_root/${name}-${version}
|
|
||||||
|
|
||||||
archs=(arm64)
|
|
||||||
for arch in ${archs[@]}; do
|
|
||||||
extra_cmake_flags=""
|
|
||||||
case ${arch} in
|
|
||||||
"arm64")
|
|
||||||
target_host=aarch64-linux-android
|
|
||||||
;;
|
|
||||||
"x86_64")
|
|
||||||
target_host=x86_64-linux-android
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
exit 16
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# PREFIX=$build_root/build/${name}/$arch
|
|
||||||
PREFIX=$build_root/build/$arch
|
|
||||||
echo "building for ${arch}"
|
|
||||||
|
|
||||||
export CC=clang
|
|
||||||
export CXX=clang++
|
|
||||||
|
|
||||||
(
|
|
||||||
PATH=$build_root/tool/$arch/$target_host/bin:$build_root/tool/$arch/bin:$PATH; \
|
|
||||||
./configure \
|
|
||||||
--prefix=${PREFIX} \
|
|
||||||
--static \
|
|
||||||
&& make -j${NPROC} && make install && make clean \
|
|
||||||
)
|
|
||||||
|
|
||||||
done
|
|
||||||
|
|
||||||
exit 0
|
|
@ -1,49 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2019, The Wownero Project
|
|
||||||
# Copyright (c) 2014-2019, The Monero Project
|
|
||||||
#
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without modification, are
|
|
||||||
# permitted provided that the following conditions are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
|
||||||
# conditions and the following disclaimer.
|
|
||||||
#
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
|
||||||
# of conditions and the following disclaimer in the documentation and/or other
|
|
||||||
# materials provided with the distribution.
|
|
||||||
#
|
|
||||||
# 3. Neither the name of the copyright holder nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software without specific
|
|
||||||
# prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
||||||
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
||||||
# THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
|
||||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
source etc/scripts/build-external-libs/env.sh
|
|
||||||
|
|
||||||
cd $BUILD_ROOT_SRC
|
|
||||||
|
|
||||||
name=zlib
|
|
||||||
version=1.2.11
|
|
||||||
hash=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
|
||||||
|
|
||||||
rm -rf ${name}-${version}
|
|
||||||
|
|
||||||
curl -# -L -O \
|
|
||||||
https://zlib.net/${name}-${version}.tar.gz
|
|
||||||
|
|
||||||
echo "${hash} ${name}-${version}.tar.gz" | sha256sum -c
|
|
||||||
|
|
||||||
tar xzf ${name}-${version}.tar.gz
|
|
@ -1,49 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2019, The Wownero Project
|
|
||||||
# Copyright (c) 2014-2019, The Monero Project
|
|
||||||
#
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without modification, are
|
|
||||||
# permitted provided that the following conditions are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
|
||||||
# conditions and the following disclaimer.
|
|
||||||
#
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
|
||||||
# of conditions and the following disclaimer in the documentation and/or other
|
|
||||||
# materials provided with the distribution.
|
|
||||||
#
|
|
||||||
# 3. Neither the name of the copyright holder nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software without specific
|
|
||||||
# prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
||||||
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
||||||
# THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
|
||||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
version="aba46a"
|
|
||||||
container="wownero-android-${version}"
|
|
||||||
|
|
||||||
echo "Building: ${container}"
|
|
||||||
echo
|
|
||||||
|
|
||||||
cd ../vendor/wownero
|
|
||||||
git fetch --all
|
|
||||||
|
|
||||||
git checkout $version
|
|
||||||
git submodule init && git submodule update
|
|
||||||
|
|
||||||
docker build -f utils/build_scripts/android64.Dockerfile -t $container .
|
|
||||||
docker create -it --name $container $container bash
|
|
||||||
docker cp ${container}:/src/build/release/bin .
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
|||||||
|
* Support custom start up args
|
||||||
|
* Upgrade to AndroidX
|
@ -0,0 +1,2 @@
|
|||||||
|
* Use flutter beta
|
||||||
|
* Make connection checking more conservative by requiring at least one active peer
|
@ -0,0 +1,2 @@
|
|||||||
|
* Fix openssl checksum
|
||||||
|
* Optimize UI for large tx pool
|
@ -0,0 +1 @@
|
|||||||
|
* Base on Wownero v0.8 Hallucenogenic Hypnotoad
|
@ -0,0 +1 @@
|
|||||||
|
* Base on Wownero v0.9 Illiterate Illuminati
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 29 KiB |
Reference in new issue