-
目的 Plasmaの論文で触れられていた2階層以上のPlasmaチェーンについて、本当に意味はあるのか、攻撃方法はあるのか、実装はどうすればいいのかなどを考え実際に実装してみる。
-
通常のEthereumはチューリング完全にワールドステートを変更する必要があり、そのためユーザーが好きにコードを書け自由に動かせる。
-
これから作るPlasmaチェーンにはVMはいらない。送金の機能と、下位チェーンからのSubbmit block、exit、depositだけ組み込めればいい。
-
Plasma MVPが上位チェーンにしている機能をほぼそのまま実装する。ただ検証や状態変移関数はスマートコントラクトではなくクライント組み込み。 こうすることで、2階層以上のブロックチェーンの実装が非常に簡単になる。
-
Plasma MVPで組み込みPlasmaコントラクトを実装するために一番楽な方法
- 2 way pegのやり方を真似するのが楽そう
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
body { | |
background-image: url("back.jpg"); | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
background-position: center center; | |
background-size:cover; | |
} | |
.nav { | |
background: #000000; | |
color: #ffffff; |
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
#zmodload zsh/zprof && zprof | |
if [[ -z "$CTG" ]];then | |
source ~/.zprofile | |
fi | |
if [[ "$TTY" == "/dev/tty1" ]];then | |
startx > /dev/null 2>&1 | |
# fbterm | |
elif echo "$TTY" | grep "/dev/tty" ;then |
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
Verifying my Blockstack ID is secured with the address 1CKPRLmYjBEKg8WRXDFQburd91ihGhJ1oS https://explorer.blockstack.org/address/1CKPRLmYjBEKg8WRXDFQburd91ihGhJ1oS |
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 | |
APIKEY=${APIKEY:-"NONE"} | |
DOMAIN=${DOMAIN:-"NONE"} | |
VERSION=${VERSION:-"v2"} | |
command_HTTP=${command_HTTP:-"curl -Ss"} | |
if [[ "${APIKEY}" == "NONE" ]];then |
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
$ sudo pacman -S sshfs |
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
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ | |
var _jQuery; | |
!function(e, t) { | |
"use strict"; | |
"object" == typeof module && "object" == typeof module.exports ? module.exports = e.document ? t(e, !0) : function(e) { | |
if (!e.document) | |
throw new Error("jQuery requires a window with a document"); | |
return t(e) | |
} | |
: t(e) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
--- main.rc.old 2018-04-20 16:06:02.000000000 +0900 | |
+++ main.rc 2018-04-28 13:32:42.350012349 +0900 | |
@@ -1928,59 +1928,12 @@ style "checkbutton_label" { | |
} | |
style "button" { | |
- xthickness = 4 | |
- ythickness = 4 | |
- # For the sake of sanity style buttons this way |
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
## 物理ボリュームの作成(パーティションをLVM管理下に置く) | |
pvcreate /dev/sda1 | |
pvcreate /dev/sda2 | |
… | |
## 物理ボリュームの解除(パーティションをLVM管理下に置かない) | |
pvremove /dev/sda1 | |
… |