This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# automatically download latest mainnet blockchain bootstrap file | |
cd ~/.dashcore | |
if [ ! -e bootstrap.dat ]; then | |
wget https://raw.githubusercontent.com/UdjinM6/dash-bootstrap/master/links.md -O links.md | |
MAINNET_BOOTSTRAP_FILE=$(head -1 links.md | awk '{print $11}' | sed 's/.*\(http.*\.zip\).*/\1/') | |
wget $MAINNET_BOOTSTRAP_FILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
# Example of converting Dash BIP32 extended public key (incorrectly) beginning | |
# with 'xpub' to correct prefix 'drkv'. | |
# | |
require 'bitcoin' | |
# test extended pub key | |
xpub = 'xpub661MyMwAqRbcF3jZGiw3QBt7nD13a7k8jVt9me27BL1vSeSpviDj6udJ5cnFyr2q2ofw7kMKGUepVhVsbLVsckxGzDmvnpGPr88CJAz1Ab5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am moocowmoo on github. | |
* I am moocowmoo (https://keybase.io/moocowmoo) on keybase. | |
* I have a public key whose fingerprint is 6225 D915 217D CB1A B22A F7FF AE5C 4EE4 7DB5 2172 | |
To claim this, I am signing this object: |
NewerOlder