Skip to content

Commit

Permalink
dpow 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ca333 committed Dec 10, 2019
0 parents commit 4e01bcd
Show file tree
Hide file tree
Showing 3,143 changed files with 731,949 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.git
.vscode
cmake-build-debug
target
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Bug report
about: Marketmaker 1.0 bug report

---

**Describe the bug**
A clear and concise description of what the bug is.

**Please answer following questions and attach requested info - it'll help to solve issue faster**
- What OS do you use?
- What marketmaker version do you run?
- Attach your coins.json config.
- Provide your enable script with response.
- Provide other curl scripts (with responses) which were executed prior to error.
- Attach full marketmaker console logs (start collecting right after marketmaker execution).
- ***Make sure that you don't send your passphrase, userpass and privkeys. Your funds might be stolen if you reveal this info publicly!***
- Provide info for all nodes involved (e.g. if error occurs during atomic swap you should provide info for both Bob and Alice).
267 changes: 267 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
x64
*.o
agents/iguana.exe
Debug/*


iguana/pnacl/Release/iguana_unstripped.pexe

iguana/pnacl/Release/iguana.pexe


iguana/pnacl/Release/iguana_unstripped.bc

*.deps

iguana/pnacl/Release/iguana_unstripped.bc---linked.pre_opt.pexe

*.stamp

*.d

iguana/tests/.priv2wif.swp

iguana/iguana_rpc.o-2ed461a0
agents/win32/iguana.exe
agents/win32/libcrypto777.a
agents/win32/confs/.tmpmarker
agents/win32/DB/.tmpmarker
agents/win32/DB/purgeable/.tmpmarker
agents/*

iguana/confs/BTC_hdrs.txt


deprecated/.DS_Store

.DS_Store


iguana/help/.tmpmarker

iguana/genesis/.tmpmarker

iguana/help.json

iguana/autoAPI.md

iguana/basilisk.o-2ad8cb38
*.pbxproj

iguana/tmp/.tmpmarker

iguana/SVM/rawfeatures/.tmpmarker

iguana/DB/.tmpmarker

iguana/DB/TRANSACTIONS/.tmpmarker

iguana/DB/purgeable/.tmpmarker

iguana/DB/purgeable/BTCD/.tmpmarker

iguana/DB/purgeable/BTC/.tmpmarker

iguana/DB/ECB/.tmpmarker

iguana/genesis/.tmpmarker

iguana/help/.tmpmarker

iguana/SVM/.tmpmarker

iguana/SVM/models/.tmpmarker

SuperNET.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

SuperNET.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/SuperNET.xcscheme

iguana/DB/BTC/.tmpmarker

*.vouts

iguana/DB/BTC/vouts/.tmpmarker

iguana/DB/BTC/accounts/.tmpmarker

iguana/DB/BTC/spends/.tmpmarker

iguana/DB/BTC/validated/.tmpmarker

iguana/DB/KMD/.tmpmarker

iguana/DB/KMD/accounts/.tmpmarker

iguana/DB/KMD/spends/.tmpmarker

iguana/DB/KMD/validated/.tmpmarker

iguana/DB/KMD/vouts/.tmpmarker

iguana/DB/purgeable/KMD/.tmpmarker

iguana/DB/ro/.tmpmarker

iguana/DB/ro/BTC/.tmpmarker

iguana/DB/ro/KMD/.tmpmarker

iguana/confs/682c279f7b01b96aee50f11b327bf6c0a3d3481a23a9a265f0796e9bb3765b24

iguana/confs/682c279f7b01b96aee50f11b327bf6c0a3d3481a23a9a265f0796e9bb3765b24.old

iguana/confs/83cb074c13289a91a0cd50a8e6932b2237d1533ec1cbff56ab3d9b1d37f8df35

iguana/confs/83cb074c13289a91a0cd50a8e6932b2237d1533ec1cbff56ab3d9b1d37f8df35.old

iguana/tmp/BTC/.tmpmarker

iguana/tmp/BTC/0/.tmpmarker

iguana/tmp/BTC/0/0/.tmpmarker

iguana/tmp/BTC/peers.txt

iguana/tmp/BTC/RT/.tmpmarker

iguana/tmp/KMD/.tmpmarker

iguana/tmp/KMD/0/.tmpmarker

iguana/tmp/KMD/0/0/.tmpmarker

iguana/tmp/KMD/peers.txt

iguana/tmp/KMD/RT/.tmpmarker

*.xcworkspacedata

*.xcuserstate

includes/iguana_apideclares copy.h

iguana/iguana_tx.o-4b5de8fe

iguana/confs/c6faccf6b625bbb826f47b77c3274e985db7b0a47d435f32bea2f7f3724cdd17

iguana/confs/c6faccf6b625bbb826f47b77c3274e985db7b0a47d435f32bea2f7f3724cdd17.old

iguana/marketmaker

iguana/secp256k1.o-501dfbfe

iguana/confs/cc577d22ca76351d495f147b470103392b5f2ab0948e45608623a7d9728e2c6f

iguana/confs/cc577d22ca76351d495f147b470103392b5f2ab0948e45608623a7d9728e2c6f.old

iguana/DB/DEX.log

iguana/iguana_notary.o-54f98cc3

iguana/basilisk.o-2ad8cb38
iguana/pangea_hand.o-02d25ec3

iguana/confs/4dfa301d0adf61f0ec08e4d4cb4444f4fc377f45f5d6b1da0814033920d72353

iguana/help.json

iguana/index7778.html


iguana/DB/KMD/utxo.dat

iguana/unparsed.txt

iguana/unparsed.txt

iguana/unparsed.txt

iguana/DB/SWAPS/.tmpmarker

iguana/DB/SWAPS/list

iguana/DB/SWAPS/15974209-4014252807

iguana/iguana777.o-0cc60f50

iguana/DB/SWAPS/667293271-3414303895

iguana/DB/SWAPS/667293271-3414303895.swap

iguana/DB/SWAPS/548227681-1452262678.swap

iguana/DB/SWAPS/548227681-1452262678

*.bobdeposit

*.bobpayment

*.bobreclaim

*.bobrefund

*.swap

iguana/DB/SWAPS/1268007736-526212866

iguana/DB/SWAPS/3111936786-3185288772

iguana/DB/SWAPS/3368214189-2405641584

iguana/DB/SWAPS/1133671270-1840176506

iguana/DB/SWAPS/467927158-3437055573

iguana/DB/SWAPS/270159951-1269722638

iguana/DB/SWAPS/244991424-1008712592

iguana/confs/1cc0270abba7f4463a3dcb9908b9d875691a6773fe3cc1b4302233ed76665300

iguana/autoAPI.md

iguana/confs/5228bcea7ae2515a29c3844673de6ee2acba53bf45724744a00ff4306f192912

iguana/confs/630929d976025fafde221c7358eb5805f4359bad3c6b8bd50ad3f6e0a9b5ce78

iguana/confs/5f3283a017c31e52443d61cb43944e2157f7c03eb12d701ebf4a35a695688e1f

iguana/marketmaker.dSYM/Contents/Resources/DWARF/marketmaker

iguana/marketmaker.dSYM/Contents/Info.plist

iguana/confs/97f18454bb61e9eb7a827cfbefe42fbf7ae2832dc74c4812bdaef8bcf5c10474

iguana/DB/PRICES/.tmpmarker

iguana/DB/KMD/0/.tmpmarker

*.swp

iguana/myipaddr

iguana/DB/UNSPENTS/.tmpmarker

*.RQ4z6KrMZeEnCSCsChv1ZoR9ExQitHjbpg

iguana/DB/instantdex_RQ4z6KrMZeEnCSCsChv1ZoR9ExQitHjbpg_append.json

iguana/DB/instantdex_RQ4z6KrMZeEnCSCsChv1ZoR9ExQitHjbpg.json

build

.idea
Release/*

build_win64_release/*
DB/*

.env.client
.env.seed
etomic_build/client/DB
etomic_build/client/stats.log
etomic_build/client/unparsed.txt
etomic_build/seed/DB
etomic_build/seed/stats.log
etomic_build/seed/unparsed.txt
iguana/exchanges/manychains
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "cpp-ethereum"]
path = cpp-ethereum
url = https://github.com/artemii235/cpp-ethereum.git
branch = develop
56 changes: 56 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
language: c

matrix:
include:
- os: linux
compiler: gcc
env: OS_NAME=Linux MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- os: osx
compiler: clang
env: OS_NAME=Darwin
osx_image: xcode9.2

before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt-get update && sudo apt-get install -y g++-7 libdw-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod +x travis_cmake_linux.sh && ./travis_cmake_linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod +x travis_cmake_mac.sh && ./travis_cmake_mac.sh; fi
- git submodule update --init --recursive

script:
- export VERSION=`echo "$(git tag -l --points-at HEAD)"`
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export THREAD_COUNT=`echo "$(nproc --all)"`; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export THREAD_COUNT=`echo "$(sysctl -n hw.physicalcpu)"`; fi
- mkdir build && cd build
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake -DCMAKE_BUILD_TYPE=Release -DMM_VERSION="$VERSION" -DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 ..; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake -DCMAKE_BUILD_TYPE=Release -DMM_VERSION="$VERSION" ..; fi
- echo "cmake --build . --target marketmaker-mainnet -j $THREAD_COUNT"
- cmake --build . --target marketmaker-mainnet -j $THREAD_COUNT
- cmake --build . --target marketmaker-testnet -j $THREAD_COUNT
# Debug build on Linux, might help to troubleshoot some issues that are hard to reproduce
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ../ && mkdir build-debug && cd build-debug; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake -DCMAKE_BUILD_TYPE=Debug -DMM_VERSION="$VERSION-Debug" -DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 ..; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake --build . --target marketmaker-mainnet -j $THREAD_COUNT; fi

cache:
apt: true
directories:
- $HOME/.hunter

before_deploy:
- cd ../ && mkdir deploy
- export TAG=`echo "$(git rev-parse --short HEAD)"`
- strip build/iguana/exchanges/marketmaker-mainnet
- strip build/iguana/exchanges/marketmaker-testnet
- tar -cvf deploy/marketmaker-"$TRAVIS_OS_NAME"-"$TAG".tar -C build/iguana/exchanges marketmaker-mainnet marketmaker-testnet
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar --append --file=deploy/marketmaker-"$TRAVIS_OS_NAME"-"$TAG".tar --transform='flags=r;s|net|net-debug|' -C build-debug/iguana/exchanges marketmaker-mainnet; fi
- gzip deploy/marketmaker-"$TRAVIS_OS_NAME"-"$TAG".tar

deploy:
provider: releases
api_key:
secure: "JDwFBGO4WLra9bXr2dsovet8y/ymC0Y+LJNr5/qlUIDt97zVytGbIlUc8BuI2VZFcnAvrtfOGdCs9m/PcLzZd4bMxXSsuaU0AJk/Vj9KzrIIGPJ4uS39KpO1USUpPW+5e0Bisf30JN3N2NypwMbMu42TKjVqaXSbVQfh79Iu6PdnyfiFbbTEfMeiRRrD72c00rwAw7kmndf7Sv9MiMN8WTFe0cQz5eH8GU/BSbnDorSrtClU4r7McR98zXaig/8XVcT543tcqdYW95QO7OqOjAid3XzzA/bPUTjC/nF/AyTJDco26nts0bCrCYeZRXIWdEInFLIeRHhHD7sW7dILRT/I7WlaLWnRtwo8e1L+U1k1yZ84dQMpgBznttdwH3vSj0crwCbFuMaRMMbPeW0H8C1VitLy1mlapw3RDI9yKlcw4V6WjPbz0YKhAoZgT/M/SaGr4ZkoWNCPoV5+Gub78p24Y8Y9BptJgj5t9KAcmDwbJ9wPt006ObWnbXvapo+6N5Dk2zuyQe9seoupzy4CAiNdluzAAVWsV/SjnN2aapjXoxaAaLQC6T8C1l1BpYri9LSKrjerr4QLVl/nw2yovAKNEobLLBVpSwfg4R72fu1BMS65gVsOqtFfs+R47CY+1D1Slev+UmKNMdE51+aXM+1XeC6wDUS5d13mW1NLhOE="
file_glob: true
file: "deploy/*"
on:
tags: true
skip_cleanup: true
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C++ Launch (Windows)",
"type": "cppvsdbg",
"request": "launch",
"program": "enter program name, for example ${workspaceRoot}/a.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": false
},
{
"name": "C++ Attach (Windows)",
"type": "cppvsdbg",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
Loading

0 comments on commit 4e01bcd

Please sign in to comment.