Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Jin Eguchi wakiyamap

🏠
Working from home
View GitHub Profile
View settings:electrs:monacoin
$ cd ~
$ wget https://github.com/monacoinproject/monacoin/releases/download/monacoin-0.17.1/monacoin-0.17.1-x86_64-linux-gnu.tar.gz
$ tar -zxvf monacoin-0.17.1-x86_64-linux-gnu.tar.gz
$ sudo cp monacoin-0.17.1/bin/monacoind /usr/bin/
$ sudo cp monacoin-0.17.1/bin/monacoin-cli /usr/bin/
$ mkdir .monacoin
$ vi .monacoin/monacoin.conf
View test
$ mycoin-cli -getinfo
{
"version": 160300,
"protocolversion": 70015,
"walletversion": 159900,
"balance": 0.00000000,
"blocks": 0,
"timeoffset": 0,
"connections": 0,
"proxy": "",
View gist:6ffc694d50df5262bb39efae658e2348
import bitcoin.base58
import bitcoin.bech32
"""
Converts a base58 bitcoin address into a 21 byte bytes object
"""
address = "bc1qqmpt7u5e9hfznljta5gnvhyvfd2kdd0r90hwue"
try:
bech32 = bitcoin.bech32.CBech32Data(address)
witver = (0x80 + bech32.witver).to_bytes(1, byteorder='big') # mark the first byte for segwit
View my-preset.yml
nodes:
-
friendlyName: http://3br3ynmu7amoiclaetx4iu4v43qqfu5p4hcy3upvsdthaviz5gfpjbad.onion:3000/
host: 3br3ynmu7amoiclaetx4iu4v43qqfu5p4hcy3upvsdthaviz5gfpjbad.onion
voting: true
signingPrivateKey: SIGNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
vrfPrivateKey: VRFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
votingPrivateKey: VOTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
gateways:
-
View monaparty install(20201005)
# dockerのインストール
# https://docs.docker.com/engine/install/ubuntu/
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
@wakiyamap
wakiyamap / float128.go
Created Aug 16, 2020 — forked from grd/float128.go
Simplified float128, more in style with the math package
View float128.go
// This package implements 128-bit ("double double") floating point using
// a pair of 64-bit hardware floating point values and standard hardware
// floating point operations. It is based directly on libqd by Yozo Hida,
// Xiaoye S. Li, David H. Bailey, Yves Renard and E. Jason Riedy. Source:
// http://crd.lbl.gov/~dhbailey/mpdist/qd-2.3.13.tar.gz
package float128
import (
"errors"
"fmt"
View monad test failed log
$ ./goclean.sh
++ type -p gometalinter.v2
+ '[' '!' -x /home/wakiyamap/go/bin/gometalinter.v2 ']'
++ go list ./...
+ linter_targets='github.com/monasuite/monad
github.com/monasuite/monad/addrmgr
github.com/monasuite/monad/blockchain
github.com/monasuite/monad/blockchain/fullblocktests
github.com/monasuite/monad/blockchain/indexers
github.com/monasuite/monad/btcec
View monadの設定(ubuntu18.04)
#最初にgoのインストール
#go がインストールされてないか確認
#goをインストールしろとか書かれてない限りはそのままどうぞ
go version
#snapでインストールできるgoのバージョンを確認(monadは今だとgo1.13以上が必要)
snap info go
#go1.13をインストール
sudo snap install --classic --channel=1.13/stable go
View keybase.md

Keybase proof

I hereby claim:

  • I am wakiyamap on github.
  • I am wakiyamap (https://keybase.io/wakiyamap) on keybase.
  • I have a public key whose fingerprint is 3155 25E8 11D5 E586 F3CA C032 9C74 0BEC 897C E499

To claim this, I am signing this object:

View nemlog01
java8以上ならOK
which java
java -version
# stunnel インストールのため http://wiki.omniosce.org/Packaging.html 欲しいのがあったらこれ追加して探す
sudo pkg set-publisher -g http://sfe.opencsw.org/localhostomnios localhostomnios
sudo pkg refresh --full
sudo pkg update -v
# letsencryptのインストール pypaからインストールと探したらあったので直接叩いた方が良いと判断