Skip to content

Instantly share code, notes, and snippets.

@underdarkskies
underdarkskies / assets.deepdive
Last active August 4, 2018 19:43
RVN ASSETS SCRIPT deepdive
EXAMPLE HEX:c03872766e7105544553545900743ba40b00000008010122122086d85921a971bab5d727bca0feb2a3f1336c4c5bf0453cc4c0104984c8cecfeb75
EXAMPLE ASM:OP_RVN_ASSET 72766e 71 05 5445535459 00743ba40b000000 08 01 01 22 122086d85921a971bab5d727bca0feb2a3f1336c4c5bf0453cc4c0104984c8cecfeb OP_DROP
OP_RVN_ASSET = c0
Bytelength of script(1 byte) = 38
Asset_type Header(rvn) = 72766e
Asset_type (transfer(t)=74 || new(q)=71 || owner(o)=6f || reissue(r) =72) = 74
Bytelength of Asset_Name(1 byte) = 05
Asset_Name (up to 31 bytes: 30 for normal, 31 for ownership) = 5445535459
8 Bytes of Little Endian hex: Amount of assets in satoshis = 00743ba40b000000
@underdarkskies
underdarkskies / gitian-depends hybrid build
Last active July 31, 2018 03:05
Build process for static binaries
### Static linux 64 builds ###
#From an ubuntu 18 bionic server(required)
cd ~/
export PATH_orig=$PATH
DISTNAME=raven-0.15.99
sudo apt install -y curl g++-aarch64-linux-gnu g++-7-aarch64-linux-gnu gcc-7-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-arm-linux-gnueabihf g++-7-arm-linux-gnueabihf gcc-7-arm-linux-gnueabihf binutils-arm-linux-gnueabihf g++-7-multilib gcc-7-multilib binutils-gold git pkg-config autoconf libtool automake bsdmainutils ca-certificates python
git clone https://github.com/ravenproject/ravencoin
mkdir -p release
cd ravencoin/depends
@underdarkskies
underdarkskies / pool address list
Last active July 3, 2018 00:23
pool address list
see: https://github.com/underdarkskies/insight-api/blob/master/pools.json
see: https://github.com/underdarkskies/Pool_List
@underdarkskies
underdarkskies / Multi-coin miner for Ubuntu 16.04
Last active August 14, 2018 18:11
Multi-coin miner for Ubuntu 16.04
###From an Ubuntu 16.04 Instance with 20GB of HD space
###Update Ubuntu
sudo apt-get update
sudo apt-get -y upgrade
###Download Nvidia Software
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run
@underdarkskies
underdarkskies / Mining Ravencoin with Enemy1.03 on Ubuntu
Last active March 26, 2018 00:37
Mining Ravencoin with Enemy1.03 on Ubuntu
###From an Ubuntu 16.04 Instance with 20GB of HD space
###Update Ubuntu
sudo apt-get update
###Download Nvidia Software
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run
mv cuda_8.0.61_375.26_linux-run cuda_8.0.61_375.26_linux.run
chmod +x cuda_8.0.61_375.26_linux.run
@underdarkskies
underdarkskies / Mining Ravencoin with ccminer2.2.5 on Ubuntu
Last active April 24, 2021 05:02
Mining Ravencoin with ccminer2.2.5 on Ubuntu
###From an Ubuntu 16.04 Instance with 20GB of HD space
###Update Ubuntu
sudo apt-get update
###Download Nvidia Software
wget https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.85_387.26_linux
mv cuda_9.1.85_387.26_linux cuda_9.1.85_387.26_linux.run
chmod +x cuda_9.1.85_387.26_linux.run