Skip to content

Instantly share code, notes, and snippets.

Captain Mylo imylomylo

Block or report user

Report or block imylomylo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View marketmaker.docker.md
FROM ubuntu:18.04 as build
ENV BUILD_PACKAGES="build-essential git llvm-3.9-dev libclang-3.9-dev clang-3.9 cmake libssl-dev pkg-config jq curl"
RUN apt-get update && \
  apt-get install -y $BUILD_PACKAGES
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN /bin/bash -c "source $HOME/.cargo/env && rustup install nightly-2019-06-26 && rustup default nightly-2019-06-26 && rustup component add rustfmt-preview"
RUN git clone https://github.com/KomodoPlatform/atomicDEX-API --branch mm2 --single-branch 
RUN cd atomicDEX-API && /bin/bash -c "source $HOME/.cargo/env && cargo build --features native -vv"
@imylomylo
imylomylo / kmd.wallet.awesomeness.md
Created Jul 19, 2019
komodo wallet no restart awesomeness
View kmd.wallet.awesomeness.md
GreerToday at 2:45 AM
Steps to AJSS awesomesauce:

cd ~/komodo
git checkout FSM
git clean -fdx #you will lose any changes that you have made in this repo
./zcutil/build.sh -j(nproc)
ln -s ~.komodo/pubkey.txt ~/komodo/src #you may do this differently
komodo-cli stop
@imylomylo
imylomylo / ltc.md
Created Jul 19, 2019
install litecoin
View ltc.md

requirements

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev git libdb-dev libdb++-dev

get & build src

cd ~ ; git clone https://github.com/litecoin-project/litecoin.git -b 0.15 ; cd litecoin ; ./autogen.sh ; ./configure --without-miniupnpc --without-gui --with-incompatible-bdb ; make -j$(nproc) ; sudo ln -s /home/$USER/litecoin/src/litecoind /usr/local/bin/litecoind ; sudo ln -s /home/$USER/litecoin/src/litecoin-cli /usr/local/bin/litecoin-cli
@imylomylo
imylomylo / mm2.komodo.md
Created Jul 19, 2019
komodo-installed-marketmaker-install
View mm2.komodo.md
$ sudo apt-get install build-essential git llvm-3.9-dev libclang-3.9-dev clang-3.9 libssl-dev pkg-config
[sudo] password for mylo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
pkg-config is already the newest version (0.29.1-0ubuntu2).
git is already the newest version (1:2.17.1-1ubuntu0.4).
The following additional packages will be installed:
@imylomylo
imylomylo / installrust.md
Created Jul 19, 2019
mm2 - install rust
View installrust.md

Get rust setup script & run

$ curl https://sh.rustup.rs -sSf | sh
info: downloading installer

Welcome to Rust!

This will download and install the official compiler for the Rust programming 
language, and its package manager, Cargo.
@imylomylo
imylomylo / git.commit.count.md
Created Jul 10, 2019
git total commits in a branch
View git.commit.count.md
git log --pretty=format:'' | wc -l
27812
@imylomylo
imylomylo / season-3-q-and-a.md
Created Jun 22, 2019
Notary Questions Season 3
View season-3-q-and-a.md

Question


2019-06-22 05:11:33 ERROR: ContextualCheckBlockHeader: forked chain 1405100 older than last notarized (height 1410530) vs
2019-06-22 05:11:33 AcceptBlockHeader ContextualCheckBlockHeader failed
2019-06-22 05:11:33 AcceptBlock AcceptBlockHeader error
2019-06-22 05:11:33 ERROR: ProcessNewBlock: AcceptBlock FAILED

2019-06-22 06:14:32 DisconnectTip: deleted 2 block notarisations in block: 030cf9bf00ce5510edc13f8c038f8aa8c9370a805e75957b62fff9aa340723d2
@imylomylo
imylomylo / install-vrsc.sh
Created Jun 21, 2019
install vrsc with fresh clone
View install-vrsc.sh
```
./komodod -ac_name=VRSC -ac_algo=verushash -ac_cc=1 -ac_supply=0 -ac_eras=3 -ac_reward=0,38400000000,2400000000 -ac_halving=1,43200,1051920 -ac_decay=100000000,0,0 -ac_end=10080,226080,0 -ac_timelockgte=19200000000 -ac_timeunlockfrom=129600 -ac_timeunlockto=1180800 -ac_veruspos=50 -connect=185.25.48.236 -connect=185.64.105.111 -connect=149.202.84.141 -connect=158.69.118.173 &
```
@imylomylo
imylomylo / install-emc.sh
Created Jun 21, 2019
script to build emc2 taken from notary channel
View install-emc.sh
```
#!/bin/bash
# EMC2 build script for Ubuntu & Debian 9 v.3 (c) Decker (and webworker)
berkeleydb () {
EMC2_ROOT=$(pwd)
EMC2_PREFIX="${EMC2_ROOT}/db4"
mkdir -p $EMC2_PREFIX
wget -N 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz' | sha256sum -c
@imylomylo
imylomylo / kvm.ubuntu1604.host.md
Last active Jun 8, 2019
KVM ubuntu16.04 host
View kvm.ubuntu1604.host.md

Run this install

Change the GUESTNET and GUESTIP LIST

  • ./install.sh
  • reboot
#!/bin/bash

apt-get update
apt-get install -y git
You can’t perform that action at this time.